---
schema_version: "1"
id: 10d3c02fe7ddd9c48423dd7027a6dccebb2de44d05bcbec37862a2e5a8561d72
title: ContentArea
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/apicontentarea.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/apicontentarea.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: be8192f998a3778eed7d25a89b2067e1b6f6dc6a8f20e99d52ebe807ea4bdab1
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# 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](/docs/marketing/marketing-cloud/guide/blocks.html).

## 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](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/clientid.md) 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](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/layouttype.md) 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](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/owner.md) 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](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/apiproperty.md) 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

- [Supported Operations for Objects and Methods](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/supported_operations_for_objects_and_methods.md)
- [Asset endpoints in the REST API](/docs/marketing/marketing-cloud/references/mc_rest_assets)
