update_ad
Update an ad's name, status, or creative. Provide the ad ID and optionally change the name, set the status (ACTIVE, PAUSED, DELETED, ARCHIVED), or replace the creative by passing a creative ID.
Instructions
WRITE: Update an ad's name, status, or swap its creative. To replace the creative pass creative: {creative_id: 'XXX'}.
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_id": "<ad_id>"
},
"name": "update_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | ||
| name | No | ||
| status | No | ||
| creative | No | e.g. {creative_id: '123456'} |