Create Flight
This API call adds a new flight to a campaign.
post/v1/flight
Request
- Base URLhttps://api.kevel.co
- URLhttps://api.kevel.co/v1/flight
- AuthAPI key in header X-Adzerk-ApiKey
Request body
Response
200
Example response
{
"Id": 1234,
"StartDateISO": "2017-05-01T00:00:00.0000000",
"EndDateISO": "2017-12-31T00:00:00.0000000",
"Price": 5,
"Impressions": 10000,
"IsCompanion": true,
"Keywords": "exercise",
"Name": "Basic Flight",
"IsFreqCap": true,
"CampaignId": 1234,
"PriorityId": 1234,
"IsActive": true,
"GeoTargeting": [
{
"CountryCode": "US",
"Region": "NC",
"MetroCode": 560,
"City": "Durham",
"CityGeonameId": 4464368
}
],
"SiteZoneTargeting": [
{
"SiteId": 123,
"ZoneId": 321
}
],
"GoalType": 1,
"RateType": 2,
"IsECPMOptimized": true,
"ECPMOptimizePeriod": 30,
"ECPMMultiplier": 1.25,
"FloorECPM": 0.15,
"CeilingECPM": 0.35,
"DefaultECPM": 0.28,
"ECPMBurnInImpressions": 1000,
"IsSunday": true,
"IsSaturday": true,
"TimeZone": "America/New_York",
"FreqCap": 2,
"FreqCapDuration": 10,
"FreqCapType": 1,
"CapType": 1,
"DailyCapAmount": 5000,
"LifetimeCapAmount": 50000,
"BehavioralTargeting": {
"onClick": {
"stopShowingAdsFromFlight": true,
"stopShowingAdsFromAdvertiser": true,
"storeCategoriesFromFlightAsInterest": true
},
"onConvert": {
"stopShowingAdsFromFlight": true,
"stopShowingAdsFromAdvertiser": true,
"storeCategoriesFromFlightAsInterest": true
}
},
"IsTrackingConversions": true,
"CanPassback": true,
"PassbackSortOrder": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.