Interface POBInterstitialEventListener
-
- All Implemented Interfaces:
-
com.pubmatic.sdk.openwrap.core.POBAdEventListener
@MainThread() public interface POBInterstitialEventListener implements POBAdEventListener
OpenWrap interstitial custom event listener. It is used to inform ad server SDK events back to the 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()Publisher should call this method to notify the OpenWrap SDK about ad server SDK renders its own ad abstract voidonFailedToLoad(@NonNull() POBError error)Handler should call this method to notify the OpenWrap SDK about any kind of load time error abstract voidonFailedToShow(@NonNull() POBError error)Handler should call this method to notify the OpenWrap SDK about any kind of show time error abstract Map<String, Object>getCustomData()Call this to fetch any additional custom data for handling ad server calls or rendering abstract voidonAdExpired()Publisher/Handler should call this method to notify the OpenWrap SDK about ad expiry -
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()
Publisher should call this method to notify the OpenWrap SDK about ad server SDK renders its own ad
-
onFailedToLoad
abstract void onFailedToLoad(@NonNull() POBError error)
Handler should call this method to notify the OpenWrap SDK about any kind of load time error
- Parameters:
error- Error object with error details from ad server SDK
-
onFailedToShow
abstract void onFailedToShow(@NonNull() POBError error)
Handler should call this method to notify the OpenWrap SDK about any kind of show time error
- Parameters:
error- Error object with error details from ad server SDK
-
getCustomData
@Nullable() abstract Map<String, Object> getCustomData()
Call this to fetch any additional custom data for handling ad server calls or rendering
-
onAdExpired
abstract void onAdExpired()
Publisher/Handler should call this method to notify the OpenWrap SDK about ad expiry
-
-
-
-