Bloss Docs

Add videos posted outside a campaign to it

Developers
POST
/brands/{brandId}/campaigns/{campaignId}/videos

Make one set in this campaign from one creator's videos that are in no set yet (for example, posted while no campaign ran), as "Add to campaign" does in the app. Up to 10 video ids (from brand.videos.list), all one creator's. The set is priced at once, so the creator can be owed money for it. Automatic "irrelevant" marks (posted before joining, outside a campaign) are taken off those videos; a video an admin marked irrelevant by hand is refused. Refused with 409 for a draft, unstarted or closed campaign, a video already in a set, or videos with no post date yet. Preview with ?dryRun=true: the checks run and nothing is written. Full admins only (in the app, limited admins can too). Kept in the campaign's history.

Authorization

bearerAuth campaigns:write
headerAuthorizationBearer <token>

Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.

Scope: campaigns:write

Path Parameters

brandId*string

A brand id from GET /me or GET /creator/brands.

Length1 <= length
campaignId*string

A campaign id from GET /brands/{brandId}/campaigns. A payout cycle id is the same id.

Length1 <= length

Query Parameters

dryRun?string

"true": run every check and return { dryRun: true, wouldChange } without changing anything.

Value in"true""false"

Request Body

application/json
  1. body
videoIds*array<>

One creator's videos, made into one set.

Items1 <= items <= 10

Response Body

Success.

application/json
  1. response
setId*string
campaignId*string
videoIds*array<string>
cleared*

Per video, the automatic irrelevant reasons taken off.

curl -X POST 'https://example.com/api/v1/brands/string/campaigns/string/videos' \  -H 'Content-Type: application/json' \  -d '{  "videoIds": [    "string"  ]}'
{  "setId": "string",  "campaignId": "string",  "videoIds": [    "string"  ],  "cleared": {    "property1": [      "string"    ],    "property2": [      "string"    ]  }}

Was this page helpful?