Create Ad
create_adCreates an ad in a specified ad group using chat_card or product_ad_template creative formats. Define title, body, status, and destination or product price to launch the ad.
Instructions
Create an ad in an ad group. Supports 'chat_card' (title 3-50 chars, body max 100 chars, destination target_url, and uploaded file_id) or 'product_ad_template' (for product feed campaigns).
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": {
"ad_group_id": "<ad_group_id>",
"name": "<name>",
"status": "<status>",
"creative_type": "<creative_type>",
"title": "<title>",
"body": "<body>"
},
"name": "create_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Card description body (max 100 chars) | |
| name | Yes | Internal organizational name | |
| price | No | Price string or '{{product.price}}' for product_ad_template | |
| title | Yes | Card title (3-50 chars) | |
| status | Yes | Initial status | |
| file_id | No | Uploaded image file_id (required for chat_card) | |
| target_url | No | Destination URL (required for chat_card) | |
| ad_group_id | Yes | Parent ad group ID | |
| creative_type | Yes | Creative format | |
| idempotency_key | No |