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) |
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkExchangeTargeting, debug, error, error, fillPlatformInfoFromUa, getOptoutBuilder, getPartnerInitiatedSyncUrl, getSampleWinningPrice, getWinTimeout, info, isAggregator, isMacrosInNurl, isNurlRequired, makeExchangeSpecificInstructionsMap, massageBid, parseUserId, setHeaders, trace, trueWinOnNurlOrImpression, validateAd
public static final String RESPONSE_MEDIA_TYPE
public ExchangeAdapter.BidChoiceAlgorithm getBidChoiceAlgorithm()
ExchangeAdapter
ExchangeAdapter.BidChoiceAlgorithm.MAX
.public final long getDefaultTimeout()
ExchangeAdapter
OpenRtbRequest.getTmax()
on each request, which takes precedence).public final String getWinningPriceMacro()
ExchangeAdapter
ExchangeAdapter.parse(String, long)
public boolean localUserMapping()
ExchangeAdapter
our 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
Exception
public ParsedPriceInfo parse(String winningPriceString, long bidMicros)
ExchangeAdapter.getWinningPriceMacro()
public String getClickMacro()
public String getClickEncMacro()
public String getResponseMediaType()