Page tree


com.pubmatic.sdk.headerbidding

Interface PMPrefetchManager.PMPrefetchListener

Enclosing class:
PMPrefetchManager

public static interface PMPrefetchManager.PMPrefetchListener

Listener to channel result events of a header bidding request to the publisher app.

Method Summary

Modifier and TypeMethod and Description
void onBidsFailed(PMError error) Failure callback for header bidding.
void onBidsFetched(java.util.Map<java.lang.string,PMBid> publisherHBResponse) Success callback for Header Bidding request on PubMatic Server.

Method Detail


onBidsFetched

void onBidsFetched(java.util.Map<java.lang.string,PMBid> publisherHBResponse)

Success callback for Header Bidding request on PubMatic Server.

Parameters:
publisherHBResponse - mapping of adslot to corresponding prefetched creative.

onBidsFailed

void onBidsFailed(PMError error)

Failure callback for header bidding. Publisher must go ahead with normal DFP calls.

Parameters:
error - Failure message.


⇧ Top