Ad Groups Set Keyword Status
ad_groups_set_keyword_statusPause, enable, or remove ad group keywords by criterion IDs. For removal, set confirm=true; retrieve IDs using ad_group_criterion search.
Instructions
Pauses, enables or removes keywords (ad group criteria). REMOVED needs confirm=true.
Find criterion ids with search on ad_group_criterion (ad_group_criterion.criterion_id).
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": {
"customer_id": "<customer_id>",
"ad_group_id": "<ad_group_id>",
"criterion_ids": "<criterion_ids>",
"status": "<status>"
},
"name": "ad_groups_set_keyword_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ENABLED, PAUSED or REMOVED. | |
| confirm | No | Required true for REMOVED. | |
| ad_group_id | Yes | The ad group the criteria belong to. | |
| customer_id | Yes | Google Ads customer id. | |
| criterion_ids | Yes | One or more criterion ids. | |
| validate_only | No | Dry-run only. | |
| login_customer_id | No | Manager account id if applicable. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||