post
https://koddi.io/console/v2/member_groups//advertisers//campaigns
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Response
| Field | Type | Description |
|---|---|---|
| id | int | The id of the campaign |
| advertiser_id | int | The advertiser ID of the campaign |
| experience_id | int | The experience ID of the campaign |
| name | string | The name of the campaign (2 to 255 characters) |
| start_date | string | The start date of the campaign |
| end_date | string | The end date of the campaign. Required unless always_on is true; must be omitted when always_on is true. |
| always_on | bool | The 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_bid | bool | The automation for base bid flag |
| click_attribution_window | integer | The attribution window setting for conversion events tied to clicks |
| impression_attribution_window | integer | The attribution window setting for conversion events tied to impressions |
| enable_frequency_capping | bool | The frequency capping flag |
| frequency_capping | string | The frequency capping amount |
| pacing | string | The pacing type. Possible values: Evenly, ASAP, Accelerated, Pace Ahead, Day Cap or Opportunity (case-insensitive); the values available depend on the experience. |
| budget | object | The budget details of the campaign |
| type | string | The type of budget |
| amount | float | The budget amount |
| primary_goal | object | The primary goal for the campaign |
| type | string | The goal type. Possible values are ROAS, GRE, Spend, Volume, and CPA. A ROAS value must be between 1 and 20. |
| value | string | The goal value. Always a JSON string (for example "4"), even though it is numeric in meaning. |
| insertion_order | object | Optional. 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_id | int | The ID for the line item associated to the campaign. |
| insertion_order_id | int | The ID of the insertion order associated to the campaign. Required when line_item_id is supplied.
|
| purchase_order_number | string | The number for the purchase order associated to the campaign. |
| metadata | object | The campaign metadata |

