RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <openrtb.h>
Public Attributes | |
Id | id |
Bidder's bid ID to identify bid. | |
Id | impid |
ID of the impression we're bidding on. | |
TaggedFloat | price |
Price to bid. | |
Id | adid |
Id of ad to be served if won. | |
string | nurl |
Win notice/ad markup URL. | |
string | adm |
Ad markup. | |
vector< string > | adomain |
Advertiser domains. | |
string | iurl |
Image URL for content checking. | |
Id | cid |
Campaign ID. | |
Id | crid |
Creative ID. | |
List< CreativeAttribute > | attr |
Creative attributes. | |
Json::Value | ext |
Extended bid fields. |
4.3.3 Bid Object
For each bid, the “nurl” attribute contains the win notice URL. If the bidder wins the impression, the exchange calls this notice URL a) to inform the bidder of the win and b) to convey certain information using substitution macros (see Section 4.6 Substitution Macros).
The “adomain” attribute can be used to check advertiser block list compliance. The “iurl” attribute can provide a link to an image that is representative of the campaign’s content (irrespective of whether the campaign may have multiple creatives). This enables human review for spotting inappropriate content. The “cid” attribute can be used to block ads that were previously identified as inappropriate; essentially a safety net beyond the block lists. The “crid” attribute can be helpful in reporting creative issues back to bidders. Finally, the “attr” array indicates the creative attributes that describe the ad to be served.
BEST PRACTICE: Substitution macros may allow a bidder to use a static notice URL for all of its bids. Thus, exchanges should offer the option of a default notice URL that can be preconfigured per bidder to reduce redundant data transfer.