Show Sidebar

InMobi Integration using Android SDK

Note: Due to recent changes on the InMobi dashboard, you are required to update to InMobi version 6.0.0 which is bundled with VMAX SDK 3.5.19 and above. So if you are integrated with VMAX SDK 3.5.18 or earlier, you should upgrade to the latest VMAX SDK.

Supported InMobi Version: 6.0.0

Supported Ad Formats: The VMAX SDK supports Interstitials, Banners, Billboard, Native and In-stream (pre-roll) ads from InMobi.

You will need

  1. an active InMobi account.
  2. Property ID
  3. Placement ID
  4. Account ID
  5. the email address you use to sign in to your InMobi account. (for reporting)
  6. the password you use to sign in to your InMobi account. (for reporting)
  7. a 32-character string secret key. To know your secret key, contact the InMobi helpdesk. (for reporting)

In InMobi

In your InMobi account

  1. Add an App
  2. Create a Placement

For Android Studio and Eclipse

Step 1: Create a package com.vmax.android.ads.mediation.partners in your app and add the files InmobiNative.java, InmobiBanner.java, InmobiInterstitial.java and InmobiRewardedVideo.java from the SDK folder Mediation Files\Mediation Adapters\com\vmax\android\ads\mediation\partners to it.

Step 2: Add the file InMobi-6.0.0.jar from the SDK folder Mediation Files\Mediation Libraries to your app’s libs folder.

Additional Steps for Eclipse

Step 3: Add the accompanying code inside the <application> tag in AndroidManifest.xml

Step 4: Add the following permissions to AndroidManifest.xml
Step 5: [Optional] If you are running ProGuard on your Android application, ensure that the following directive is added in your ProGuard configuration file proguard-rules.pro:

What would you like to do next?