Campaigns

Attach Video

Attach one of the caller's tracked videos to this placement.

This is where two visibility rules meet. A tracked video is shared with a workspace only when its owner opts in; a campaign is the team's by construction. Attaching therefore stamps the video with the campaign's workspace — otherwise a teammate would see the spend but not the video it bought, and the page would be arithmetic they could not check.

shared_with_workspace in the response reports whether that just happened, so the client can warn BEFORE the click rather than apologise after.

post/api/campaigns/{campaign_id}/placements/{placement_id}/videos

Request

  • Base URL: https://api.kolens.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.kolens.ai/api/campaigns/{campaign_id}/placements/{placement_id}/videos
  • Auth: HTTP bearer

Path parameters

campaign_idstring required
placement_idstring required

Headers

x-kolens-user-idstring nullable
x-kolens-workspace-idstring nullable

Request body

video_idstring required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.