Создать кампанию
Create a CPC campaign.
max_bid_cents за клик, в пределах дневного и общего бюджетов. Креатив выбирается из GET /cpc/creatives; он должен быть active и принадлежать активному аккаунту OnlyFans.
Баланс кошелька при создании должен покрывать budget_total_cents. Для tracking- и trial-креативов сначала создаётся ссылка OnlyFans; если это не удаётся, кампания не создаётся, а запрос отвечает 502 link_creation_failed, его можно безопасно повторить.
Деньги в этом ресурсе везде в целых центах: ставки от 10 до 200 центов, дневной бюджет от 50,000, общий бюджет от 1,000,000. Даты без смещения читаются в часовом поясе Studio.Авторизации
Your API key from the Studio Dashboard
Тело
Public id of one of your CPC creatives (GET /cpc/creatives). The creative must be active and sit on an active OnlyFans account.
32"cpcr_p1bzku7u"
Campaign name shown in Studio.
100"Reddit push September"
Maximum bid per click, in cents (10 to 200).
10 <= x <= 20055
Daily budget cap, in cents: at least 2000, at most 5000000 ($50,000), and never above budget_total_cents.
2000 <= x <= 50000005000
Lifetime budget cap, in cents: at least 10000, at most 100000000 ($1,000,000). The campaign flips to completed when spend reaches it.
10000 <= x <= 100000000100000
Scheduled start, YYYY-MM-DD or ISO 8601. Defaults to today in the Studio timezone when omitted; a value with an offset is converted.
"2026-09-15"
Scheduled end, must be later than date_start. null runs the campaign until the total budget is spent.
null
Initial state. paused creates the campaign without serving it; switch to active later through the settings endpoint.
active, paused "active"
Maximum impressions shown to the same visitor within freq_cap_days. 0 means uncapped.
0 <= x <= 1003
Window the frequency cap is measured over, in days.
1, 3, 7 3
Placement keys excluded from serving. Same site-xxxxxxxx keys the stats endpoint returns.
500^site-[0-9a-f]{8}$Prefix for the tracking-link names minted for this campaign. Defaults to CPC.
2 - 40^[\w .\-]+$"CPC"