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, waitcheckExchangeTargeting, debug, error, error, fillPlatformInfoFromUa, getBidChoiceAlgorithm, getDefaultTimeout, getOptoutBuilder, getPartnerInitiatedSyncUrl, getSampleWinningPrice, getSeat, getWinTimeout, info, isAggregator, isMacrosInNurl, isNurlRequired, makeExchangeSpecificInstructionsMap, massageBid, parseUserId, setHeaders, trace, trueWinOnNurlOrImpression, validateAdpublic 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 o) 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>