NativeAdEventCallback

public interface NativeAdEventCallback extends AdEventCallback


Callback for receiving native ad lifecycle events.

Summary

Public methods

default void

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

Inherited methods

From com.google.android.libraries.ads.mobile.sdk.common.AdEventCallback
default void

Called when a click is recorded for an ad.

default void

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

default void

Called when the ad fails to show fullscreen content.

default void

Called when an impression is recorded for an ad.

default void

Called when an ad is estimated to have earned money.

default void

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 methods

onAdSwipeGestureClicked

default void onAdSwipeGestureClicked()

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.