Create Flight

This adds a new flight to a campaign.

Please refer to our Flight documentation for more information.

👍

Note that EndDateISO is required if the GoalType value is not 2, 9, or 10.

🚧

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

onClick: {"stopShowingAdsFromFlight":XX}

Stops showing ads from flight if someone clicks

onClick: {"stopShowingAdsFromAdvertiser":XX}

Stops showing ads from advertiser if someone clicks

onClick: {storeCategoriesFromFlightAsInterest":XX}

Saves the category of the flight to UserDB, tied to user, based on click

onConvert: {"stopShowingAdsFromFlight":XX}

Stops showing ads from flight if someone converts

onConvert: {"stopShowingAdsFromAdvertiser":XX}

Stops showing ads from advertiser if someone converts

onConvert: {"storeCategoriesFromFlightAsInterest":XX}

Saves the category of the flight to UserDB, tied to user, based on conversion

"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

Language
Authentication
Header