public class OtherAdServersHeaderBidding extends java.lang.Object implements HeaderBiddingHandler
| Constructor and Description |
|---|
OtherAdServersHeaderBidding() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(java.lang.Object object)
Indicate if this handler can handle the given object.
|
void |
cleanPreviousBid(java.lang.Object object)
Remove previous state that may have been stored in the object.
|
void |
enrichBid(java.lang.Object object,
AdUnitType adUnitType,
com.criteo.publisher.model.CdbResponseSlot slot)
Enrich the given bid object with a bid for the given ad unit.
|
com.criteo.publisher.integration.Integration |
getIntegration()
Indicate which kind of integration is this handler doing.
|
public boolean canHandle(@NonNull
java.lang.Object object)
HeaderBiddingHandlerThis means that this handler is ready to accept this object for all other methods in this interface.
canHandle in interface HeaderBiddingHandlerobject - object to testtrue if the object is supported@NonNull public com.criteo.publisher.integration.Integration getIntegration()
HeaderBiddingHandlergetIntegration in interface HeaderBiddingHandlerpublic void cleanPreviousBid(@NonNull
java.lang.Object object)
HeaderBiddingHandler
This cancels any modification done by a HeaderBiddingHandler.enrichBid(Object, AdUnitType, CdbResponseSlot) call.
This method is only called on handled objects. If there is a bid, but also if there is no bid to avoid having a third-party considering that Criteo bids again.
cleanPreviousBid in interface HeaderBiddingHandlerobject - bid object to cleanpublic void enrichBid(@NonNull
java.lang.Object object,
@NonNull
AdUnitType adUnitType,
@NonNull
com.criteo.publisher.model.CdbResponseSlot slot)
HeaderBiddingHandlerThis method is only called on handled objects.
enrichBid in interface HeaderBiddingHandlerobject - bid object to filladUnitType - ad unit representing the requested bidslot - bid to use