add_negative_keywords
Attach negative keywords to a campaign or ad group to exclude unwanted search terms and improve ad targeting.
Instructions
Attach negative keywords to a campaign or ad group.
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": {
"entity_id": "<entity_id>",
"keywords": "<keywords>"
},
"name": "add_negative_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keywords | Yes | Negative keyword texts to add. | |
| entity_id | Yes | The campaign id (or ad group id) to attach negatives to. | |
| match_type | No | "Broad", "Phrase", or "Exact" (default "Exact"). | Exact |
| entity_type | No | "Campaign" or "AdGroup" (default "Campaign"). | Campaign |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| ids | No | ||
| message | Yes | ||
| partial_errors | No |