Adform OpenRTB Handler: Bid Request Specifications

Greta
Greta
  • Updated

Object: BidRequest

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

gdpr

int

Flag that indicates whether or not the request is subject to GDPR regulations 0 = No, 1 = Yes, omission indicates unknown.

yes

request.regs.ext.gdpr  – To support GDPR

gpp

string

Contains the Global Privacy Platform’s consent string.

yes

request.regs.gpp - To support GPP

gpp_sid

integer

Array of the sections of the string which should be applied for this transaction. Generally will contain only one value, but there are cases where more than one may apply. GPP Section 3 (Header) and 4 (Signal Integrity) do not need to be included.

yes

request.regs.gpp_sid – to pass the used GPP Section ID

id

string; required

Unique ID of the bid request, provided by the exchange.

yes

imp

object array; required

Array of Imp objects representing the impressions offered.  At least 1 Imp object is required.

yes

site

object; recommended

Details via a Site object about the publisher’s website.  Only applicable and recommended for websites.

yes

app

object; recommended

Details via an App object about the publisher’s app (i.e., non-browser applications).  Only applicable and recommended for apps.

yes

device

object; recommended

Details via a Device object about the user’s device to which the impression will be delivered.

yes

user

object; recommended

Details via a User object about the human user of the device; the advertising audience.

yes

test

integer; default 0

Indicator of test mode in which auctions are not billable, where 0 = live mode, 1 = test mode.

yes

at

integer; default 2

Auction type, where 1 = First Price, 2 = Second Price Plus. Exchange-specific auction types can be defined using values greater than 500.

yes

tmax

integer

Maximum time in milliseconds the exchange allows for bids to be received including Internet latency to avoid timeout.  This value supersedes any a priori guidance from the exchange.

yes

wseat

string array

White list of buyer seats (e.g., advertisers, agencies) allowed to bid on this impression.  IDs of seats and knowledge of the buyer’s customers to which they refer must be coordinated between bidders and the exchange a priori.  At most, only one of wseat and bseat should be used in the same request. Omission of both implies no seat restrictions.

no

bseat

string array

Block list of buyer seats (e.g., advertisers, agencies) restricted from bidding on this impression.  IDs of seats and knowledge of the buyer’s customers to which they refer must be coordinated between bidders and the exchange a priori.  At most, only one of wseat and bseat should be used in the same request.  Omission of both implies no seat restrictions.

no

allimps

integer; default 0

Flag to indicate if Exchange can verify that the impressions offered represent all of the impressions available in context (e.g., all on the web page, all video spots such as pre/mid/post roll) to support road-blocking.  0 = no or unknown, 1 = yes, the impressions offered represent all that are available.

no

cur

string array

Array of allowed currencies for bids on this bid request using ISO-4217 alpha codes.  Recommended only if the exchange accepts multiple currencies.

yes

Only first value of the array is read. If does not exist, then default value (USD) is set.

wlang

string array

White list of languages for creatives using ISO-639-1-alpha-2. Omission implies no specific restrictions, but buyers would be advised to consider language attribute in the Device and/or Content objects if available.

no

bcat

string array

Blocked advertiser categories using the IAB content categories.

no

badv

string array

Block list of advertisers by their domains (e.g., “ford.com”).

no

bapp

string array

Block list of applications by their platform-specific exchange- independent application identifiers.  On Android, these should be bundle or package names (e.g., com.foo.mygame).  On iOS, these are numeric IDs.

no

source

object

A Sorce object that provides data about the inventory source and which entity makes the final Comment.

yes

regs

object

A Regs object that specifies any industry, legal, or governmental regulations in force for this request.

yes

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

yes

Object: Ext

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

pt

string

Price type.

yes

Default value is net.

Object: Source

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

fd

Integer; recommended

Entity responsible for the final impression sale Comment, where 0 = exchange, 1 = upstream source.

yes

tid

string; recommended

Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges).

yes

pchain

string; recommended

Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

yes

Object: Source.ext

Attribute

Type

OpentRTB Description

Supported by Adform

