com.google.android.gms.ads.mediation.customevent | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
package

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

Contains classes for Google Mobile Ads mediation custom events.

## Interfaces

CustomEvent | A `CustomEvent` is similar to a `MediationAdapter` except that it is a completely self-service mechanism for publishers to create their own adapter.
CustomEventBanner | A custom event to support banner ads.
CustomEventBannerListener | Custom events that implement `CustomEventBanner` should use this listener to send callbacks to the mediation library to properly manage ad flow.
CustomEventInterstitial | A custom event that supports interstitial ads.
CustomEventInterstitialListener | A custom event interstitial listener.
CustomEventListener | A base custom event listener for banner and interstitial ads.

## Classes

CustomEventExtras | This class is deprecated. This class will only work with implementations of the old `CustomEventAdapter` which has been deprecated in favor of CustomEventAdapter. To pass extras to custom events that implement CustomEventAdapter, call `addCustomEventExtrasBundle(Class, Bundle)` with the class of your CustomEventAdapter implementation and a `Bundle`.