---
schema_version: "1"
id: b25a52b5faad8c0e0da11a5659cd402643c92808377cd5f9638387b39863c9cb
title: Add
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_contentAreaAdd.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_contentAreaAdd.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e20f587cbb034f27e35507b35c454b07e2ff60612ea64457826cd6a7284a1520
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Add

## Overview

Adds a new content area to your account and returns an initialized object

### Syntax

Add(1)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                                                     |
| ------- | ------ | ------------ | --------------------------------------------------------------- |
| **1**   | object | **Required** | JSON object representing the properties of the new content area |

## Example

This sample code adds a content area to your account:

```
var exampleArea = {
    "CustomerKey" : "exampleArea",
    "Name" : "SSJS Content Area Example",
    "CategoryID" : 123456                            //Use only if you wish to assign the content area to a specific folder
    "Layout" : "RawText",                            //Use only if you wish to create a specific layout format for a content area
    "LayoutSpecified" : true,                        //Use only if you specify a layout type
    "Content" : "<b>This is example content</b>"
};

var addedCA = ContentAreaObj.Add(exampleArea);
```
