attach_shared_set_to_campaigns
Attach an existing shared set, such as a negative keyword list, to one or more campaigns so they inherit the set's criteria. Provide the shared set ID and campaign IDs, then confirm to apply.
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 |
|---|---|---|---|
| shared_set_id | Yes | ||
| campaign_ids | Yes | ||
| customer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||