Comment

schain

object

This object represents both the links in the supply chain as well as an indicator whether or not the supply chain is complete.

yes

Pass the SupplyChain Object with complete value, nodes, and mandatory fields. See the examples: https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/supplychainobject.md#single-hop---chain-complete-optional-fields-missing

Object: Regs

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

coppa

integer

Flag indicating if this request is subject to the COPPA regulations established by the USA FTC, where 0 = no, 1 = yes.

yes

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

yes

Object: Regs.Ext

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

gdpr

integer

yes

request.regs.ext.gdpr  – To support GDPR

dsa

object

Extension for DSA Transparency Information

yes

gpc

string

Global Privacy Control (GPC) signal

yes

Object: Regs.Ext.Dsa

Attribute

Type

OpenRTB Desciption

Supported by Adform

Comment

dsarequired

integer

Flag to indicate if DSA information should be made available.

yes

This will signal if the bid request belongs to an Online Platform/VLOP, such that a buyer should respond with DSA Transparency information based on the pubrender value.

0 = Not required.

1 = Supported, bid responses with or without DSA object will be accepted.

2 = Required, bid responses without DSA object won't be accepted.

3 = Required, bid responses without DSA object won't be accepted, Publisher is an Online Platform.

pubrender

integer

Flag to indicate if the publisher will render the DSA Transparency info.

yes

This will signal if the publisher is able to and intends to render an icon or other appropriate user-facing symbol and display the DSA transparency info to the end user.

0 = Publisher can't render

1 = Publisher could render depending on adrender

2 = Publisher will render

datatopub

integer

Independent of pubrender, the publisher may need the transparency data for audit purposes.

yes

0 = do not send transparency data

1 = optional to send transparency data

2 = send transparency data

transparency

array of object

Array of objects of the entities that applied user parameters and the parameters they applied.

yes

Object: Regs.Ext.Dsa.Transparency

Attribute

Type

OpenRTB Description

Supported by Adform

Comment

domain

string

Domain of the entity that applied user parameters

yes

dsaparams

array of integer

Array for platform or sell-side use of any user parameters

yes

1 = Profiling. Information about the user, collected and used across contexts, that is about the user's activity, interests, demographic information, or other characteristics.

2 = Basic Advertising. Use of real-time information about the context in which the ad will be shown, to show the ad, including information about the content and the device, such as: device type and capabilities, user agent, URL, IP address, non-precise geolocation data.

3 = Precise geolocation. The precise real-time geolocation of the user, for example, GPS coordinates within 500-meter radius precision.

Object: Imp

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

id

string; required

