public class LiverailAdapter extends Object implements ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>
ExchangeAdapter.BidChoiceAlgorithm| Modifier and Type | Field and Description |
|---|---|
private LiverailConfig |
config |
static String |
EXTENSION_TEMPLATE_PART_1 |
static String |
EXTENSION_TEMPLATE_PART_2 |
private String |
seatId |
| Constructor and Description |
|---|
LiverailAdapter() |
| Modifier and Type | Method and Description |
|---|---|
OpenRtbRequest |
convertRequest(OpenRtbRequest request) |
OpenRtbResponse |
convertResponse(OpenRtbRequest req,
OpenRtbResponse resp) |
String |
getClickEncMacro() |
String |
getClickMacro() |
String |
getName() |
String |
getResponseMediaType() |
String |
getSeat(Ad ad) |
String |
getWinningPriceMacro()
Winning price macro.
|
boolean |
localUserMapping()
Whether the mapping of
our user ID to exchange
ID is stored by us. |
ParsedPriceInfo |
parse(String winningPriceString,
long bidMicros) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckExchangeTargeting, debug, error, error, fillPlatformInfoFromUa, getBidChoiceAlgorithm, getDefaultTimeout, getOptoutBuilder, getPartnerInitiatedSyncUrl, getSampleWinningPrice, getWinTimeout, info, isAggregator, isMacrosInNurl, isNurlRequired, makeExchangeSpecificInstructionsMap, massageBid, parseUserId, setHeaders, trace, trueWinOnNurlOrImpression, validateAdprivate final LiverailConfig config
private final String seatId
public static final String EXTENSION_TEMPLATE_PART_1
public static final String EXTENSION_TEMPLATE_PART_2
public String getSeat(Ad ad)
getSeat in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>public String getResponseMediaType()
getResponseMediaType in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>public String getName()
getName in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>public String getWinningPriceMacro()
ExchangeAdaptergetWinningPriceMacro in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>ExchangeAdapter.parse(String, long)public boolean localUserMapping()
ExchangeAdapterour user ID to exchange
ID is stored by us.localUserMapping in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>public OpenRtbRequest convertRequest(OpenRtbRequest request) throws Throwable
convertRequest in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>Throwablepublic OpenRtbResponse convertResponse(OpenRtbRequest req, OpenRtbResponse resp) throws Throwable
convertResponse in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>Throwablepublic ParsedPriceInfo parse(String winningPriceString, long bidMicros) throws Throwable
parse in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>ThrowableExchangeAdapter.getWinningPriceMacro()public String getClickMacro()
getClickMacro in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>public String getClickEncMacro()
getClickEncMacro in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>