Create image ad (pipeline)
x_ads_create_image_adCreate an image ad for an active ad group: upload a creative, set the website card, and promote it. Requires media, text, and destination URL; halts if the creative fails to process.
Instructions
Composite: upload creative → website card → nullcast post → promote onto an EXISTING ad group. Provide media_url or inline image. Requires text + destination_url. Serves only when campaign and ad group are ACTIVE. If the intended creative failed to upload or process, STOP. Do not promote a still, a source image, or a pre-existing library asset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| text | Yes | ||
| image | 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 | Yes |