curl --request PUT \
--url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}/assets/{assetType}/{assetId} \
--header 'Authorization: Bearer <token>'This response has no body data.Associate a specified asset with a campaign. Using the API, you can create associations for the following asset types: ads, blog posts, calls, case studies, CTAs, CTAs (legacy), external website pages, feedback surveys, forms, files, knowledge base articles, landing pages, marketing email, marketing events, meetings, playbooks, podcast episodes, sales documents, sales emails, sequences, SMS, social posts, static lists, videos, website pages, and workflows.
For other asset types, it is recommended to manage your associations directly in the campaign tool in HubSpot.
curl --request PUT \
--url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}/assets/{assetType}/{assetId} \
--header 'Authorization: Bearer <token>'This response has no body data.Was this page helpful?