---
schema_version: "1"
id: 4fe63f019d61e6e131ec5d298f49c698d5b92713d4d9f33e04302cc7736b5bdd
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_portfolioAdd.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_portfolioAdd.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 83f8104481fd6435413800a48fb87f039184d2ba32361a7bb45b82a90a04273f
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 containing parameters associated with a Portfolio object |

## Example

This sample code adds a new portfolio object to the Portfolio folder specified by CategoryID.

```
var newPortfolio = {
    DisplayName : "SSJS Portfolio Object",
    CustomerKey : "myPortfolioCK",
    CategoryID: 12345,
    FileName : "logo.png",
    FileLocation : "http://www.example.com/Portals/0/images/global/logo_main.png"
};

var status = Portfolio.Add(newPortfolio);
```
