public class SpotXChangeAdapter extends ExchangeAdapterImpl<OpenRtbRequest,OpenRtbResponse>
Copyright © Enremmeta LLC 2015. All Rights Reserved.
ExchangeAdapter.BidChoiceAlgorithm| Modifier and Type | Field and Description |
|---|---|
static String |
RESPONSE_MEDIA_TYPE |
| Constructor and Description |
|---|
SpotXChangeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
OpenRtbRequest |
convertRequest(OpenRtbRequest req) |
OpenRtbResponse |
convertResponse(OpenRtbRequest req,
OpenRtbResponse o) |
ExchangeAdapter.BidChoiceAlgorithm |
getBidChoiceAlgorithm()
Defaults to
ExchangeAdapter.BidChoiceAlgorithm.MAX. |
String |
getClickEncMacro() |
String |
getClickMacro() |
long |
getDefaultTimeout()
What is the default timeout, in milliseconds (default, because timeout can also be provided
dynamically as
OpenRtbRequest.getTmax() on each request, which takes precedence). |
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) |
toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckExchangeTargeting, debug, error, error, fillPlatformInfoFromUa, getOptoutBuilder, getPartnerInitiatedSyncUrl, getSampleWinningPrice, getWinTimeout, info, isAggregator, isMacrosInNurl, isNurlRequired, makeExchangeSpecificInstructionsMap, massageBid, parseUserId, setHeaders, trace, trueWinOnNurlOrImpression, validateAdpublic static final String RESPONSE_MEDIA_TYPE
public ExchangeAdapter.BidChoiceAlgorithm getBidChoiceAlgorithm()
ExchangeAdapterExchangeAdapter.BidChoiceAlgorithm.MAX.public final long getDefaultTimeout()
ExchangeAdapterOpenRtbRequest.getTmax() on each request, which takes precedence).public final String getWinningPriceMacro()
ExchangeAdapterExchangeAdapter.parse(String, long)public boolean localUserMapping()
ExchangeAdapterour user ID to exchange
ID is stored by us.public OpenRtbRequest convertRequest(OpenRtbRequest req)
public String getName()
public OpenRtbResponse convertResponse(OpenRtbRequest req, OpenRtbResponse o) throws Exception
Exceptionpublic ParsedPriceInfo parse(String winningPriceString, long bidMicros)
ExchangeAdapter.getWinningPriceMacro()public String getClickMacro()
public String getClickEncMacro()
public String getResponseMediaType()