Add Negative Keywords
add_negative_keywordsAdd campaign-level negative keywords to stop ads from showing on unwanted search queries after reviewing the search terms report.
Instructions
Adds campaign-level negative keywords, preventing ads from showing
on those queries. The usual follow-up to reviewing
get_search_terms_report.
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>",
"campaign_id": "<campaign_id>",
"keywords": "<keywords>"
},
"name": "add_negative_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keywords | Yes | Keyword texts to exclude. | |
| match_type | No | EXACT, PHRASE, or BROAD (applied to all keywords in this call). | PHRASE |
| campaign_id | Yes | The numeric id of the campaign. | |
| customer_id | Yes | The Google Ads account. | |
| validate_only | No | If True, only validates the request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||