Summary: Methods | Inherited Methods | [Expand All]
public interface

# CustomEventBannerListener

implements CustomEventListener

com.google.android.gms.ads.mediation.customevent.CustomEventBannerListener

## Class Overview

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

## Summary

Public Methods
abstract void | onAdLoaded(View view) Indicates that a view has been requested and successfully received.

[Expand] Inherited Methods
From interface com.google.android.gms.ads.mediation.customevent.CustomEventListener
abstract void | onAdClicked() Indicates that the user has clicked on this custom event.
abstract void | onAdClosed() Indicates that the custom event rendered something in full screen and is now transferring control back to the application.
abstract void | onAdFailedToLoad(int errorCode) Indicates that an custom event request has failed along with the underlying cause.
abstract void | onAdLeftApplication() Indicates that user interaction with the custom event is causing the device to switch to a different application (such as a web browser).
abstract void | onAdOpened() Indicates that the custom event is rendering something that is full screen.

## Public Methods

#### public abstract void onAdLoaded (View view)

Indicates that a view has been requested and successfully received. This view may be displayed after this method has been called.

Once an ad view is requested, the custom event must report either `onAdLoaded` or `onAdFailedToLoad(int)`. If no response is received within a time limit, the mediation library may move on to another adapter, resulting in the custom event's view not being shown.

##### Parameters

view | The view to be displayed.