Sample Android project showcasing how to build a mediation adapter or custom event for the Google Mobile Ads SDK.
Switch branches/tags
Clone or download
Pull request Compare This branch is 91 commits behind googleads:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Google Mobile Ads SDK - Android Mediation

The Google Mobile Ads SDK is the latest generation in Google mobile advertising, and features refined ad formats and streamlined APIs for access to mobile ad networks and advertising solutions. The SDK enables mobile app developers to maximize their monetization in native mobile apps.

This repository is broken into two sections:

Mediation Example

A sample project demonstrating how an ad network can plug into AdMob Mediation. The project contains a "Sample Ad Network" SDK library, as well as a sample mediation adapter and custom event implementation for AdMob Mediation capable of loading banners, interstitials, rewarded video, and native ads.

A test application is also included, and uses the Google Mobile Ads SDK to call into the adapter and custom event to test their implementations. It can be used during development to test new adapters and custom events, once ad units have been set up.

Mediation Adapters

Open source adapters for mediating via the Google Mobile Ads SDK. A list of these adapters is available on our Mediation page.


For prebuilt versions of these adapters, see our Bintray repository.


Check out our developer site for documentation on using the SDK and our mediation developer guide for information on how to create an adapter. You can also join the developer community on our SDK forum.

Suggesting improvements

For feature requests, or to suggest other improvements, please use github's issue tracker.


Apache 2.0 License