Draft attaching a shared set
attach_shared_set_to_campaignsAttach an existing shared set, like negative keywords, to one or more campaigns. Returns a preview for confirmation before applying.
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.
Use get_negative_keyword_lists to find the shared_set_id, and
get_negative_keyword_list_campaigns to inspect existing attachments.
shared_set_id: numeric ID from get_negative_keyword_lists. campaign_ids: list of numeric campaign IDs to attach the set to.
Call confirm_and_apply with the returned plan_id to execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | No | ||
| campaign_ids | Yes | ||
| shared_set_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||