A unique identifier for this impression within the context of the bid request (typically, starts with 1 and increments.

yes

metric

object array

An array of Metric object.

no

banner

object

A Banner object; required if this impression is offered as a banner ad opportunity.

yes

video

object

A Video object; required if this impression is offered as a video ad opportunity.

yes

audio

object

An Audio object; required if this impression is offered as an audio ad opportunity.

no

native

object

A Native object; required if this impression is offered as a native ad opportunity.

yes

pmp

object

A Pmp object containing any private marketplace deals in effect for this impression.

yes

displaymanager

string

Name of ad mediation partner, SDK technology, or player responsible for rendering ad (typically video or mobile).  Used by some ad servers to customize ad code by partner. Recommended for video and/or apps.

no

displaymanagerver

string

Version of ad mediation partner, SDK technology, or player responsible for rendering ad (typically video or mobile).  Used by some ad servers to customize ad code by partner. Recommended for video and/or apps.

no

instl

integer; default 0

1 = the ad is interstitial or full screen, 0 = not interstitial.

yes

tagid

string

Identifier for specific ad placement or ad tag that was used to initiate the auction.  This can be useful for debugging of any issues, or for optimization by the buyer.

yes

bidfloor

float; default 0

Minimum bid for this impression expressed in CPM.

yes

bidfloorcur

string; default “USD”

Currency specified using ISO-4217 alpha codes.  This may be different from bid currency returned by bidder if this is allowed by the exchange.

yes

clickbrowser

integer

Indicates the type of browser opened upon clicking the creative in an app, where 0 = embedded, 1 = native.  Note that the Safari View Controller in iOS 9.x devices is considered a native browser for purposes of this attribute.

no

secure

integer

Flag to indicate if the impression requires secure HTTPS URL creative assets and markup, where 0 = non-secure, 1 = secure. If omitted, the secure state is unknown, but non-secure HTTP support can be assumed.

no

Value is taken from request header.

iframebuster

string array

Array of exchange-specific names of supported iframe busters.

no

exp

integer

Advisory as to the number of seconds that may elapse between the auction and the actual impression.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Object: Metric

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

type

string; required

Type of metric being presented using exchange curated string names which should be published to bidders a priori.

no

value

float; required

Number representing the value of the metric.  Probabilities must be in the range 0.0 – 1.0.

no

vendor

string; recommended

Source of the value using exchange curated string names which should be published to bidders a priori.  If the exchange itself is the source versus a third party, “EXCHANGE” is recommended.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Object: Banner

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

format

object array; recommended

Array of format objects representing the banner sizes permitted.  If none are specified, then use of the h and w attributes is highly recommended.

yes

w

integer

Exact width in device independent pixels (DIPS); recommended if no format objects are specified.

yes

h

integer

Exact height in device independent pixels (DIPS); recommended if no format objects are specified.

yes

wmax

integer; DEPRECATED

NOTE:  Deprecated in favor of the format array. Maximum width in device independent pixels (DIPS).

no

hmax

integer; DEPRECATED

NOTE:  Deprecated in favor of the format array. Maximum height in device independent pixels (DIPS).

no

wmin

integer; DEPRECATED

NOTE:  Deprecated in favor of the format array. Minimum width in device independent pixels (DIPS).

no

hmin

integer; DEPRECATED

NOTE:  Deprecated in favor of the format array. Minimum height in device independent pixels (DIPS).

no

btype

integer array

Blocked banner ad types. 

no

battr

integer array

Blocked creative attributes. 

no

pos

integer

Ad position on screen. 

yes

mimes

string array

Content MIME types supported. Popular MIME types may include “image/jpg” and “image/gif”.

no

topframe

integer

Indicates if the banner is in the top frame as opposed to an iframe, where 0 = no, 1 = yes.

no

expdir

integer array

Directions in which the banner may expand. 

no

api

integer array

List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.

no

id

string

Unique identifier for this banner object. Recommended when Banner objects are used with a Video object to represent an array of companion ads. Values usually start at 1 and increase with each object; should be unique within an impression.

no

vcm

integer

Relevant only for Banner objects used with a Video object in an array of companion ads.  Indicates the companion banner rendering mode relative to the associated video, where 0 = concurrent, 1 = end-card.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Object: Video

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

mimes

string array; required

Content MIME types supported (e.g., “video/x-ms-wmv”, “video/mp4”).

no*

Value is taken from UI configuration.

minduration

integer; recommended

Minimum video ad duration in seconds.

no*

Value is taken from UI configuration.

maxduration

integer; recommended

Maximum video ad duration in seconds.

no*

Value is taken from UI configuration.

protocols

integer array; recommended

Array of supported video protocols. At least one supported protocol must be specified in either the protocol or protocols attribute.

no*

Value is taken from UI configuration.

protocol

integer; DEPRECATED

NOTE:  Deprecated in favor of protocols. Supported video protocol. At least one supported protocol must be specified in either the protocol or protocols attribute.

no

w

integer; recommended

Width of the video player in device independent pixels (DIPS).

yes

Value is taken from UI configuration.

h

integer; recommended

Height of the video player in device independent pixels (DIPS).

yes

Value is taken from UI configuration.

startdelay

integer; recommended

Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.

no*

Value is taken from UI configuration.

placement

integer

Placement type for the impression. 

no*

Value is taken from UI configuration.

linearity

integer

Indicates if the impression must be linear, nonlinear, etc.  If none specified, assume all are allowed. 

no*

Default value is 1.

skip

integer

Indicates if the player will allow the video to be skipped, where 0 = no, 1 = yes. If a bidder sends markup/creative that is itself skippable, the Bid object should include the attr array with an element of 16 indicating skippable video. 

no*

Value is taken from UI configuration.

skipmin

integer; default 0

Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.

no

skipafter

integer; default 0

Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.

no

sequence

integer

If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.

no

battr

integer array

Blocked creative attributes. 

no

maxextended

integer

Maximum extended ad duration if extension is allowed.  If blank or 0, extension is not allowed.  If -1, extension is allowed, and there is no time limit imposed.  If greater than 0, then the value represents the number of seconds of extended play supported beyond the maxduration value.

no*

Default value is 0.

minbitrate

integer

Minimum bit rate in Kbps.

no*

Value is taken from UI configuration.

maxbitrate

integer

Maximum bit rate in Kbps.

no*

Value is taken from UI configuration.

boxingallowed

integer; default 1

Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed, where 0 = no, 1 = yes.

no

playbackmethod

integer array

Playback methods that may be in use.  If none are specified, any method may be used.  Only one method is typically used in practice.  As a result, this array may be converted to an integer in a future version of the specification.  It is strongly advised to use only the first element of this array in preparation for this change.

no

playbackend

integer

The event that causes playback to end. 

no

delivery

integer array

Supported delivery methods (e.g., streaming, progressive).  If none specified, assume all are supported. 

no

pos

integer

Ad position on screen. 

yes

companionad

object array

Array of Banner objects if companion ads are available.

no

api

integer array

List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.

no

Value is taken from UI configuration.

companiontype

integer array

Supported VAST companion ad types. Recommended if companion Banner objects are included via the companionad array.  If one of these banners will be rendered as an end-card, this can be specified using the vcm attribute with the particular banner.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Object: Audio

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

mimes

string array; required

Content MIME types supported (e.g., “audio/mp4”).

no

minduration

integer; recommended

Minimum audio ad duration in seconds.

no

maxduration

integer; recommended

Maximum audio ad duration in seconds.

no

protocols

integer array; recommended

Array of supported audio protocols. 

no

startdelay

integer; recommended

Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements. 

no

sequence

integer

If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.

no

battr

integer array

Blocked creative attributes. 

no

maxextended

integer

Maximum extended ad duration if extension is allowed.  If blank or 0, extension is not allowed.  If -1, extension is allowed, and there is no time limit imposed.  If greater than 0, then the value represents the number of seconds of extended play supported beyond the maxduration value.

no

minbitrate

integer

Minimum bit rate in Kbps.

no

maxbitrate

integer

Maximum bit rate in Kbps.

no

delivery

integer array

Supported delivery methods (e.g., streaming, progressive).  If none specified, assume all are supported.

no

companionad

object array

Array of Banner objects if companion ads are available.

no

api

integer array

List of supported API frameworks for this impression.  If an API is not explicitly listed, it is assumed not to be supported.

no

companiontype

integer array

Supported DAAST companion ad types. Recommended if companion Banner objects are included via the companionad array.

no

maxseq

integer

The maximum number of ads that can be played in an ad pod.

no

feed

integer

Type of audio feed. 

no

stitched

integer

Indicates if the ad is stitched with audio content or delivered independently, where 0 = no, 1 = yes.

no

nvol

integer

Volume normalization mode. 

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Adform OpenRTB Handler: Bid Request Specifications (part 2)

Object: Native

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

request

string; required

Request payload complying with the Native Ad Specification.

yes

ver

string; recommended

Version of the Dynamic Native Ads API to which request complies; highly recommended for efficient parsing.

yes

api

integer array

List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.

no

battr

integer array

Blocked creative attributes. 

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Object: Format

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

w

integer

Width in device independent pixels (DIPS).

yes

h

integer

Height in device independent pixels (DIPS).

yes

wratio

integer

Relative width when expressing size as a ratio.

no

hratio

integer

Relative height when expressing size as a ratio.

no

wmin

integer

The minimum width in device independent pixels (DIPS) at which the ad will be displayed the size is expressed as a ratio.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Object: Pmp

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

private_auction

integer; default 0

Indicator of auction eligibility to seats named in the Direct Deals object, where 0 = all bids are accepted, 1 = bids are restricted to the deals specified and the terms thereof.

no*

Value is taken from UI configuration.

deals

object array

Array of Deal objects that convey the specific deals applicable to this impression.

no*

Value is taken from UI configuration.

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

Object: Deal

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

id

string; required

A unique identifier for the direct deal.

no*

Value is taken from UI configuration.

bidfloor

float; default 0

Minimum bid for this impression expressed in CPM.

no*

Value is taken from UI configuration.

bidfloorcur

string; default ”USD”

Currency specified using ISO-4217 alpha codes.  This may be different from bid currency returned by bidder if this is allowed by the exchange.

no

at

integer

Optional override of the overall auction type of the bid request, where 1 = First Price, 2 = Second Price Plus, 3 = the value passed in bidfloor is the agreed upon deal price. Additional auction types can be defined by the exchange.

no*

Value is taken from UI configuration.

wseat

string array

Whitelist of buyer seats (e.g., advertisers, agencies) allowed to bid on this deal.  IDs of seats and the buyer’s customers to which they refer must be coordinated between bidders and the exchange a priori.  Omission implies no seat restrictions.

no

wadomain

string array

Array of advertiser domains (e.g., advertiser.com) allowed to bid on this deal.  Omission implies no advertiser restrictions.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Object: Site

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

id

string; recommended

Exchange-specific site ID.

yes

name

string

Site name (may be aliased at the publisher’s request).

no

domain

string

Domain of the site (e.g., “mysite.foo.com”).

yes

cat

string array

Array of IAB content categories of the site.

no

sectioncat

string array

Array of IAB content categories that describe the current section of the site.

no

pagecat

string array

Array of IAB content categories that describe the current page or view of the site. 

no

page

string

URL of the page where the impression will be shown.

yes

ref

string

Referrer URL that caused navigation to the current page.

no*

Value is taken from request header.

search

string

Search string that caused navigation to the current page.

no

mobile

integer

Indicates if the site has been programmed to optimize layout when viewed on mobile devices, where 0 = no, 1 = yes.

yes

privacypolicy

integer

Indicates if the site has a privacy policy, where 0 = no, 1 = yes.

no

publisher

object

Details about the Publisher of the site.

yes

content

object

Details about the Content within the site.

no

keywords

string

Comma separated list of keywords about the site.

yes

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

yes

request.site.ext.amp – To identify AMP as the request source

request.site.ext.data – To add site specific key-values

Object: App

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

id

string; recommended

Exchange-specific app ID.

no

name

string

App name (may be aliased at the publisher’s request).

yes

bundle

string

A platform-specific application identifier intended to be unique to the app and independent of the exchange.  On Android, this should be a bundle or package name (e.g., com.foo.mygame).  On iOS, it is typically a numeric ID.

yes

domain

string

Domain of the app (e.g., “mygame.foo.com”).

yes

storeurl

string

App store URL for an installed app; for IQG 2.1 compliance.

yes

cat

string array

Array of IAB content categories of the app.

no

sectioncat

string array

Array of IAB content categories that describe the current section of the app.

no

pagecat

string array

Array of IAB content categories that describe the current page or view of the app. 

no

ver

string

Application version.

yes

privacypolicy

integer

Indicates if the app has a privacy policy, where 0 = no, 1 = yes.

no

paid

integer

0 = app is free, 1 = the app is a paid version.

no

publisher

object

Details about the Publisher of the app.

no

content

object

Details about the Content within the app.

no

keywords

string

Comma separated list of keywords about the app.

yes

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

yes

request.app.ext.data – To add site specific key-values

Object: Publisher

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

id

string

Exchange-specific publisher ID.

no

name

string

Publisher name (may be aliased at the publisher’s request).

no

cat

string array

Array of IAB content categories that describe the publisher.

no

domain

string

Highest level domain of the publisher (e.g., “publisher.com”).

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

Object: Content

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

id

string

ID uniquely identifying the content.

episode

integer

Episode number.

title

string

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).

