Create ad order

Creates an Ad Order.

Note

io_number and externalAdOrderId both serve the same purpose and refer to the same value: an external ID for use by clients. These fields point to the same value; on input, a caller should use one field or the other, not both; on output, both fields are provided (currently), and will have the same value.

Submitting a record with both fields is an error condition, and will result in a 400 response.

Request Body

NameTypeDescriptionRequired
idNumberAd order ID.Required for update.
nameStringAd order name.Yes
campaignIdNumberCampaign ID associated with the ad order.Yes
optimizationGoalStringOptimization goal for the ad order: CPM, CPC, CPAYes
startDateNumberStart date of the ad order, passed as Unix time in milliseconds.Yes for creation. After creation the flight endpoint must be used to update and modify.
endDateNumberEnd date of the ad order, passed as Unix time in milliseconds.Yes for creation. After creation the flight endpoint must be used to update and modify.
lifetimeBudgetNumberThe total lifetime budget for the ad order in USD.Yes for creation. After creation the flight endpoint must be used to update and modify.
frequencyCapObjectHolds all frequency cap settings. If not present, defaults to null.No
frequencyCap.limitNumberThe maximum number of impressions a user is exposed to per frequency cap time period duration. See frequencyCap.duration and frequencyCap.timePeriod.Yes (if parent object present)
frequencyCap.durationNumberThe number of given frequencyCap.timePeriodYes (if parent object present)
frequencyCap.timePeriodStringOne of: MINUTE, HOUR, DAYYes (if parent object present)
channelsV2String Array/NullChannels the Ad Order will be capable of serving on: Display, Video, Native, Audio, DOOH, CTV, LTV, LTV Wide OrbitNo
max_bidNumberThe maximum bid. Default values apply when no values are present.No
audienceWeightsEnabledBooleanControls whether audience weights are enabled. If null or absent, defaults to false on create, and left untouched on update.No
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!