Настройки кампании
Update CPC campaign settings.
status (paused / active). blocked_placements заменяет весь список; date_end: null очищает дату окончания, а link_name_prefix: null сбрасывает префикс на CPC.
Редактировать можно только кампании в статусе active и paused. Кампанию completed (достигнут бюджет или дата окончания) нельзя активировать заново; вместо этого создайте новую. После применения изменений дневной бюджет должен оставаться в пределах общего, а date_end должна быть позже date_start.Авторизации
Your API key from the Studio Dashboard
Параметры пути
Resource public id. Format varies by endpoint: cplo_xxxxxxx for CPL campaigns, cpco_xxxxxxx for CPC orders, swpo_xxxxxxx for swap orders, cpcr_xxxxxxx for CPC creatives, revi_xxxxxxx for RevShare invoices.
^[a-z0-9_]+$Тело
Send only the settings you want to change. Everything else keeps its current value. null is a real value here: it clears date_end and resets link_name_prefix.
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. A bare date is read in the Studio timezone; a value with an offset is converted.
"2026-09-15"
Scheduled end, must be later than date_start. Pass null to clear the end date.
null
paused pauses the campaign, active resumes it.
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
Replaces the whole list of excluded placements. Pass an empty array to unblock everything.
500^site-[0-9a-f]{8}$Prefix for the tracking-link names minted for this campaign. Pass null to reset it to CPC.
2 - 40^[\w .\-]+$"CPC"