series

string

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).

season

string

Content season (e.g., “Season 3”).

artist

string

Artist credited with the content.

genre

string

Genre that best describes the content (e.g., rock, pop, etc).

album

string

Album to which the content belongs; typically for audio.

isrc

string

International Standard Recording Code conforming to ISO- 3901.

producer

object

Details about the content Producer.

url

string

URL of the content, for buy-side contextualization or review.

cat

string array

Array of IAB content categories that describe the content producer. 

prodq

integer

Production quality.

videoquality

integer; DEPRECATED

Note:  Deprecated in favor of prodq. Video quality.

context

integer

Type of content (game, video, text, etc.).

contentrating

string

Content rating (e.g., MPAA).

userrating

string

User rating of the content (e.g., number of stars, likes, etc.).

qagmediarating

integer

Media rating per IQG guidelines.

keywords

string

Comma separated list of keywords describing the content.

livestream

integer

0 = not live, 1 = content is live (e.g., stream, live blog).

sourcerelationship

integer

0 = indirect, 1 = direct.

len

integer

Length of content in seconds; appropriate for video or audio.

language

string

Content language using ISO-639-1-alpha-2.

embeddable

integer

Indicator of whether or not the content is embeddable (e.g., an embeddable video player), where 0 = no, 1 = yes.

