campaign-assets

Attach an asset to a campaign

Attaches an asset to a campaign in a role such as MARKETING_IMAGE or LOGO. Get the media requirements matrix lists which roles each campaign type needs. Changes reach the ad platforms on the next sync.

Errors

  • 400 VALIDATION_ERROR: the body failed validation; details.issues[] names each field.
post/api/v1/campaign-assets

Request

  • Base URL: https://api.growomat.com
  • URL: https://api.growomat.com/api/v1/campaign-assets
  • Auth: HTTP bearer

Headers

X-Space-Idstring

The Space to work in, for example spc_8f3aK2. Omit it to use your personal Space. List your Spaces returns the ids. A Space that does not exist returns 404 SPACE_NOT_FOUND; one you are not a member of returns 403 NOT_A_MEMBER.

Request body

campaignIdstring required

The campaign.

assetIdstring required

The asset.

role'MARKETING_IMAGE' | 'SQUARE_MARKETING_IMAGE' | 'PORTRAIT_MARKETING_IMAGE' | 'LOGO' | 'LANDSCAPE_LOGO' | 'YOUTUBE_VIDEO' | 'VIDEO' required

What the asset is used as. Get the media requirements matrix says which roles each campaign type needs.

Response

OK. The result is in data. List responses also carry meta with nextCursor and total.

dataunknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.