Remove Ad from Campaign
remove_ad_from_campaignDestructive
Remove specific ads (ad groups) from one or more channels in an existing campaign. A launched campaign's X channel (TWITTER) is view-only, so removals there are refused, and a launched Google Ads Performance Max campaign keeps its asset group's ad, so that removal is refused too.
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": {
"campaign_id": "<campaign_id>",
"channel_ads": "<channel_ads>"
},
"name": "remove_ad_from_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | The unique identifier of the campaign | |
| channel_ads | Yes | Map of channel type to list of ad names to remove. Example: {"LINKEDIN": ["Ad A"], "FACEBOOK": ["Ad B"]} |