MdotM Android SDK Admob

From MdotM API
Jump to: navigation, search

Using MdotM SDK with AdMob Mediation SDK

Implementation Instructions

For integrating MdotM Ads into the AdMob Mediation SDK or Google Play Services way of showing ads, follow the steps below.

 Ex: Without adding test device if you request then in the logcat Admob SDK prints following message.
To get test ads on this device, call

adRequest.addTestDevice("D9XXXXXXXXXXXXXXXXXXXXXXXXXXXXX");

Please copy paste the code in request object and you should get test ads on your device.

  • Email pubs@mdotm.com with questions


Guidelines to Use AdMob Mediation Sample Apps

  • Import Project into your work-space.
  • Create app UnitId from https://apps.admob.com.
  • Add generated UnitId in sample code (MainActivity.java / InterstitialSample.java).
  • Add TestDeviceId from logcat in sample code (MainActivity.java / InterstitialSample.java).


Integrating with AdMob Reporting

Navigate to "Your Account" -> "Your Profile" to retrieve your AccountID and Secret Key for use with AdMob to see reporting statistics and auto-optimization.

Sample Application

MdotM SDK+AdMob Adapter Interstitial Sample Application