Package com.pubmatic.sdk.openwrap.banner
Interface POBBannerEventListener
-
- All Implemented Interfaces:
-
com.pubmatic.sdk.openwrap.core.POBAdEventListener
@MainThread() public interface POBBannerEventListener implements POBAdEventListener
The banner custom event listener. It is used to inform the ad server SDK events back to OpenWrap SDK.
-
-
Method Summary
Modifier and Type Method Description abstract voidonOpenWrapPartnerWin(@Nullable() String bidId)Call this when the ad server SDK signals about partner bid win with bid id. abstract voidonAdServerWin(@NonNull() View view)Call this when the ad server SDK renders its own ad abstract voidonFailed(@NonNull() POBError error)Call this when the ad server SDK fails to load the ad abstract voidonAdExecutionComplete()Call this when the ad execution is completed due to external ad events. -
Methods inherited from class com.pubmatic.sdk.openwrap.core.POBAdEventListener
getBidsProvider, onAdClick, onAdClosed, onAdImpression, onAdLeftApplication, onAdOpened -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onOpenWrapPartnerWin
abstract void onOpenWrapPartnerWin(@Nullable() String bidId)
Call this when the ad server SDK signals about partner bid win with bid id.
- Parameters:
bidId- Winning partner bid id
-
onAdServerWin
abstract void onAdServerWin(@NonNull() View view)
Call this when the ad server SDK renders its own ad
- Parameters:
view- view rendered ad from the ad server SDK
-
onFailed
abstract void onFailed(@NonNull() POBError error)
Call this when the ad server SDK fails to load the ad
- Parameters:
error- detailed error object describing the cause of ad failure
-
onAdExecutionComplete
abstract void onAdExecutionComplete()
Call this when the ad execution is completed due to external ad events. Accordingly POBBannerEventListener user class can manage it's ad state.
-
-
-
-