data

object array

Additional content data.  Each Data object represents a different data source.

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

Object: Producer

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

id

string

Content producer or originator ID.  Useful if content is syndicated and may be posted on a site using embed tags.

name

string

Content producer or originator name (e.g., “Warner Bros”).

cat

string array

Array of IAB content categories that describe the content producer. 

domain

string

Highest level domain of the content producer (e.g., “producer.com”).

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

Object: Device

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

ua

string; recommended

Browser user agent string.

yes

geo

object; recommended

Location of the device assumed to be the user’s current location defined by a Geo object.

yes

dnt

integer; recommended

Standard “Do Not Track” flag as set in the header by the browser, where 0 = tracking is unrestricted, 1 = do not track.

no

lmt

integer; recommended

“Limit Ad Tracking” signal commercially endorsed (for example, iOS, Android), where 0 = tracking is unrestricted, 1 = tracking must be limited per commercial guidelines.

yes

ip

string; recommended

IPv4 address closest to device.

yes

ipv6

string

IP address closest to device as IPv6.

no

devicetype

integer

The general type of device. 

no

make

string

Device make (for example, “Apple”).

no

model

string

Device model (for example, “iPhone”).

no

os

string

Device operating system (for example, “iOS”).

no

osv

string

Device operating system version (for example, “3.1.2”).

