ads_ad_update
Update an ad on the ad network. Meta: name, status; budget, bid_amount, targeting and schedule are applied to the ad's ad set (an ad whose budget lives on its campaign answers 422 for budget: update the campaign). Google: status only. The creative cannot be edited (501). targeting replaces the whole targeting and must include locations. Budget, bid and status changes alter what the ad account spends. Returns the ad refetched from the network.
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": "ads_ad_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| ad_id | Yes | Ad id: the Postproxy id (id field of an ad), not the network's platform_id | |
| budget | No | New budget: { amount, type } in the ad account currency, whole units | |
| status | No | ||
| schedule | No | When the ad runs. Without end it runs until paused. On Meta end must be at least 30 hours after the start. | |
| targeting | No | Audience. Meta defaults to US, ages 18-65. Google Search accepts only locations, excluded_locations and location_targeting_type, with locations as arrays of numeric ids. | |
| bid_amount | No | Bid in the account currency | |
| profile_group_id | No | Profile group hashid, to scope the call to one profile group. Usually not needed. |