ContentArea
The ContentArea
object represents a defined section of reusable content. An email can contain one or more content areas. A content area is always acted upon in the context of an Email object.
Marketing Cloud Engagement has a new model for storing, finding, managing, creating, sharing, and distributing all content-related objects. Access the objects created with the new Content Builder tools using the REST API. Your existing SOAP API integrations only function with the Classic tools.
Name | Data Type | Description |
---|---|---|
BackgroundColor | xsd | Indicates background color of content area |
BorderColor | xsd | Indicates color of border surrounding content area |
BorderWidth | xsd | Indicates pixel width of border surrounding content area |
CategoryID | xsd | Specifies the identifier of the folder. |
Cellpadding | xsd | Indicates pixel value of padding around content area |
Cellspacing | xsd | Indicates pixel value of spacing for content area |
Client | ClientID | Specifies the account ownership and context of an object. |
Content | xsd | Identifies content contained in a content area. |
CorrelationID | xsd | Identifies correlation of objects across several requests. |
CreatedDate | xsd | Read-only date and time of the object's creation. |
CustomerKey | xsd | User-supplied unique identifier for an object within an object type. This property corresponds to the external key assigned to an object. |
FontFamily | xsd | Indicates font family used in content area |
HasFontSize | xsd | Indicates whether the content area includes a specified font size or not |
ID | xsd | Read-only identifier for an object. Some objects use the ObjectID property as a unique ID. |
IsBlank | xsd | Indicates if specified content area contains no content. |
IsDynamicContent | xsd | Indicates if specific content area contains dynamic content. |
IsLocked | xsd | Indicates if specific email content area within an Enterprise or Enterprise 2.0 account is locked and can’t be changed by subaccounts. |
IsSurvey | xsd | Indicates whether a specific content area contains survey questions. |
Key | xsd | Specifies key associated with content area in HTML body. Relates to the Email object via a custom type. |
Layout | LayoutType | The layout type of the content area. Accepted values are HTMLWrapped , RawText , and SMS . The layout value HTMLWrapped displays as a Free Form orientation content area in the UI. The value RawText displays as HTML only. |
ModifiedDate | xsd | Indicates the last time object information was modified. |
Name | xsd | Name of the object or property. |
ObjectID | xsd | System-controlled, read-only text string identifier for object. |
ObjectState | xsd | Reserved for future use. |
Owner | Owner | Describes account ownership of subscriber in an on-your-behalf account. |
PartnerKey | xsd | Unique identifier provided by partner for an object. This property is accessible only via API. |
PartnerProperties | APIProperty[] | A collection of metadata supplied by the client and stored by the system. These properties are accessible only via API. |
Width | xsd | Indicates pixel width of content area |