ContentArea

Represents a section of reusable content in an email.

note: The ContentArea object is associated with classic content. We recommend that you use Content Builder to create content blocks. See Content Builder Blocks.

Properties

Name Data Type Description
BackgroundColor String Indicates background color of content area.
BorderColor String Indicates color of border surrounding content area.
BorderWidth Int Indicates pixel width of border surrounding content area.
CategoryID Int Specifies the identifier of the folder.
Cellpadding Int Indicates pixel value of padding around content area.
Cellspacing Int Indicates pixel value of spacing for content area.
Client ClientID object Specifies the account ownership and context of an object.
Content String Identifies content contained in a content area.
CorrelationID String Identifies correlation of objects across several requests.
CreatedDate DateTime The date and time when the object was created.
CustomerKey String User-supplied unique identifier for an object within an object type. This property corresponds to the external key assigned to an object.
FontFamily String Indicates font family used in content area.
HasFontSize Boolean Indicates whether the content area includes a specified font size or not.
ID Int Read-only identifier for an object. Some objects use the ObjectID property as a unique ID.
IsBlank Boolean Indicates if specified content area contains no content.
IsDynamicContent Boolean Indicates if specific content area contains dynamic content.
IsLocked Boolean Indicates if specific email content area within an Enterprise or Enterprise 2.0 account is locked and can’t be changed by subaccounts.
IsSurvey Boolean Indicates whether a specific content area contains survey questions.
Key String Specifies key associated with content area in HTML body. Relates to the Email object via a custom type.
Layout LayoutType object 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 String The date and time when the object was last modified.
Name String Name of the object or property.
ObjectID String System-controlled, read-only text string identifier for object.
ObjectState String Not used.
Owner Owner object Describes account ownership of subscriber in an on-your-behalf account.
PartnerKey String Unique identifier provided by partner for an object. This property is accessible only via API.
PartnerProperties Array of APIProperty objects A collection of metadata supplied by the client and stored by the system. These properties are accessible only via API.
Width Int Indicates pixel width of content area.

Related Items