Skip to main content
POST
Attach creative collection to campaign

Authorizations

Authorization
string
header
required

API key or access token

Path Parameters

campaignId
string
required
Minimum string length: 1
collectionId
string
required
Minimum string length: 1

Body

application/json

Attach collection metadata to the campaign workspace. This does not launch or sync creatives by itself.

role
enum<string>
default:creative_library

How a campaign uses the collection: working creative library, source assets, approved launch set, or testing set.

Available options:
creative_library,
source_assets,
approved_set,
test_set
sync_policy
enum<string>
default:manual

Whether campaign attachment changes are manual or automatically include new collection members.

Available options:
manual,
auto_include_new_members
metadata
object

Response

Attach creative collection to campaign

Mutation response for collection management.

collection
object
required

A creative collection owned by an advertiser, campaign, or customer workspace.

added_count
integer
Required range: 0 <= x <= 9007199254740991
removed_count
integer
Required range: 0 <= x <= 9007199254740991
attached
object

Campaign attachment metadata for a creative collection.

assigned_count
integer

Number of creative_manifest_campaign rows created by this operation.

Required range: 0 <= x <= 9007199254740991
legacy_members_excluded
integer

Creative members skipped because their manifest lacks format_kind (upgrade required).

Required range: 0 <= x <= 9007199254740991