Flights/Baked-In Ad Flights
Create a new flight
Changed onSubmit start and end dates along with buy info for a single flight, to facilitate spend calculation.
post/measurement/baked_in_ads/{ad_id}/flights
Request
- Base URLhttps://api.magellan.ai/v2
- URLhttps://api.magellan.ai/v2/measurement/baked_in_ads/{ad_id}/flights
- AuthAPI key in header Authorization
Path parameters
ad_idstring required
Example:0123456789abcdef
Request body
Example request
{
"measurementFlight": {
"startDate": "2024-03-01",
"endDate": "2024-03-31"
}
}Response
OK
Example response
{
"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",
"podcast": {
"id": 1,
"title": "The Pod Show"
},
"cohorts": [
{
"cohortName": "Creative",
"subCohortName": "Holiday 30s"
}
]
}
}Changes
- info
endpoint added
- info