Campaign - Experiences

Creates a campaign. A campaign starts Pending unless status is sent as paused or inactive. Pending becomes Active when the campaign's first started ad group is created, or when the scheduled status update runs on or after the campaign's start date.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Response

Field
Type
Description
idintThe id of the campaign
advertiser_idintThe advertiser ID of the campaign
experience_idintThe experience ID of the campaign
namestringThe name of the campaign (2 to 255 characters)
start_datestringThe start date of the campaign
end_datestringThe end date of the campaign. Required unless always_on is true; must be omitted when always_on is true.
always_onboolThe flag that indicates whether the media will always be on once the start date is reached, or if the media will have an end date.
is_auto_bidboolThe automation for base bid flag
click_attribution_windowintegerThe attribution window setting for conversion events tied to clicks
impression_attribution_windowintegerThe attribution window setting for conversion events tied to impressions
enable_frequency_cappingboolThe frequency capping flag
frequency_cappingstringThe frequency capping amount
pacingstringThe pacing type. Possible values: Evenly, ASAP, Accelerated, Pace Ahead, Day Cap or Opportunity (case-insensitive); the values available depend on the experience.
budgetobjectThe budget details of the campaign
typestringThe type of budget
amountfloatThe budget amount
primary_goalobjectThe primary goal for the campaign
typestringThe goal type. Possible values are ROAS, GRE, Spend, Volume, and CPA. A ROAS value must be between 1 and 20.
valuestringThe goal value. Always a JSON string (for example "4"), even though it is numeric in meaning.
insertion_orderobjectOptional. The object containing the details for the insertion order or purchase order relevant to the campaign. line_item_id and insertion_order_id are sent together; purchase_order_number may be sent alone.
line_item_idintThe ID for the line item associated to the campaign.
insertion_order_idintThe ID of the insertion order associated to the campaign. Required when line_item_id is supplied.
purchase_order_numberstringThe number for the purchase order associated to the campaign.
metadataobjectThe campaign metadata

Try it!

Path Params
int32
required

The member group id (provided by Koddi)

int32
required

The advertiser id

Body Params
string
required
length between 2 and 255

The name of the campaign (2 to 255 characters)

int32
required

The experience ID the campaign should be tied to

string
required

The start date of the campaign. Must not be in the past. Interpreted in the advertiser's timezone.

string

The end date of the campaign. Required unless always_on is true; must be omitted when always_on is true. Interpreted in the advertiser's timezone.

boolean
required

The always on flag

boolean
required

The automation for base bid flag

boolean
required

The frequency capping flag

string

The frequency capping amount. Required only when enable_frequency_capping is true.

string
required

How your budget will be paced. Possible values are Evenly, ASAP, Accelerated, Pace Ahead, Day Cap and Opportunity (case-insensitive). Which values an experience allows depends on its configuration.

budget
object
required

The budget details of the campaign

primary_goal
object
required

The primary goal for the campaign

secondary_goal
object

The secondary goal for the campaign

insertion_order
object

Optional. line_item_id and insertion_order_id go together; purchase_order_number may be sent alone.

integer

The attribution window setting for conversion events tied to clicks

integer

The attribution window setting for conversion events tied to impressions

string

If sent, only lowercase paused or inactive is honored on create; any other value (including Paused) starts the campaign Pending.

boolean
integer

Optional. Workflow (campaign wizard) configuration of the experience; defaults to the experience's. It does not approve or activate the campaign.

boolean

Campaign-level budget. When true, the campaign budget governs and ad group budgets are not summed against it. Requires the experience to allow it.

boolean
string
string
string
string

Offsite campaigns only. activate_immediately (default) or wait_until_budget_reallocation. Ignored for onsite campaigns.

boolean
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json