no

hwv

string

Hardware version of the device (for example., “5S” for iPhone 5S).

no

h

integer

Physical height of the screen in pixels.

no

w

integer

Physical width of the screen in pixels.

no

ppi

integer

Screen size as pixels per linear inch.

no

pxratio

float

The ratio of physical pixels to device independent pixels.

no

js

integer

Support for JavaScript, where 0 = no, 1 = yes.

no

geofetch

integer

Indicates if the geolocation API will be available to JavaScript code running in the banner, where 0 = no, 1 = yes.

no

flashver

string

Version of Flash supported by the browser.

Note

Flash is no longer supported.

no

language

string

Browser language using ISO-639-1-alpha-2.

yes

carrier

string

Carrier or ISP (for example, “VERIZON”) using exchange curated string names which should be published to bidders a priori.

no

mccmnc

string

Mobile carrier as the concatenated MCC-MNC code (for example, “310-005” identifies Verizon Wireless CDMA in the USA). Note that the dash between the MCC and MNC parts is required to remove parsing ambiguity.

no

connectiontype

integer

Network connection type. 

no

ifa

string

ID sanctioned for advertiser use in the clear (i.e., not hashed).

yes

didsha1

string

Hardware device ID (for example, IMEI); hashed via SHA1.

no

didmd5

