MMetadata /docs
Docs/Tools/remove_extensions_from_native_campaign

remove_extensions_from_native_campaign

Detach extensions from a native-structure Google Ads / Microsoft Ads campaign.

Destructive extensions

Deletes, archives, launches or moves budget. Do not give an agent this one without a human gate.

What it does

Detach extensions from a native-structure Google Ads / Microsoft Ads campaign. The extension stays in the account library — only the campaign binding is removed.

                ALSO KNOWN AS: remove extension from campaign, detach sitelink, unlink extension, take sitelink off campaign

                KEYWORDS: remove, detach, unlink, unbind, extension, sitelink, callout, campaign, native, native structure, google ads, microsoft ads, bing

                WHEN TO USE:
                - "Remove that sitelink from campaign X"
                - "Take the old promotion extension off the native search campaign"
                - Undoing a wrong add_extensions_to_native_campaign call

                WHEN NOT TO USE:
                - Deleting the extension from the library entirely — this only unbinds it from one campaign
                - The campaign uses the Precision / METADATA structure — native-structure campaigns only

                INPUTS (all required):
                - campaign_id:    wizard campaign id
                - channel:        GOOGLE_ADS or MICROSOFT_ADS
                - extension_ids:  internal ids from list_extensions

                BEHAVIOUR: only the named ids are detached; other attachments are preserved. Safe to re-run.

                EXAMPLE:
                remove_extensions_from_native_campaign(campaign_id=8421, channel="GOOGLE_ADS", extension_ids=[551])

Arguments

ArgumentTypeNotes
campaign_id integer required The wizard campaign id.
channel string required Search channel. Ad extensions are a search-channel-only concept.
one of: GOOGLE_ADS, MICROSOFT_ADS
extension_ids array required Internal library extension ids from list_extensions. These are the `id` field, NOT `externalId` (the ad platform's own id).

Request

curl
curl -s -X POST https://mcp-server.metadata.io/mcp \
  -H "Authorization: $METADATA_PAT" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "MCP-Protocol-Version: 2025-11-25" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"remove_extensions_from_native_campaign","arguments":{"campaign_id":0,"channel":"GOOGLE_ADS","extension_ids":[]}}}'

Response

No recorded response. This tool can delete, archive, launch or move budget, so it is never executed to build these docs. The request above is still the exact shape to send. Nothing on this page is invented.

Other extensions tools:

All 160 tools · machine-readable index