Create a Promotion
Request (to the Integration API):Text Promotions
WhenfileFormat is "text", provide the content field instead of uploadIds. The content field accepts plain text or HTML. Do not provide uploadIds for text promotions.
Handling Upload Conflicts
If the file hasn’t finished uploading (409 Conflict):About Metadata
Themetadata field accepts an arbitrary string-to-string map. Use it to pass through your own reference IDs (e.g. Workfront project/task IDs, JIRA keys, campaign identifiers). It is stored with the promotion and echoed back in every webhook payload, so you can correlate Adclear events back to your system without maintaining a separate mapping.
Submit a Revision
If the promotion needs changes after review, upload new files and create a new version on the same promotion. The new version inherits the promotion’s name, channels, products, and jurisdiction. You only need to supply the new files and any fields you want to override. Upload the revised file(s) first (see File Upload), then: Request:Create Version Request Fields
| Field | Required | Description |
|---|---|---|
uploadIds | Conditional | One or more upload IDs for the revised content. Required for file-based formats; must be omitted when fileFormat is "text" |
content | Conditional | Inline text or HTML content. Required when fileFormat is "text"; must be omitted for file-based formats |
fileFormat | Yes | Content format: pdf, image, video, audio, text, document |
deadline | No | Updated deadline (ISO 8601). If omitted, the existing deadline is retained |
caption | No | Updated caption. If omitted, the existing value is retained |
details | No | Updated details/notes. If omitted, the existing value is retained |
type | No | Promotion type: single, batch, carousel, variations. If omitted, inherited |
linkedClaimIds | No | Updated claim IDs. If omitted, existing links are retained |
targetMarketIds | No | Updated target market IDs. If omitted, existing values are retained |
applyToAllTargetMarkets | No | If true, applies to all target markets regardless of targetMarketIds |
metadata | No | Updated metadata. If omitted, the original metadata from promotion creation is retained and continues to be echoed in webhooks |
What is Inherited vs. What Can Change
- Always inherited (set once at promotion creation, cannot be changed per-version):
promotionName,channelIds,productIds,jurisdictionId - Overridable per-version: all optional fields listed above. If you omit them, the values from the previous version carry forward.