add_negative_keywords
Preview and confirm campaign-level negative keywords to exclude unwanted search terms and reduce wasted spend. Safe operation that only lowers costs.
Instructions
Add campaign-level negative keywords. Two-phase: preview, then confirm.
This is the safest write operation: negatives only ever reduce spend.
Args: customer_id: Account holding the campaign. campaign_id: Campaign to add negatives to. keywords: Terms to exclude. match_type: EXACT, PHRASE, or BROAD. Default EXACT. confirm_token: Token from the preview call. Omit for a preview.
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 | ||
| match_type | No | EXACT | |
| campaign_id | Yes | ||
| customer_id | Yes | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |