Google Ads: add negative keywords
add_negative_keywordsAdds negative keywords to a campaign to block irrelevant traffic.
Negative keywords prevent your ads from showing for specific search terms.
remove_negative_keywords takes them back out, given the same keywords.
Args:
customer_id: The Google Ads customer ID (numbers only, no hyphens).
campaign_id: The ID of the campaign to add negative keywords to.
keywords: List of keyword objects, each with:
- text: The keyword text (e.g., "free LMS").
- match_type: One of: EXACT, PHRASE, BROAD. Default: BROAD.
Returns:
Dictionary with created negative keyword resource names.Tools revision: d80f65c0.
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 | ||
| campaign_id | Yes | ||
| customer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |