public class SmaatoAdapter extends Object implements ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>
Copyright © Enremmeta LLC 2015. All Rights Reserved.
ExchangeAdapter.BidChoiceAlgorithm
Constructor and Description |
---|
SmaatoAdapter() |
Modifier and Type | Method and Description |
---|---|
OpenRtbRequest |
convertRequest(OpenRtbRequest request) |
OpenRtbResponse |
convertResponse(OpenRtbRequest req,
OpenRtbResponse o) |
String |
getClickEncMacro() |
String |
getClickMacro() |
String |
getName() |
String |
getResponseMediaType() |
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, wait
checkExchangeTargeting, debug, error, error, fillPlatformInfoFromUa, getBidChoiceAlgorithm, getDefaultTimeout, getOptoutBuilder, getPartnerInitiatedSyncUrl, getSampleWinningPrice, getSeat, getWinTimeout, info, isAggregator, isMacrosInNurl, isNurlRequired, makeExchangeSpecificInstructionsMap, massageBid, parseUserId, setHeaders, trace, trueWinOnNurlOrImpression, validateAd
public String getResponseMediaType()
getResponseMediaType
in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>
public String getName()
getName
in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>
public String getWinningPriceMacro()
ExchangeAdapter
getWinningPriceMacro
in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>
ExchangeAdapter.parse(String, long)
public boolean localUserMapping()
ExchangeAdapter
our 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>
Throwable
public OpenRtbResponse convertResponse(OpenRtbRequest req, OpenRtbResponse o) throws Throwable
convertResponse
in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>
Throwable
public ParsedPriceInfo parse(String winningPriceString, long bidMicros) throws Throwable
parse
in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>
Throwable
ExchangeAdapter.getWinningPriceMacro()
public String getClickMacro()
getClickMacro
in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>
public String getClickEncMacro()
getClickEncMacro
in interface ExchangeAdapter<OpenRtbRequest,OpenRtbResponse>