Include a set that is over a cap, over the budget or found late
Take the Over cap, Over budget or Found late mark off one set of the campaign, so it is owed at the price its rules give it; it counts on top of the caps and is never marked again. Set ids and their blocker (over_cap, over_budget, late_found) come from brand.campaigns.balances.get. Refused with 409 on a closed campaign or a set without such a mark; 404 for a set not in the campaign. Preview with ?dryRun=true: what it would be owed, nothing written. Full admins only (in the app, limited admins can too). Kept in the campaign's history.
bearerAuth campaigns:writeAuthorizationBearer <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
brandId*stringA brand id from GET /me or GET /creator/brands.
1 <= lengthcampaignId*stringA campaign id from GET /brands/{brandId}/campaigns. A payout cycle id is the same id.
1 <= lengthsetId*stringA set id from brand.campaigns.balances.get.
1 <= lengthdryRun?string"true": run every check and return { dryRun: true, wouldChange } without changing anything.
"true""false"Success.
application/json- response
setId*stringwas*stringThe mark that comes off.
"over_cap""over_budget""late_found"wouldEarn*|What the set is now owed, US dollars as a decimal string.
curl -X POST 'https://example.com/api/v1/brands/string/campaigns/string/sets/string/include'{ "setId": "string", "was": "over_cap", "wouldEarn": "string"}Change a campaign's pay rules POST
Save new pay rules for a campaign as a new version and reprice its sets: base pay (one rate or per platform), minimum views and how they're counted, the bonus (tiers, or a rate per 1,000 views with a cap), the earning window, which sets count, late-found videos, the Base pay queue, payment requirements and trial pay. Send only what changes. By default the change reaches sets with nothing paid yet; `alsoTopUpPaid` also raises sets already paid. Money already paid is never reduced. **A save needs a dry run first:** call with ?dryRun=true to get the preview (`totals`, `basedOnVersionId`, `inForceFrom`), show it to the user, then call again with the same body plus `basedOnVersionId` and `expected` (the preview's totals). The save is refused with 409 when someone else changed the rules since, when the figures moved, while a payment is in flight, and on a closed campaign. Full admins only. Returns the new version's id, how many sets moved and the totals.
Set a campaign's trial rule PATCH
Set the trial rule new creators follow in this campaign, as the campaign's Trial tab does: `{ mode: "no_trial" }`, or `{ mode: "custom", rule }` with up to three goals (N videos at X views each, X total views, N videos posted), a minimum time and a deadline with what happens at it. Creators already on a trial under this campaign's rule move to the new rule at once: anyone it already passes moves to Active straight away (releasing their held trial sets, and possibly paying a referral bonus), and a deadline that has passed on a fail rule fails them. Refused with 409 on a closed campaign, while a payment for an affected creator is in flight, and for a brand still on payout cycles (`details.reason` not_converted). Preview with ?dryRun=true first: `trialChanges` lists who passes, fails or changes rule, nothing written. Full admins only.