Salesforce

OpenRTB API for suppliers — Bid request specification — Part 2

« Go Back
Information
OpenRTB API for suppliers — Bid request specification — Part 2
OpenRTB-API-for-suppliers-Bid-request-specification-Part-2
Details

Overview

Equativ provides an OpenRTB API for suppliers which is able to receive OpenRTB bid requests. Equativ then runs an auction for each request so Equativ’s demand partners can bid on the opportunity. This article contains the bid request specification (part 2).

Related articles


Geo object

OpenRTB fieldData typeNecessityDescription
countrySTRINGOPTIONALThe country code following ISO-3166-1 Alpha-3.
zipSTRINGOPTIONALThe zip/postal code.
typeINTEGEROPTIONALThe type of geo data source (GPS, IP address, user provided), to be provided when lat / lon is provided. Potential values available here.
latFLOATOPTIONALThe latitude from -90 to 90, where negative is south. The parameter should be passed only if it is known to be accurate.
lonFLOATOPTIONALThe longitude from -180 to 180, where west is negative. The parameter should be passed only if it is known to be accurate.

Banner object

Banner MIME types

Bid responses take into account and respond with the bid.adm attribute, which is formatted according to the imp.banner.mimes received in the bid request on which the bid is being made. If not specified, the default value is "text/javascript". It is recommended to use the same MIME type for all banner objects in the same bid request.

Example bid.adm attribute for a request MIMEs list including the MIME type "text/javascript" (the adm is an HTML snippet including Equativ’s JavaScript <script> tags; it is intended to be inserted into the DOM):
"adm": "<script>document.write("<DIV/>");<script><!-- more creative HTML -->"

Example bid.adm attribute for a request MIMEs list including the MIME type "text/html" (the adm is an HTML snippet excluding all of Equativ’s JavaScript <script> tags; it is intended to be inserted into the DOM):
"adm": "<img src='…'><!-- more creative HTML -->""

Other MIMEs (or no MIMEs at all) received via imp.banner.mimes are not supported and responses will default in the manner of "text/javascript".
OpenRTB fieldData typeNecessityDescription
formatOBJECT ARRAYRECOMMENDEDAn array of format objects (section 3.2.10 in the OpenRTB specification) representing the banner sizes permitted. If none are specified, then use of the h and w fields is highly recommended.
wINTEGEROPTIONALThe width of the impression in pixels. For each size in the format array, an impression object is created. If the format array is empty, the w/h fields are used to create an impression object.
hINTEGEROPTIONALThe height of the impression in pixels. For each size in the format array, an impression object is created. If the format array is empty, the w/h fields are used to create an impression object.
posINTEGEROPTIONALThe ad position (possible values in section 5.4 in the OpenRTB specification).
apiINTEGER ARRAY  RECOMMENDED  A list of supported API frameworks for the given impression. If an API is not explicitly listed, it is assumed not to be supported.

Video object

OpenRTB fieldData typeNecessityDescription
mimesSTRING ARRAYREQUIREDThe supported content MIME types. Popular MIME types:
  • video/x-ms-wmv for Windows Media
  • video/x-flv for Flash Video
linearityINTEGEROPTIONALA field indicating if the ad impression is linear or non-linear.
mindurationINTEGERRECOMMENDEDThe minimum video ad duration in seconds.
maxdurationINTEGERRECOMMENDEDThe maximum video ad duration in seconds.
wINTEGERRECOMMENDEDThe width of the player in pixels; strongly recommended.
hINTEGERRECOMMENDEDThe height of the player in pixels; strongly recommended.
placementINTEGERREQUIREDThe placement type for the impression (In-Stream, In-Banner, In-Article, In-Feed, Interstitial/Slider/Floating).
plcmtINTEGERREQUIREDThe placement type for the impression. Refer to Plcmt Subtypes - Video in the AdCOM 1.0 specification.
skipINTEGERRECOMMENDEDA field indicating if the player will allow the video to be skipped.
  • 1 - skipping is allowed
  • 0 - skipping is not allowed
startdelayINTEGERRECOMMENDEDA field indicating the start delay in seconds for preroll, midroll or postroll ad placement.
posINTEGEROPTIONALThe ad position.
playbackmethodINTEGEROPTIONALThe playback methods that may be in use. If none are specified, any method may be used. In practice, only the first method is used.
battrINTEGER ARRAYOPTIONALThe blocked creative attributes. If blank, it is assumed that all types are allowed.
apiINTEGER ARRAYOPTIONALA list of supported API frameworks for the given impression. If an API is not explicitly listed, it is assumed not to be supported.
ext.rewardedINTEGEROPTIONALA custom field for rewarded videos used prior to OpenRTB 2.6. This field is obsolete - using imp.rwdd (as specified in OpenRTB 2.6) instead is strongly recommended.

