public class BrxAdapter extends ExchangeAdapterImpl<BrxRtb095.BidRequest,BrxRtb095.BidResponse>
ExchangeAdapter.BidChoiceAlgorithm
Modifier and Type | Field and Description |
---|---|
static String |
RESPONSE_MEDIA_TYPE |
Constructor and Description |
---|
BrxAdapter() |
Modifier and Type | Method and Description |
---|---|
OpenRtbRequest |
convertRequest(BrxRtb095.BidRequest req1) |
BrxRtb095.BidResponse |
convertResponse(OpenRtbRequest req,
OpenRtbResponse resp) |
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 |
getWinningPriceMacro()
Winning price macro.
|
boolean |
isNurlRequired()
Whether
NUrl is required (two-step response). |
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, getBidChoiceAlgorithm, getOptoutBuilder, getPartnerInitiatedSyncUrl, getSampleWinningPrice, getSeat, getWinTimeout, info, isAggregator, isMacrosInNurl, makeExchangeSpecificInstructionsMap, massageBid, parseUserId, setHeaders, trace, trueWinOnNurlOrImpression, validateAd
public static final String RESPONSE_MEDIA_TYPE
public final long getDefaultTimeout()
ExchangeAdapter
OpenRtbRequest.getTmax()
on each request, which takes precedence).public final String getWinningPriceMacro()
ExchangeAdapter
ExchangeAdapter.parse(String, long)
public final boolean localUserMapping()
ExchangeAdapter
our user ID
to exchange
ID
is stored by us.public ParsedPriceInfo parse(String winningPriceString, long bidMicros)
ExchangeAdapter.getWinningPriceMacro()
public String getName()
public boolean isNurlRequired()
ExchangeAdapter
NUrl is required
(two-step response). Since most exchanges for
now accept single-step response (returning the entire markup at once
, we
default the implementation to false.public OpenRtbRequest convertRequest(BrxRtb095.BidRequest req1)
public BrxRtb095.BidResponse convertResponse(OpenRtbRequest req, OpenRtbResponse resp) throws Exception
Exception
public String getClickMacro()
public String getClickEncMacro()
public String getResponseMediaType()