Remove Extensions from Native-Structure Campaign
remove_extensions_from_native_campaignDetach 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])Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Search channel. Ad extensions are a search-channel-only concept. | |
| campaign_id | Yes | The wizard campaign id. | |
| extension_ids | Yes | Internal library extension ids from list_extensions. These are the `id` field, NOT `externalId` (the ad platform's own id). |