add_negative_keywords
Add negative keywords at the campaign level to exclude unwanted search terms from serving. Specify campaign ID, keyword text, and match types to control ad spend.
Instructions
Add one or more negative keywords at campaign level via CampaignCriterionService.
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": {
"campaign_id": "<campaign_id>",
"keywords": "<keywords>"
},
"name": "add_negative_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute. | |
| keywords | Yes | List of negative keywords with text and match_type | |
| campaign_id | Yes | Campaign ID to add negative keywords to | |
| customer_id | No | Google Ads customer ID (no dashes). Uses active account if not provided. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||