![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Member Functions | |
Utf8String | fullLocationString () const |
Json::Value | toJson () const |
std::string | toJsonStr () const |
void | serialize (ML::DB::Store_Writer &store) const |
void | reconstitute (ML::DB::Store_Reader &store) |
Static Public Member Functions | |
static Location | createFromJson (const Json::Value &json) |
Public Attributes | |
std::string | countryCode |
std::string | regionCode |
Utf8String | cityName |
std::string | postalCode |
int | dma |
int | timezoneOffsetMinutes |
Definition at line 230 of file bid_request.h.
Return a location string with COUNTRY:REGION:CITY:POSTAL:DMA
Definition at line 424 of file bid_request.cc.
Json::Value RTBKIT::Location::toJson | ( | ) | const |
Return a canonical JSON version of the bid request.
Definition at line 438 of file bid_request.cc.
std::string RTBKIT::Location::toJsonStr | ( | ) | const |
Return a canonical stringified JSON version of the bid request.
Definition at line 452 of file bid_request.cc.