Record an ad creative
ad_creatives_createRecord an ad creative made from an atom (or its ad derivative): its asset, headline, body, call to action and landing link. Campaigns reference it by id. Free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"atomId": "<atomId>",
"title": "<title>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "ad_creatives_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The ad's primary text, up to 5,000 characters. | |
| title | Yes | A short human title, up to 300 characters. | |
| atomId | Yes | The atom the creative is made from: `id` from POST /v1/content-atoms. | |
| assetId | No | The creative's video or image: `assetId` from POST /v1/assets/upload/complete. | |
| headline | No | The ad's headline, up to 300 characters. | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| landingUrl | No | The https page the ad sends people to. | |
| shortLinkId | No | The smart link it promotes: `id` of one of your smart links. Its clicks and sales are attributed to it. | |
| callToAction | No | The call-to-action label (e.g. `Learn more`), up to 100 characters. | |
| derivativeId | No | The `ad` derivative this creative is, if you registered one: `id` from POST /v1/content-atoms/{atomId}/derivatives. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||