remove_negative_keywords
Remove negative keywords by ID from a campaign, ad group, or shared list. Supply the entity ID, scope, and keyword IDs to clean up your Microsoft Ads account.
Instructions
Draft negative removal by id. scope: campaign | ad_group | shared_list. keyword_ids come from get_negative_keywords. scope='ad_group' REQUIRES campaign_id for consistency with add_negative_keywords — validation only, DeleteNegativeKeywordsFromEntities has no parent field per WSDL.
Live-verified 2026-07-28 at ad_group scope; campaign scope not separately smoked.
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": {
"scope": "<scope>",
"entity_id": "<entity_id>",
"keyword_ids": "<keyword_ids>"
},
"name": "remove_negative_keywords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| entity_id | Yes | ||
| campaign_id | No | ||
| keyword_ids | Yes |