string

Hardware device ID (for example, IMEI); hashed via MD5.

no

dpidsha1

string

Platform device ID (for example, Android ID); hashed via SHA1.

no

dpidmd5

string

Platform device ID (for example, Android ID); hashed via MD5.

no

macsha1

string

MAC address of the device; hashed via SHA1.

no

macmd5

string

MAC address of the device; hashed via MD5.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Object: Geo

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

lat

float

Latitude from -90.0 to +90.0, where negative is south.

yes

lon

float

Longitude from -180.0 to +180.0, where negative is west.

yes

type

integer

Source of location data; recommended when passing lat/lon. 

no

accuracy

integer

Estimated location accuracy in meters; recommended when lat/lon are specified and derived from a device’s location services (i.e., type = 1).  Note that this is the accuracy as reported from the device.  Consult OS specific documentation (e.g., Android, iOS) for exact interpretation.

no

lastfix

integer

Number of seconds since this geolocation fix was established. Note that devices may cache location data across multiple fetches.  Ideally, this value should be from the time the actual fix was taken.

no

ipservice

integer

Service or provider used to determine geolocation from IP address if applicable (i.e., type = 2). 

no

country

string

Country code using ISO-3166-1-alpha-3.

no

Data taken from IP address.

region

string

Region code using ISO-3166-2; 2-letter state code if USA.

no

Data taken from IP address.

regionfips104

string

Region of a country using FIPS 10-4 notation.  While OpenRTB supports this attribute, it has been withdrawn by NIST in 2008.

no

metro

string

Google metro code; similar to but not exactly Nielsen DMAs. See Appendix A for a link to the codes.

no

city

string

City using United Nations Code for Trade & Transport Locations.  See Appendix A for a link to the codes.

no

zip

string

Zip or postal code.

no

Data taken from IP address.

utcoffset

integer

Local time as the number +/- of minutes from UTC.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Object: User

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

id

string; recommended

Exchange-specific ID for the user.  At least one of id or buyeruid is recommended.

no

buyeruid

string; recommended

Buyer-specific ID for the user as mapped by the exchange for the buyer.  At least one of buyeruid or id is recommended.

yes

yob

integer

Year of birth as a 4-digit integer.

no

gender

string

Gender, where “M” = male, “F” = female, “O” = known to be other (i.e., omitted is unknown).

no

keywords

string

Comma separated list of keywords, interests, or intent.

Yes

customdata

string

Optional feature to pass bidder data that was set in the exchange’s cookie.  The string must be in base85 cookie safe characters and be in any format.  Proper JSON encoding must be used to include “escaped” quotation marks.

no

geo

object

Location of the user’s home base defined by a Geo object.  This is not necessarily their current location.

no

data

object array

Additional user data.  Each Data object represents a different data source.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

yes

  • Consent:

"user": { "ext": { "consent": "" } },

  • Digitrust:

"user": { "ext": { "digitrust": { "id": "m8w8K+9kmkg=" }

}

}

  • User IDs:

"user": {     "eids": [ { "source": "x-device-vendor-x.com", "uids": [ { "id": "yyy", "atype": 1 }, { "id": "zzz", "atype": 1 }, { "id": "DB700403-9A24-4A4B-A8D5-8A0B4BE777D2", "atype": 2 } ] } ] }

  • Key values:

"user": {

"ext": {

"data": {

"key": "value"

}

}

},

Object: Data

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

id

string

Exchange-specific ID for the data provider.

no

name

string

Exchange-specific name for the data provider.

no

segment

object array

Array of Segment objects that contain the actual data values.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Object: Segment

Attribute

Type

OpenRTB Description

Supported by Adform?

Comment

id

string

ID of the data segment specific to the data provider.

no

name

string

Name of the data segment specific to the data provider.

no

value

string

String representation of the data segment value.

no

ext

object

Placeholder for exchange-specific extensions to OpenRTB.

no

Was this article helpful?

/
How we can make it better?

Thank you for your feedback!