This adds a new flight to a campaign.
Please refer to our Flight documentation for more information.
Note that
EndDateISO
is required if theGoalType
value is not2
or9
.
Geotargeting and Site/Zone targeting are set with separate endpoints.
Behavioral Targeting Object
The Behavioral object is used for Interest/Behavioral Targeting and Excluding Ads Based on Behavior.
The BehavioralTargeting
object contains six boolean statements, three under onClick
and three under onConvert
. All default to false
. All are optional.
Property | Description |
---|---|
| Stops showing ads from flight if someone clicks |
| Stops showing ads from advertiser if someone clicks |
| Saves the category of the flight to UserDB, tied to |
| Stops showing ads from flight if someone converts |
| Stops showing ads from advertiser if someone converts |
| Saves the category of the flight to UserDB, tied to |
"BehavioralTargeting": {
"onClick": {
"stopShowingAdsFromFlight": true,
"stopShowingAdsFromAdvertiser": true,
"storeCategoriesFromFlightAsInterest": true
},
"onConvert": {
"stopShowingAdsFromFlight": true,
"stopShowingAdsFromAdvertiser": true,
"storeCategoriesFromFlightAsInterest": true
}
}
Deprecated:
DatePartingStartTime
,DatePartingEndTime
,OptionType
,IsUnlimited
,IsFullSpeed
,User Agent Keywords
,CreativeMaps
,WeightOverride
,StartDate
,EndDate
,NoEndDate