public interface HeaderBiddingHandler
| 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.
|
boolean canHandle(@NonNull
java.lang.Object object)
This means that this handler is ready to accept this object for all other methods in this interface.
object - object to testtrue if the object is supported@NonNull com.criteo.publisher.integration.Integration getIntegration()
void cleanPreviousBid(@NonNull
java.lang.Object object)
This cancels any modification done by a 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.
object - bid object to cleanvoid enrichBid(@NonNull
java.lang.Object object,
@NonNull
AdUnitType adUnitType,
@NonNull
com.criteo.publisher.model.CdbResponseSlot slot)
This method is only called on handled objects.
object - bid object to filladUnitType - ad unit representing the requested bidslot - bid to use