campaign_draft_edit
Low-level edit of a campaign draft before publishing: merge targeting keys, update ads, replace ad groups, rename, change goal, budget or UTM. Nothing is sent to the platform. Amounts are in the ad account's own currency, in whole units (not cents or micros).
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": {
"client_id": "<client_id>",
"build_id": "<build_id>"
},
"name": "campaign_draft_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name shown in the interface. | |
| build_id | Yes | Draft id from list_campaign_drafts. | |
| ad_groups | No | Full replacement of the ad groups. | |
| client_id | Yes | ||
| objective | No | Campaign goal. | |
| targeting | No | Targeting keys to merge; a null value removes the key. | |
| ad_updates | No | Ad edits. | |
| utm_params | No | UTM parameters. | |
| budget_type | No | daily or monthly. | |
| budget_amount | No | Budget in the account currency, whole units. |