RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <exchange_connector.h>
Public Member Functions | |
JML_IMPLEMENT_OPERATOR_BOOL (isCompatible) | |
void | setCompatible () |
void | setIncompatible () |
void | setIncompatible (const std::string &reason, bool includeReasons) |
void | setIncompatible (ML::compact_vector< std::string, 1 > &&reasons, bool includeReasons) |
Public Attributes | |
bool | isCompatible |
Is it compatible? | |
ML::compact_vector < std::string, 1 > | reasons |
Reasons for incompatibility. | |
std::shared_ptr< void > | info |
Structure used to tell whether or not an exchange is compatible with a creative or campaign.
Definition at line 110 of file exchange_connector.h.
void RTBKIT::ExchangeConnector::ExchangeCompatibility::setCompatible | ( | ) | [inline] |
Update to indicate that the exchange is compatible.
Definition at line 119 of file exchange_connector.h.
void RTBKIT::ExchangeConnector::ExchangeCompatibility::setIncompatible | ( | const std::string & | reason, |
bool | includeReasons | ||
) | [inline] |
Update to indicate that the exchange is incompatible for the given reason.
Definition at line 126 of file exchange_connector.h.
void RTBKIT::ExchangeConnector::ExchangeCompatibility::setIncompatible | ( | ML::compact_vector< std::string, 1 > && | reasons, |
bool | includeReasons | ||
) | [inline] |
Update to indicate that the exchange is incompatible for the given reasons.
Definition at line 136 of file exchange_connector.h.
std::shared_ptr<void> RTBKIT::ExchangeConnector::ExchangeCompatibility::info |
Exchange specific information about the creative or campaign, used by the exchange to cache results of eligibility and include pre- computed values for bidding.
Definition at line 150 of file exchange_connector.h.