Skip to content

Instantly share code, notes, and snippets.

@Gocrazy
Created January 13, 2014 14:42
Show Gist options
  • Select an option

  • Save Gocrazy/8401491 to your computer and use it in GitHub Desktop.

Select an option

Save Gocrazy/8401491 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