Draft attaching a brand list
attach_brand_list_to_campaignsAttach an existing brand list to campaigns as criteria to exclude or target brands, returning a preview plan to confirm before applying.
Instructions
Attach an existing brand list to one or more campaigns — returns a PREVIEW.
Creates a CampaignCriterion.brand_list per campaign. This is NOT the
CampaignSharedSet linkage used for negative keyword lists — brand lists are
criteria, and negative decides the role. The shared_set_id comes from
get_brand_lists; get_brand_list_campaigns lists 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": "attach_brand_list_to_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| negative | No | True (default) excludes the brands from those campaigns; False restricts targeting to them instead. | |
| customer_id | No | Ads account ID. Defaults to the configured account. | |
| campaign_ids | Yes | Numeric campaign IDs to attach the list to. | |
| shared_set_id | Yes | Numeric list ID from get_brand_lists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||