![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <bids.h>
Public Member Functions | |
| bool | isNullBid () const |
| void | bid (int creativeIndex, Amount price, double priority=0.0) |
| Json::Value | toJson () const |
Static Public Member Functions | |
| static Bid | fromJson (ML::Parse_Context &) |
Public Attributes | |
| SmallIntVector | availableCreatives |
| int | spotIndex |
| int | creativeIndex |
| Amount | price |
| double | priority |
| AccountKey | account |
Holds a bid for a given spot.
Note that availableCreatives and spotIndex indicates what we're bidding on. They will not be serialized because it's only meant to be used to inform bidding decisions.
Account which placed the bid. This will eventually be required to support multiple agents within a single process which is currently a work in progress.
| SmallIntVector RTBKIT::Bid::availableCreatives |
1.7.6.1