RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions | Public Attributes
RTBKIT::Auction::Response Struct Reference

#include <auction.h>

List of all members.

Public Member Functions

 Response (Price price=NONE, int tagId=-1, const AccountKey &account=AccountKey(), bool test=true, std::string agent="", std::string bidData="", std::string meta="null", std::shared_ptr< const AgentConfig > agentConfig=std::shared_ptr< const AgentConfig >(), const SegmentList &visitChannels=SegmentList(), int agentCreativeIndex=-1)
Json::Value toJson () const
std::string toJsonStr () const
void serialize (ML::DB::Store_Writer &store) const
void reconstitute (ML::DB::Store_Reader &store)
bool valid () const

Static Public Member Functions

static std::string print (WinLoss wl)

Public Attributes

Price price
 Price to bid on.
int tagId
 Tag ID (v0.3)
AccountKey account
 Account we are bidding with.
bool test
 Is this a test bid?
std::string agent
 Agent ID who's bidding.
std::string bidData
 Data that the bidder wants to keep.
std::string meta
int creativeId
 Number of the creative/placement.
std::string creativeName
 Name of the creative.
WinLoss localStatus
 What happened in the local auction?
std::shared_ptr< const
AgentConfig
agentConfig
SegmentList visitChannels
int agentCreativeIndex

Detailed Description

Response to a bid.

Definition at line 116 of file auction.h.


Member Function Documentation

Is this a valid response?

Definition at line 107 of file auction.cc.


Member Data Documentation

Configuration of the agent that made the bid

WARNING: This member will not be serialized and will therefore not be available out of process.

Definition at line 162 of file auction.h.

Creative index in this agentConfig's creatives array.

Definition at line 169 of file auction.h.

Free form agent information about the bid (Passed back to agent with notification)

Definition at line 148 of file auction.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator