Draft attaching a shared set
attach_shared_set_to_campaignsAttach a shared negative keyword list to multiple Google Ads campaigns and preview the changes before applying them.
Instructions
Attach an existing shared set to one or more campaigns — returns a PREVIEW.
Creates CampaignSharedSet linkages so the campaigns inherit the shared set's criteria (e.g. negative keywords). Most commonly used to attach a shared negative keyword list to newly-built campaigns; get_negative_keyword_list_campaigns lists 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 attach the set to (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 | |||