update_ad_group
Draft an ad-group update to set a target CPA or manual CPC bid, with safeguards, returning a draft for confirmation.
Instructions
Draft an ad-group update. target_cpa sets an explicit MaxConversions tCPA on the ad group (MS Search campaigns on the development account run MaxConversions with no target — this INTRODUCES one). cpc_bid is allowed ONLY when the ad group's effective bid strategy is in the MANUAL_BIDDING allowlist (rails.py) — same fail-closed guard as update_keyword_bid; MS silently ignores fixed bids under Smart Bidding. Returns draft; apply with confirm_and_apply (policy rails re-checked at apply).
NOT live-verified through this tool itself. The underlying blank()-built UpdateAdGroups call IS live-proven (2026-07-28, Status flip on a z. ad group via pause/enable_entity); the cpc_bid / target_cpa branches have never run live.
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>",
"campaign_id": "<campaign_id>"
},
"name": "update_ad_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| cpc_bid | No | ||
| target_cpa | No | ||
| ad_group_id | Yes | ||
| campaign_id | Yes |