Ad Groups Add Ad Group Negative Keywords
ad_groups_add_ad_group_negative_keywordsAdd negative keywords to a specific ad group to block unwanted search terms. Control match type (EXACT, PHRASE, BROAD) for precise exclusion.
Instructions
Adds negative keywords to one ad group. For campaign-wide negatives use campaigns.add_campaign_targeting.
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>",
"negative_keywords": "<negative_keywords>"
},
"name": "ad_groups_add_ad_group_negative_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match_type | No | EXACT, PHRASE or BROAD. | PHRASE |
| ad_group_id | Yes | The ad group id. | |
| customer_id | Yes | Google Ads customer id. | |
| validate_only | No | Dry-run only. | |
| login_customer_id | No | Manager account id if applicable. | |
| negative_keywords | Yes | Terms this ad group must never show for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||