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
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": {
"shared_set_id": "<shared_set_id>",
"campaign_ids": "<campaign_ids>"
},
"name": "detach_shared_set_from_campaigns"
}
}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 | |||