Create creatives

Creates specific types of creatives. Only CustomTag creatives can be created.

When adding a new creative, ID must be null or omitted; creativeType and creativeSubType must be provided; advertiserId or campaignId must be included (both may be included). Only HTML/JS based CustomTag banners can be created, so the caller must set:

"creativeType": "banner", "vast", "native", "mraid", "vpaid", "vast_with_vpaid"

and

"creativeSubtype": "htmlTag"

Request

POST /creative/save

Request Body

NameTypeDescriptionRequired
nameStringCreative nameYes
typeObjectSee Type ObjectYes
sizeObjectSee Size ObjectYes
advertiserIdNumberAdvertiser ID associated with the campaign.Yes*
htmlAssetStringYes
creativeTypeStringYes
creativeSubTypeStringYes
campaignIdNumberYes*

*: One of advertiserId or campaignId is required; both may be included.

Type

Name

Type

Description

Required

id

Number

Media type ID

See reference table here

Yes

vendor

String

Vendor name or "Generic"

No

mediaType

String

One of: BANNER, VAST, NATIVE, MRAID, VPAID, VAST_WITH_VPAID

Yes

videoType

String

One of: FLV, MP4, WMV, WEBM, JS, null

Yes; set to null for non-video Creative

Size

NameTypeDescriptionRequired
widthNumberCreative width, if applicable, or nullYes
heightNumberCreative height, if applicable, or nullYes
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!