Audio object

If a demand partner of Equativ is not capable of reading an audio object, the audio object will be converted into a video object with audio mime types.
OpenRTB fieldData typeNecessityDescription
mimesSTRING ARRAYREQUIREDThe supported content MIME types (e.g. “audio/mp4”).
mindurationINTEGERRECOMMENDEDThe minimum audio ad duration in seconds.
maxdurationINTEGERRECOMMENDEDThe maximum audio ad duration in seconds.
protocolsINTEGER ARRAYRECOMMENDEDAn array of supported audio protocols.
startdelayINTEGERRECOMMENDEDA field indicating the start delay in seconds for pre-roll, mid-roll or post-roll ad placements.
maxextendedINTEGEROPTIONALThe maximum extended ad duration if extension is allowed.
  • -1 - the extension is allowed and there is no time limit imposed
  • 0 or blank - the extension is not allowed
  • > 0 - the value represents the number of seconds of extended play supported beyond the maxduration value
minbitrateINTEGEROPTIONALThe minimum bit rate in Kbps.
maxbitrateINTEGEROPTIONALThe maximum bit rate in Kbps.
deliveryINTEGER ARRAYOPTIONALThe supported delivery methods (e.g. streaming, progressive). If none are specified, support of all delivery methods is assumed.
apiINTEGER ARRAYOPTIONALA list of supported API frameworks for the given impression. If an API is not explicitly listed, it is assumed not to be supported.

Native object

Equativ supports the OpenRTB Dynamic Native Ads API Specification v 1.2 and strongly recommends compliance with this specification.
Native requests and creatives are both serialized as strings (See Native bid request sample / Native bid response sample here).
To reach maximum demand, compatibility with the main campaign types used by the main native demand DSPs is strongly recommended.
For native display campaigns, min. 4 assets should be supported:
  1. main image (img)
  2. title or description (title or data)
  3. icon or CTA (img or data)
  4. sponsored (data)
For native display app install campaigns, min. 6 assets should be supported:
  1. main image or icon (image or data)
  2. title
  3. description (data)
  4. CTA (data)
  5. price and/or rating (data and/or data)
  6. sponsored (data)
The following fields (all requiring Native Ads v 1.2) are required for all campaign types in addition to the asset/elements mentioned above:
  • native.privacy (privacy field)
  • plcmttype (placement type)
  • native.eventtrackers requiring support for at least
    • event = 1 (impression) and method = 1 (img) - and
    • event = 1 (impression) and method = 2 (js)
The field context is recommended.
As stated in Native Ads v 1.2, it is strongly recommended to use minimum values for the width/height (wmin/hmin) of image assets (e.g. for main image, asset type 3), as demand campaigns may use the same ratio but higher resolution assets and may not bid on fixed measurements (w/h) that would otherwise be compatible. This and other required/recommended elements above may cumulatively impact the majority of monetization.
Native video is not supported at this time.

Publisher object

OpenRTB fieldData typeNecessityDescription
idINTEGERREQUIREDThe publisher ID on the exchange; ⚠️ must be the Network ID of the account at Equativ. See "Authentication" here for an alternative method to pass the Network ID.

Format object

OpenRTB fieldData typeNecessityDescription
wINTEGERREQUIREDThe width in device independent pixels (DIPS).
hINTEGERREQUIREDThe height in device independent pixels (DIPS).

Content object

