Create Campaigns

Body Params
int32
required

The advertiser's ID for the campaign.

string
required

The campaign name.

Flights
array of int32s

You can pass an array of flights, a blank array, or not include. See Create Flight endpoint.

Flights
boolean
Defaults to false

Specifies whether campaign should be active (serving ads). Defaults to false.

boolean

Specifies whether campaign should be deleted. Do not use when creating a campaign.

boolean

Specifies whether campaign should be archived. Do not use when creating a campaign.

int32

The number of times the frequency cap should occur.

int32

Specifies how often the frequency cap should occur.

int32

The enum value for how often frequency capping should occur. 1 = Hour 2 = Day 3 = Minute.

boolean

"Opts-out" campaign from advertiser-level frequency cap settings.

int32

Set to CapType = 4. Campaigns can only budget cap on revenue metric. Do not set to 0 - if removing, set to null.

int32

The max daily revenue.

int32

The max lifetime revenue.

Response

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json