Draft detaching a brand list
detach_brand_list_from_campaignsDetach a brand list from selected campaigns with a preview before changes apply. Use it to stop targeting list-based brands without deleting the list.
Instructions
Detach a brand list from one or more campaigns — returns a PREVIEW.
Removes the CampaignCriterion rows linking the list to those campaigns; the list itself and its brands are unchanged. get_brand_list_campaigns lists the existing attachments.
Returns a preview with a plan_id; nothing changes until the returned plan_id is applied with confirm_and_apply.
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_brand_list_from_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | No | Ads account ID. Defaults to the configured account. | |
| campaign_ids | Yes | Numeric campaign IDs to detach the list from. Campaigns that do not carry the list are reported as `not_attached` in the apply result instead of failing the batch. | |
| shared_set_id | Yes | Numeric list ID from get_brand_lists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||