public class AdaptvAdapter extends ExchangeAdapterImpl<OpenRtbRequest,OpenRtbResponse>
Lot49Constants.EXCHANGE_ADAPTV
.ExchangeAdapter.BidChoiceAlgorithm
Modifier and Type | Field and Description |
---|---|
private boolean |
assumeSwfIfVpaid |
static Pattern |
BAD_ADAPTV_PATTERN_1_PATTERN |
static String |
BAD_ADAPTV_PATTERN_1_STR |
private String |
buyerId |
private AdaptvConfig |
config |
private int |
defaultMaxDuration |
static String |
RESPONSE_MEDIA_TYPE |
Constructor and Description |
---|
AdaptvAdapter() |
Modifier and Type | Method and Description |
---|---|
OpenRtbRequest |
convertRequest(OpenRtbRequest req) |
OpenRtbResponse |
convertResponse(OpenRtbRequest req,
OpenRtbResponse resp)
AdapTV expects a VAST in rsponse.
|
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 |
getPartnerInitiatedSyncUrl(String myUserId) |
String |
getResponseMediaType() |
String |
getSampleWinningPrice()
Return sample winning price suitable for decoding with
ExchangeAdapter.parse(String, long) |
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) |
void |
parseUserId(String userId,
OpenRtbRequest req) |
private static String |
tmpCookieFixup(String s,
int depth) |
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkExchangeTargeting, debug, error, error, fillPlatformInfoFromUa, getBidChoiceAlgorithm, getOptoutBuilder, getSeat, getWinTimeout, info, isAggregator, isMacrosInNurl, isNurlRequired, makeExchangeSpecificInstructionsMap, massageBid, setHeaders, trace, trueWinOnNurlOrImpression, validateAd
private final String buyerId
private final int defaultMaxDuration
private final boolean assumeSwfIfVpaid
public static final String BAD_ADAPTV_PATTERN_1_STR
public static final Pattern BAD_ADAPTV_PATTERN_1_PATTERN
private final AdaptvConfig config
public static final String RESPONSE_MEDIA_TYPE
public void parseUserId(String userId, OpenRtbRequest req)
public String getSampleWinningPrice()
ExchangeAdapter
ExchangeAdapter.parse(String, long)
public OpenRtbResponse convertResponse(OpenRtbRequest req, OpenRtbResponse resp) throws Exception
Exception
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 ParsedPriceInfo parse(String winningPriceString, long bidMicros)
ExchangeAdapter.getWinningPriceMacro()
public long getDefaultTimeout()
ExchangeAdapter
OpenRtbRequest.getTmax()
on each request, which takes precedence).public String getClickMacro()
public String getClickEncMacro()
public String getResponseMediaType()