Change an X Ads ad group bid
x_ads_update_bidChange an X Ads ad group's bid: a max or target bid amount in the account currency, or switch to automatic bidding. Lowering or switching to automatic runs immediately; raising returns a preview first and runs only on a second call with confirm=true after the user agrees.
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": {
"campaign": "<campaign>",
"ad_group": "<ad_group>",
"bid_strategy": "<bid_strategy>"
},
"name": "x_ads_update_bid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bid | No | Bid amount for MAX or TARGET. | |
| folder | No | Client folder name. | |
| account | No | X Ads account name or ID. Optional when only one is enabled. | |
| confirm | No | ||
| ad_group | Yes | Ad group (line item) name or ID. | |
| campaign | Yes | Campaign name or ID. | |
| language | No | Language of the card: the language the user is writing in. | |
| bid_strategy | Yes | AUTO ignores bid. MAX isn't available for REACH or FOLLOWERS; TARGET only for REACH, FOLLOWERS or WEBSITE_CLICKS. |