![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <openrtb.h>
Public Attributes | |
Id | id |
Bid request ID. | |
vector< Impression > | imp |
List of impressions. | |
Optional< Site > | site |
Optional< App > | app |
Optional< Device > | device |
Optional< User > | user |
AuctionType | at |
Auction type (1=first/2=second party) | |
TaggedInt | tmax |
Max time avail in ms. | |
vector< string > | wseat |
Allowed buyer seats. | |
TaggedBool | allimps |
All impressions in BR (for road-blocking) | |
vector< string > | cur |
Allowable currencies. | |
List< ContentCategory > | bcat |
Blocked advertiser categories (table 6.1) | |
vector< string > | badv |
Blocked advertiser domains. | |
Json::Value | ext |
Protocol extensions. | |
Json::Value | unparseable |
Unparseable fields get put here. |
3.3.1 Bid Request Object
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 “imp” (i.e., impression) object. Other attributes are optional since an exchange may establish default values.
RTB transactions are initiated when an exchange or other supply source sends a bid request to a bidder. The bid request consists of a bid request object, at least one impression object, and may optionally include additional objects providing impression context.