Package com.pubmatic.sdk.nativead
Interface POBNativeAdListener
-
- All Implemented Interfaces:
public interface POBNativeAdListenerInterface to inform native ad workflow events to the app
-
-
Method Summary
Modifier and Type Method Description abstract voidonNativeAdRendered(@NonNull() POBNativeAd nativeAd)Notify about the Native Ad rendering completion abstract voidonNativeAdRenderingFailed(@NonNull() POBNativeAd nativeAd, @NonNull() POBError error)Notify about the Native Ad rendering failure abstract voidonNativeAdImpression(@NonNull() POBNativeAd nativeAd)Notify about the Native Ad recorded impression abstract voidonNativeAdClicked(@NonNull() POBNativeAd nativeAd)Notify about the Native Ad recorded click abstract voidonNativeAdClicked(@NonNull() POBNativeAd nativeAd, @NonNull() String assetId)Notify about the Native Ad recorded click for specific asset abstract voidonNativeAdLeavingApplication(@NonNull() POBNativeAd nativeAd)Notify about the Native Ad leaving application abstract voidonNativeAdOpened(@NonNull() POBNativeAd nativeAd)Notify about the Native Ad opened abstract voidonNativeAdClosed(@NonNull() POBNativeAd nativeAd)Notify about the Native Ad closed -
-
Method Detail
-
onNativeAdRendered
abstract void onNativeAdRendered(@NonNull() POBNativeAd nativeAd)
Notify about the Native Ad rendering completion
- Parameters:
nativeAd- POBNativeAd instance
-
onNativeAdRenderingFailed
abstract void onNativeAdRenderingFailed(@NonNull() POBNativeAd nativeAd, @NonNull() POBError error)
Notify about the Native Ad rendering failure
- Parameters:
nativeAd- POBNativeAd instanceerror- POBError for show failures
-
onNativeAdImpression
abstract void onNativeAdImpression(@NonNull() POBNativeAd nativeAd)
Notify about the Native Ad recorded impression
- Parameters:
nativeAd- POBNativeAd instance
-
onNativeAdClicked
abstract void onNativeAdClicked(@NonNull() POBNativeAd nativeAd)
Notify about the Native Ad recorded click
-
onNativeAdClicked
abstract void onNativeAdClicked(@NonNull() POBNativeAd nativeAd, @NonNull() String assetId)
Notify about the Native Ad recorded click for specific asset
-
onNativeAdLeavingApplication
abstract void onNativeAdLeavingApplication(@NonNull() POBNativeAd nativeAd)
Notify about the Native Ad leaving application
-
onNativeAdOpened
abstract void onNativeAdOpened(@NonNull() POBNativeAd nativeAd)
Notify about the Native Ad opened
-
onNativeAdClosed
abstract void onNativeAdClosed(@NonNull() POBNativeAd nativeAd)
Notify about the Native Ad closed
-
-
-
-