Google Mobile Ads Mediation Adapter v1.5.1
Millennial Media provides a Google Mobile Ads mediation adapter for developers using AdMob. For other mediation solutions please contact the mediator directly.
Please note that the adapter is only compatible with Millennial SDK version 6.3.0 and higher.
Click here to download the Google Mobile Ads mediation adapter.
Adapter Integration Guide
This integration guide assumes that you have already integrated the Google Mobile Ads SDK into your app project. You will need a placement ID and site ID from One by AOL (Nexage) and an ad unit ID from AdMob.
1. Integrate the MillennialMedia framework with your project.
Follow the instructions in integration guide. Configuration information such as COPPA and location settings are controlled via Google Ads.
2. Add the mediation adapter to your project
Add the contents of the adapter to your project. You will need to ensure that your project links against the libGoogleAdMMAdapter.a library in your project’s Build Phases > Link Binary With Libraries.
3. Configure SDK-level settings (optional)
You may configure any SDK-level settings in your UIApplicationDelegate’s
application:didFinishLaunchingWithOptions: method. See class documentation for full details on which settings are available.
4. Add One by AOL (Nexage) as an ad source on AdMob
You should add One by AOL (Nexage) as a supported mediation ad source for each placement. AdMob will provide you with ad unit IDs for each banner or interstitial placement, which are now ready to request and display Millennial ads based on your mediation settings.
Please be sure to add both your site ID and placement ID to the mediation ad source configuration!
The Millennial SDK supports the following metadata that can be sent through the Google Ads connector:
- COPPA (i.e tagForChildDirectedTreatment)
See the AdMob documentation for more details.