Integrating i-mobile with Mediation

This guide is for publishers who want to use the Google Mobile Ads SDK to load and display ads from i-mobile via mediation. It covers how to add i-mobile to an ad unit's mediation configuration, how to set up Automatic Data Collection, and how to integrate the i-mobile SDK and adapter into an Android app.

The dashboard interface for i-mobile uses Japanese text for its labels, buttons, and descriptions. The screenshots in this guide have not been translated. In this guide's descriptions and instructions however, labels and buttons are translated with their English language equivalents in parentheses.

Supported ad formats and features

The Ad Manager mediation adapter for i-mobile has the following capabilities:

Adaptive banner
Automatic data collection


  • Android API level 16 or higher
  • Latest Google Mobile Ads SDK

Step 1: Set up i-mobile

Sign up or log in to your i-mobile account.

Add your app to the i-mobile dashboard by clicking the サイト/アプリ管理 (Site/Application Management) tab and clicking the 新規Androidアプリ (New Android App) button.

Register your app by providing its 名称 (Name) and マーケットURL (Market URL). Then, click the 新規登録 (Sign up) button after filling out the rest of the form.

To create a new Advertising Spot, select your app under the サイト/アプリ管理 (Site/Application Management) tab.

Navigate to the 広告スポット管理 (Ad Spot Management) tab and click on the 新規広告スポット (New Ad Spot) button.


Next, fill out the form by providing the 広告スポット名 (Ad Spot name), 広告スポットサイズ (Ad Spot size) and other details. Then, click the 新規登録 (Sign up) button.


Your new Ad spot is ready. To view its integration details, click the アプリ設定取得 (Get App settings) button.


Take note of the パブリッシャーID (Publisher ID), メディアID (Media ID), and スポットID (Spot ID). You'll need these parameters later when configuring i-mobile for mediation in the Ad Manager UI.

Step 2: Configure mediation settings for your Ad Manager ad unit

Sign in to your Ad Manager account. Navigate to Delivery > Yield groups and click the New yield group button.

Enter a unique Name for your yield group, set the Status to Active, select your Ad Format, and set the Inventory type to Mobile App. Under the Targeting > Inventory section, select the Ad Unit ID to which you want to add mediation.

Next, click the Add yield partner button.

If you already have a Yield partner for i-mobile, you can simply select it. Otherwise, select Create a new yield partner.

Select i-mobile as the Ad network and enter a unique Name. Enable Mediation and turn on Automatic data collection, enter the Username and Password of your i-mobile account. Click Save when done.

Once the Yield partner is selected, choose Mobile SDK Mediation as the Integration type, Android as the Platform, and Active as the Status. Enter the **Publisher ID, Media ID and Spot ID** obtained in the previous section and a Default CPM value.

Click Save at the bottom of the page when done.

Step 3: Import the i-mobile SDK and Adapter

Add the following implementation dependencies with the latest versions of the i-mobile SDK and adapter in the app-level build.gradle file:

repositories {

    maven {
      url  ""

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.0.2'
    implementation ''
    implementation ''

Manual integration

Download the latest version of the i-mobile SDK and extract the android-ad-sdk.aar under the sdk folder and add it to your project.

Step 4: Additional code required

No additional code is required for i-mobile integration.

Step 5: Test your implementation

For testing your integration, i-mobile provides test Spot ID, Media ID, and Publisher ID for all ad formats. You can find them here.

Optional steps

Using native ads

Ad rendering

The i-mobile adapter populates the following Native ads advanced field descriptions for a UnifiedNativeAd.

Field Populated by i-mobile adapter
App icon
Call to action
Star rating

For native ads, the i-mobile SDK does not provide an app icon asset. Instead, the i-mobile adapter populates the app icon with a transparent image.

i-mobile Android Mediation Adapter Changelog


  • Verified compatibility with i-mobile SDK v2.0.22.
  • Updated the adapter to support inline adaptive banner requests.

Built and tested with

  • Google Mobile Ads SDK version 19.1.0.
  • IMobile SDK version 2.0.22.


  • Verified compatibility with i-mobile SDK v2.0.21.
  • Updated the minimum required Google Mobile Ads SDK version to 19.1.0.
  • Added support for scaling adaptive banner ads.

Built and tested with

  • Google Mobile Ads SDK version 19.1.0.
  • IMobile SDK version 2.0.21.


  • Added support for flexible banner ad sizes.
  • Updated the minimum required Google Mobile Ads SDK version to 18.3.0.

Built and tested with

  • Google Mobile Ads SDK version 18.3.0.
  • IMobile SDK version 2.0.20.


  • Adapter now returns a non-zero mediaContent aspect ratio.

Built and tested with

  • Google Mobile Ads SDK version 18.2.0.
  • IMobile SDK version 2.0.20.


  • Initial release!
  • Added support for banner, interstitial, and native ads.