OpenRTB fieldData typeNecessityDescription
idSTRINGOPTIONALAn ID uniquely identifying the content.
episodeINTEGEROPTIONALThe episode number.
titleSTRINGOPTIONALThe content title.
Video examples: “Search Committee” (television), “A New
Hope” (movie), or “Endgame” (made for web).
Non-video example: “Why an Antarctic Glacier Is Melting So
Quickly” (Time magazine article).
seriesSTRINGOPTIONALA content series.
Video examples: “The Office” (television), “Star Wars” (movie),
or “Arby ‘N’ The Chief” (made for web).
Non-video Example: “Ecocentric” (Time Magazine blog).
seasonSTRINGOPTIONALThe content season (e.g.: “Season 3”).
artistSTRINGOPTIONALThe artist credited with the content.
genreSTRINGOPTIONALThe genre that best describes the content (e.g., rock, pop, etc).
albumSTRINGOPTIONALThe album the content belongs; typically for audio.
isrSTRINGOPTIONALThe International Standard Recording Code conforming to ISO3901.
urlSTRINGOPTIONALThe URL of the content, for buy-side contextualization or review.
catSTRING ARRAYOPTIONALAn array of IAB content categories that describe the content producer.
prodqINTEGEROPTIONALThe production quality.
contextINTEGEROPTIONALThe type of content (game, video, text, etc.).
contentratingSTRINGOPTIONALThe content rating (e.g.: MPAA).
userratingSTRINGOPTIONALThe user rating of the content (e.g.: number of stars, likes, etc.).
qagmediaratingINTEGEROPTIONALThe media rating per IQG guidelines.
keywordsSTRINGOPTIONALA comma-separated list of keywords describing the content.
livestreamINTEGER  OPTIONALA field indicating if the given content is live content.
  • 1 - content is live (e.g.: stream, live blog)
  • 0 - content is not live
sourcerelationshipINTEGER  OPTIONALThe relationship to the content source.
  • 1 - relation is direct
  • 0 - relation is indirect
lenINTEGER  OPTIONALThe length of the content in seconds; appropriate for video or audio.
languageSTRINGOPTIONALThe content language using ISO-639-1-alpha-2.
embeddableINTEGER  OPTIONALA field indicating if the content is embeddable (e.g.: an embeddable video player).
  • 1 - content is embeddable
  • 0 - content is not embeddable
dataOBJECT ARRAYOPTIONALAdditional content data. Each Data object represents a different data source.
cattaxINTEGER  OPTIONAL  The taxonomy in use. Default is 1.
kwarraySTRING ARRAY  OPTIONAL  A comma separated list of keywords describing the content. Only one of keywords or kwarray may be present.
langbSTRING  OPTIONAL  The content language using IETF BCP 47. Only one of language or langb may be present.
networkOBJECT  OPTIONAL  The network of the content in which the ad will be shown.
channelOBJECT  OPTIONALThe channel of the content in which the ad will be shown.
producerOBJECT  OPTIONAL  The producer of the content in which the ad will be shown.

Data object

OpenRTB fieldData typeNecessityDescription
idSTRINGOPTIONALAn exchange-specific ID for the data provider.
nameSTRINGOPTIONALAn exchange-specific name for the data provider.
segmentOBJECT ARRAYOPTIONALAn array of Segment objects that contain the actual data values.

Segment object

OpenRTB fieldData typeNecessityDescription
idSTRINGOPTIONALThe ID of the data segment specific to the data provider.
nameSTRINGOPTIONALThe name of the data segment specific to the data provider.
valueSTRINGOPTIONALThe string representation of the data segment value.

Producer object

OpenRTB fieldData typeNecessityDescription
idSTRING  OPTIONAL  The content producer or originator ID. Useful if content is syndicated and may be posted on a site using embed tags.
nameSTRINGOPTIONAL  The ID of the bidder seat on whose behalf this bid is made.
cattxINTEGER  OPTIONAL  The taxonomy in use. Default is 1.
catSTRING ARRAY  OPTIONAL  An array of IAB content categories that describe the content producer.
domainSTRING  OPTIONAL  The highest level domain of the content producer (e.g. “producer.com”).
extOBJECT  OPTIONAL  A placeholder for exchange-specific extensions to OpenRTB.

Channel object

OpenRTB fieldData typeDescription
idSTRING  A unique identifier assigned by the publisher. This may not be a unique identifier across all supply sources.
nameSTRINGThe channel the content is on (e.g. a local channel like “WABC-TV").
domainSTRING  The primary domain of the channel (e.g. "https://abc7ny.com" in case of the local channel WABC-TV). It is recommended to include the top private domain (PSL+1) for DSP targeting normalization purposes.
extOBJECT  A placeholder for exchange-specific extensions to OpenRTB.

Network object

OpenRTB fieldData typeDescription
idSTRING  A unique identifier assigned by the publisher. This may not be a unique identifier across all supply sources.
nameSTRINGThe network the content is on (e.g. a TV network like “ABC").
domainSTRING  The primary domain of the network (e.g. “abc.com” in case of the network ABC). It is recommended to include the top private domain (PSL+1) for DSP targeting normalization purposes.
extOBJECT  A placeholder for exchange-specific extensions to OpenRTB.

Powered by