Skip to main content
POST
Update CPC campaign settings.
Partial update: send only the settings you want to change. Pause and resume a campaign through status (paused / active). blocked_placements replaces the whole list; date_end: null clears the end date and link_name_prefix: null resets the prefix to CPC. Only active and paused campaigns can be edited. A completed campaign (budget or end date reached) cannot be re-activated; create a new one instead. The daily budget must stay within the total budget and date_end must stay after date_start after the change is merged.

Authorizations

X-API-Key
string
header
required

Your API key from the Studio Dashboard

Path Parameters

public_id
string
required

Resource public id. Format varies by endpoint: cplo_xxxxxxx for CPL orders, cpco_xxxxxxx for CPC orders, swpo_xxxxxxx for swap orders, cpcr_xxxxxxx for CPC creatives, revi_xxxxxxx for RevShare invoices.

Pattern: ^[a-z0-9_]+$

Body

application/json

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.

name
string

Campaign name shown in Studio.

Maximum string length: 100
Example:

"Reddit push September"

max_bid_cents
integer

Maximum bid per click, in cents (10 to 200).

Required range: 10 <= x <= 200
Example:

55

budget_daily_cents
integer

Daily budget cap, in cents: at least 2000, at most 5000000 ($50,000), and never above budget_total_cents.

Required range: 2000 <= x <= 5000000
Example:

5000

budget_total_cents
integer

Lifetime budget cap, in cents: at least 10000, at most 100000000 ($1,000,000). The campaign flips to completed when spend reaches it.

Required range: 10000 <= x <= 100000000
Example:

100000

date_start
string<date>

Scheduled start, YYYY-MM-DD or ISO 8601. A bare date is read in the Studio timezone; a value with an offset is converted.

Example:

"2026-09-15"

date_end
string<date> | null

Scheduled end, must be later than date_start. Pass null to clear the end date.

Example:

null

status
enum<string>

paused pauses the campaign, active resumes it.

Available options:
active,
paused
Example:

"active"

freq_cap
integer

Maximum impressions shown to the same visitor within freq_cap_days. 0 means uncapped.

Required range: 0 <= x <= 100
Example:

3

freq_cap_days
enum<integer>

Window the frequency cap is measured over, in days.

Available options:
1,
3,
7
Example:

3

blocked_placements
string[]

Replaces the whole list of excluded placements. Pass an empty array to unblock everything.

Maximum array length: 500
Pattern: ^site-[0-9a-f]{8}$

Prefix for the tracking-link names minted for this campaign. Pass null to reset it to CPC.

Required string length: 2 - 40
Pattern: ^[\w .\-]+$
Example:

"CPC"

Response

Updated.

success
boolean
Example:

true

data
object