Skip to main content
Glama

Metadata MCP Connector

Remove Ad from Campaign

remove_ad_from_campaign
Destructive

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

NameRequiredDescriptionDefault
campaign_idYesThe unique identifier of the campaign
channel_adsYesMap of channel type to list of ad names to remove. Example: {"LINKEDIN": ["Ad A"], "FACEBOOK": ["Ad B"]}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources