Skip to content

Instantly share code, notes, and snippets.

@chinnurtb
Forked from Gocrazy/smaato_bid_request.h
Created April 8, 2014 00:12
Show Gist options
  • Select an option

  • Save chinnurtb/10076068 to your computer and use it in GitHub Desktop.

Select an option

Save chinnurtb/10076068 to your computer and use it in GitHub Desktop.
#pragma once
#include "rtbkit/common/bid_request.h"
#include "smaato.h"
#include "jml/utils/parse_context.h"
namespace RTBKIT {
BidRequest *
fromSmaato(Smaato::BidRequest && req,
const std::string & provider,
const std::string & exchange);
struct SmaatoBidRequestParser {
static BidRequest *
parseBidRequest(const std::string & jsonValue,
const std::string & provider,
const std::string & exchange = "");
static BidRequest *
parseBidRequest(ML::Parse_Context & context,
const std::string & provider,
const std::string & exchange = "");
};
} // namespace RTBKit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment