remove_negative_keywords
Remove negative keywords from campaigns or ad groups by specifying keyword IDs to refine targeting and improve ad performance.
Instructions
Remove negative keywords from a campaign or ad group, identified by id.
Resolve ids first with get_negative_keywords (deletion is by id, not text).
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>",
"keyword_ids": "<keyword_ids>"
},
"name": "remove_negative_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | The campaign id (or ad group id) the negatives are attached to. | |
| entity_type | No | "Campaign" or "AdGroup" (default "Campaign"). | Campaign |
| keyword_ids | Yes | The negative keyword ids to remove. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| ids | No | ||
| message | Yes | ||
| partial_errors | No |