Draft detaching a shared set
detach_shared_set_from_campaignsRemoves shared set attachments from one or more campaigns so they stop inheriting its criteria. Returns a preview; nothing changes until it is confirmed.
Instructions
Detach a shared set from one or more campaigns — returns a PREVIEW.
Removes CampaignSharedSet linkages so the campaigns no longer inherit the shared set's criteria. The shared set itself is unchanged; only the per-campaign attachment is removed. get_negative_keyword_list_campaigns lists the existing attachments. Returns a preview with a plan_id; nothing changes until confirm_and_apply applies it.
Google Ads API: https://developers.google.com/google-ads/api/docs/start
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | No | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. | |
| campaign_ids | Yes | Numeric campaign IDs to detach the set from (at least one). Blank entries are dropped and duplicates collapsed. | |
| shared_set_id | Yes | Numeric ID of the shared set (from get_negative_keyword_lists). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||