Bid Request
OpenRTB 2.x Bid Request
The top-level bid request object contains a globally unique bid request or auction ID. This id attribute is required as is at least one impression object. Other attributes in this top-level object establish rules and restrictions that apply to all impressions being offered.
Attributes
- allimps:
int32 | null≥ 0 Flag to indicate if Exchange can verify that the impressions offered represent all of the impressions available in context. - app:
object | nullThis object should be included if the ad supported content is a non-browser application. - at:
int64 | nullAuction type, where 1 = First Price, 2 = Second Price Plus. - badv:
array of strings | nullBlock list of advertisers by their domains. - bapp:
array of strings | nullBlock list of applications by their platform-specific identifiers. - bcat:
array of strings | nullBlocked advertiser categories using the IAB content categories. - bseat:
array of strings | nullBlock list of buyer seats restricted from bidding on this impression. - curr:
array of strings | nullArray of allowed currencies for bids using ISO-4217 alpha codes. - device:
object | nullProvides information about the device through which the user is interacting. - ext:
object | nullPlaceholder for extensions to OpenRTB. - id:
string(required) Unique ID of the bid request, provided by the exchange. - imp:
array of objects(required) Array of Imp objects representing the impressions offered. - regs:
object | nullRegulations related to the bid. - site:
object | nullThis object should be included if the ad supported content is a website. - source:
object | nullInformation about the source of the bid request. - test:
int64 | nullIndicator of test mode. - tmax:
int64 | nullMaximum time in milliseconds for bids to be received. - user:
object | nullInformation about the human user of the device. - wlang:
array of strings | nullWhite list of languages for creatives. - wseat:
array of strings | nullWhite list of buyer seats allowed to bid on this impression.
Bid Response
The bid response object is the unnamed outer JSON object. The id attribute reflects the bid request ID for logging purposes. At least one seatbid object is required.
Attributes
- bidid:
string | nullBidder generated response ID. - cur:
string | nullBid currency using ISO-4217 alpha codes. - customdata:
string | nullOptional feature for additional data. - id:
string(required) ID of the bid request to which this is a response. - nbr:
int64 | nullReason for not bidding. - seatbid:
array of objects | nullArray of seatbid objects, containing one or more individual bids.
SeatBid Object
A SeatBid object can contain multiple Bid objects, each of which relates to a specific impression.
Attributes
- bid:
array of objects(required) Array of 1+ Bid objects each related to an impression. - group:
int32 | null0 = impressions can be won individually; 1 = impressions must be won as a group. - seat:
string | nullID of the buyer seat on whose behalf this bid is made.
Bid Object
Attributes
- adid:
string | nullID of a preloaded ad to be served if the bid wins. - adm:
string | nullMarkup to convey ad content if the bid wins. - adomain:
array of strings | nullAdvertiser domain for block list checking. - api:
int32 | nullAPI required by the markup. - attr:
array of objects | nullSet of attributes describing the creative. - bundle:
string | nullApplication identifier unique to the app. - burl:
string | nullBilling notice URL called when a winning bid is billable. - cat:
array of strings | nullIAB content categories of the creative. - cid:
string | nullCampaign ID for ad quality checking. - crid:
string | nullCreative ID for tracking. - dealid:
string | nullReference to the deal ID from the bid request. - exp:
int64 | nullWillingness to wait between the auction and impression. - h:
int64 | nullHeight of the creative. - hratio:
int64 | nullRelative height of the creative. - id:
string(required) Bidder generated bid ID. - impid:
string(required) ID of the Imp object in the related bid request. - iurl:
string | nullURL to an image representative of the campaign. - language:
string | nullLanguage of the creative. - lurl:
string | nullLoss notice URL when a bid is known to be lost. - nurl:
string | nullWin notice URL if the bid wins. - price:
double(required) Bid price expressed as CPM. - protocol:
int32 | nullVideo response protocol. - qagmediarating:
int64 | nullCreative media rating per guidelines. - tactic:
string | nullTactic ID for reporting. - w:
int64 | nullWidth of the creative. - wratio:
int64 | nullRelative width of the creative.