Created
January 13, 2014 21:45
-
-
Save Gocrazy/8408762 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include <vector> | |
| #include "soa/types/id.h" | |
| #include "soa/types/string.h" | |
| #include "soa/types/url.h" | |
| #include "jml/utils/compact_vector.h" | |
| #include "soa/jsoncpp/value.h" | |
| #include "openrtb/openrtb.h" | |
| #include "openrtb/openrtb_parsing.h" | |
| namespace Smaato { | |
| using namespace Datacratic; | |
| using std::string; | |
| using std::vector; | |
| using OpenRTB::Device; | |
| using OpenRTB::User; | |
| using OpenRTB::Impression; | |
| using OpenRTB::Site; | |
| using OpenRTB::App; | |
| struct BidRequest { | |
| OpenRTB::AuctionType at; ///< Auction type (1=first/2=second party) | |
| Optional<Device> device; | |
| Json::Value ext; | |
| Id id; | |
| vector<Impression> imp; | |
| Optional<Site> site; | |
| vector<string> cur; | |
| Optional<App> app; | |
| Optional<User> user; | |
| Json::Value unparseable; ///< Unparseable fields get put here | |
| vector<string> wseat; | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment