Buyer Side

Demand Side Platform JSON Fields

PropertyDescriptionType
nameThe demand side platform nameString(255)

Trading Desk JSON Fields

PropertyDescriptionType
nameThe trading nameString(255)

Buyer JSON Fields

PropertyDescriptionType
idBuyer's identifierInteger
nameBuyer's nameString(100)
typeBuyer's type.

Values:
  • ad-served
  • programmatic
  • (equivalent to direct buy on UI)
  • sold-by-publisher
  • open-rtb
  • fixed-price
    String
    demand-side-platform-idBuyer's demand side platform identifierInteger
    trading-desk-idBuyer's trading desk identifierInteger
    seat-idBuyer's actual seat id, just display for open-rtb buyersString
    accept-audioWhether the buyer accepts audio.

    • 0 for not accept
    • 1 for accept
      Integer

      Insertion Order JSON Fields

      PropertyDescriptionTypeOptional on Create?
      buyer-idThe buyer internal idIntegerNo
      nameThe name of the IOStringNo
      internal-referenceThe internal-reference of the IOStringYes
      client-referenceThe client-reference of the IOStringYes
      contactContact name of the IO StringStringYes
      emailContact email of the IOString (email format)Yes
      signature-dateThe signature date of the IODateYes

      Ad JSON Fields

      PropertyDescriptionTypeOptional on Create?
      nameThe ad nameString(255)No
      campaign-idThe id of ad's campaignIntegerNo

      Cannot be set on update
      typeThe ad type (Video or VAST redirect or Audio)

      Caution: field only available at creation. The ad type must match its campaign.
      String.

      Possible values are video or redirect.
      No
      urlThe url of the media file if the type is video or audio, or the url of the VAST redirect to if this is a redirect.

      If this is a video or audio url, the video or audio file is uploaded to Freewheel's CDN and transcoded as needed.
      StringNo
      clickthroughIf the ad type is video, a clickthrough url can be provided.StringYes

      Default is null: nothing is added. To delete, set it to null.
      delivery-conditionA boolean expression a request must fulfill in order to be eligible for the campaign.

      See Allowed filters below.
      Object.

      See Boolean Expression below.
      Yes

      Default is null: nothing is added. To delete, set it to null.
      third-party-trackingsThe list of third-party trackings associated to the adArray of third-party-tracking objects. A third-party-tracking object has a type and an url property which are both mandatory.

      The type can have one of the following values:


      • impression

      • start
      • firstQuartile
      • midpoint
      • thirdQuartile
      • complete

      • click



      The url represents the full URL to contact when the associated event occurs. Note that there can have multiple objects with the same type
      Yes
      skip-ad-buttonAn object defining the behavior of the skip ad button.

      Skip-ad-button.type is the duration type where the button appears and skip-ad-button.value is the duration in milliseconds/percent of the video from where the button appears.
      ObjectYes

      Default is null: no skip ad button is added. To delete, set it to null.

      Skip Ad Button

      PropertyDescriptionTypeOptional on Create?
      typeThe duration of the video at which the button appearsEnum ('ms', 'percent')No, if the skip-ad-button object is present, the field is mandatory.
      valueThe duration in milliseconds/percent of the video at which the button appearsIntegerNo, if the skip-ad-button object is present, the field is mandatory.

      If type is percent, the minimum value is 0, the maximum is 99 (inclusively for both).

      If type is ms, the minimum value is 0, and the maximum is 60000 (inclusively for both.)

      Campaign JSON

      PropertyDescriptionTypeOptional on creation?
      nameThe campaign nameString(255)No
      start-dateThe starting date of the campaignDate using the YYYYMMDDHHMM formatNo
      end-dateThe ending date of the campaign

      Sending an end-date will turn its objectives to flight and to daily if it's not.
      Date using the YYYYMMDDHHMM formatYes
      impressionsIf no end date is provided this represent a daily target, if not this is a global objective on the campaign running periodintegerNo
      brand-idId of the brand this campaign belongs tointegerNo
      cpmThe campaign CPMString with dot as decimal separator to avoid conversion issuesYes
      cappingAn object describing the capping applied for this campaign.

      • capping.view is the maximum number of impression for a viewer
      • capping.duration is the duration in seconds for which this limitation applies
      ObjectYes

      Default is null: no capping is applied to the campaign.
      ad-idsThe list of ad ids contained in the campaignArray (Int)READ ONLY
      io-idThe insertion order internal IDintegerNo
      ad-typeDefines the ad type for this site:
      • 0 for video

      • 1 for audio


      Audio support module is required when creating audio inventory.
      IntYes

      Default is 0, video.

      Boolean expressions

      Boolean expressions are expressed as objects in the form of a tree.

      For example:

      <p>{"operator":"or","left":{"operator":"and","left":{"key":"Geo_CountryId","operator":"=~","value":["FR"]},"right":{"key":"Time_Day","operator":"=~","value":["Monday", "Wednesday"]}},"right":{"key":"Geo_CountryId","operator":"=~","value":["CA"]}}</p>
      

      For more information, visit Boolean Expressions.