Create video ad (pipeline)
x_ads_create_video_adUploads video content and promotes it to an existing ad group to create a video ad. Requires accompanying text and halts if video upload fails, preventing promotion of incorrect assets.
Instructions
Composite: chunked video upload (amplify_video) → website card (or media_keys if no destination_url) → nullcast post → promote onto an EXISTING ad group. Provide media_url or inline video (base64). Requires text. If the intended creative failed to upload or process, STOP. Do not promote a still, a source image, or a pre-existing library asset.
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": {
"account_id": "<account_id>",
"line_item_id": "<line_item_id>",
"text": "<text>"
},
"name": "x_ads_create_video_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| text | Yes | ||
| video | No | ||
| media_url | No | ||
| account_id | Yes | Ads API account id from x_ads_list_accounts, e.g. 18ce55v2od2 | |
| line_item_id | Yes | ||
| destination_url | No |