update_sp_ad_group
Update a Sponsored Products ad group's default bid or state. Use execute_sql against the ad_group_performance table to find ad group IDs first. The default bid applies to keywords that don't have an explicit bid override.
Supported state values: ENABLED, PAUSED. At least one of state or defaultBid must be provided.
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": {
"adGroupId": "<adGroupId>",
"venueId": "<venueId>"
},
"name": "update_sp_ad_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | New state: ENABLED or PAUSED (optional) | |
| venueId | Yes | Venue ID of the storefront to change (required; never defaulted). In an agency account each venue can be a different client, so if the user has not named the venue, ask them before calling. Use get_ads_connection_status or execute_sql with 'SELECT venue_id, name, marketplace_name FROM venues' to list venue IDs. | |
| adGroupId | Yes | Ad group ID to update (required). Use execute_sql against ad_group_performance to find IDs. | |
| defaultBid | No | New default bid in account currency (optional, must be > 0) |