Skip to main content
POST
Create version

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Headers

X-External-User-ID
string
required

Identifier of the acting user in the calling system (e.g. a Workfront user id). Recorded against every audited action this request performs.

X-External-User-Email
string<email>

Acting user email. Only meaningful on keys with act-on-behalf enabled, where it is resolved to the matching Adclear user and is mandatory on writes. Ignored on ordinary keys.

Path Parameters

promotionId
string<uuid>
required

Promotion ID

Body

application/json
fileFormat
enum<string>
required

Content format (text, video, audio, image, pdf, document)

Available options:
text,
video,
audio,
image,
pdf,
document
uploadIds
string<uuid>[]

Upload IDs from the File API. Required for file-based formats (pdf, image, video, etc.). Must be omitted when fileFormat is "text".

content
string

Inline text or HTML content. Required when fileFormat is "text". Must be omitted for file-based formats.

Minimum string length: 1
deadline

Deadline as YYYY-MM-DD calendar date or ISO 8601 datetime

caption
string
details
string

Additional reviewer context for the promotion (shown as "Additional details" in the Adclear UI). Free text, up to 1500 characters.

Maximum string length: 1500
type
enum<string>

Promotion type (single, batch, carousel, variations)

Available options:
single,
batch,
carousel,
variations
linkedClaimIds
string<uuid>[]
targetMarketIds
string<uuid>[]
applyToAllTargetMarkets
boolean
metadata
object

Arbitrary key-value pairs stored with the promotion and echoed back in webhook payloads. Max 20 keys. Keys: alphanumeric/underscore/hyphen, max 128 chars. Values: max 1024 chars. Do not store PII, credentials, or sensitive data.

Example:
tags
string[] | null

Tag names to attach to the promotion. Existing tags are reused; unknown names are created. Names are trimmed, and duplicates within one request are ignored. Tags belong to the promotion, so they are shared by all of its versions. Max 20 tags, each up to 255 characters. Names beginning with "Var-" and the name "TESTING" are reserved.

Example:

Response

Version created

promotionId
string<uuid>
required
versionId
string<uuid>
required
version
integer
required

Auto-derived version number

correlationId
string<uuid>
required

Correlation ID for request tracing. Include in support requests.

metadata
object

Stored metadata echoed back for confirmation

tags
string[]

Tag names actually attached, echoed back for confirmation. Empty when tags were requested but could not be attached — the promotion is still created, and the request can be retried by adding the tags separately.