v1
latestOpenAPI 3.1.02026-07-26374172.5 KBFlights/Display Ad Flights
Create a new flight
Submit start and end dates along with buy info for a single flight, to facilitate spend calculation.
post/measurement/display_ads/{ad_id}/flights
Path parameters
ad_idstring required
Example:0123456789abcdef
Request body
Example request
{
"measurementFlight": {
"startDate": "2024-03-01",
"endDate": "2024-03-31"
}
}Response
OK
Example response
{
"measurementFlight": {
"id": 123,
"startDate": "2024-03-01",
"endDate": "2024-03-31",
"expectedImpressions": 100,
"cpm": 10,
"uid": "qtr-1-flight-1",
"ad": {
"id": "0123456789abcdef",
"name": "The Pod Show - Mid-Roll",
"uid": "ad-123-456"
}
}
}