NativeAdEventCallback

interface NativeAdEventCallback : AdEventCallback


Callback for receiving native ad lifecycle events.

Summary

Public functions

open Unit

Called when a swipe gesture on an ad is recorded as a click.

Inherited functions

From com.google.android.libraries.ads.mobile.sdk.common.AdEventCallback
open Unit

Called when a click is recorded for an ad.

open Unit

Called when the ad dismisses an overlay that it previously showed.

open Unit

Called when the ad fails to show fullscreen content.

open Unit

Called when an impression is recorded for an ad.

open Unit
onAdPaid(value: AdValue)

Called when an ad is estimated to have earned money.

open Unit

Called when an ad opens an overlay that covers the screen, for example an MRAID expanded ad, ad choices overlay, or a full screen ad.

Public functions

onAdSwipeGestureClicked

open fun onAdSwipeGestureClicked(): Unit

Called when a swipe gesture on an ad is recorded as a click. Currently available for allow-listed accounts only. Reach out to your account manager to be allow-listed for this feature.