public interface

CustomEventNativeListener

implements CustomEventListener
com.google.android.gms.ads.mediation.customevent.CustomEventNativeListener

Class Overview

Custom events that implement CustomEventNative should use this listener to send callbacks to the mediation library to properly manage ad flow.

Summary

Public Methods
abstract void onAdImpression()
Indicates that an impression has been recorded for the ad.
abstract void onAdLoaded(NativeAdMapper mapper)
Indicates that a native ad has been requested and successfully received.
[Expand]
Inherited Methods
From interface com.google.android.gms.ads.mediation.customevent.CustomEventListener

Public Methods

public abstract void onAdImpression ()

Indicates that an impression has been recorded for the ad. This method should only be called if setOverrideImpressionRecording(boolean) is set to true.

public abstract void onAdLoaded (NativeAdMapper mapper)

Indicates that a native ad has been requested and successfully received.

Parameters
mapper NativeAdMapper