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.
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 | |||