ドキュメント

サポート

LevelPlay SDK - React Native

InMobi integration

Integrate InMobi as a mediation network in your React Native app using the LevelPlay SDK.
読み終わるまでの所要時間 3 分最終更新 3日前

This guide will instruct you step-by-step on how to set InMobi live as an Ad Network on LevelPlay Mediation.

Prerequisites

Make sure you have correctly integrated LevelPlay SDK Rewarded Video, Interstitial, or Banner ads into your application.

Create an InMobi Account

  1. Create an account with InMobi. You can do so here.
  2. When your account has been verified you can login at their partner login here.

Create an Application and Placement in InMobi

To configure your application on InMobi, complete the following steps:

Create an Application

  1. After you login you will immediately see the Add inventory option. You can enter the URL of your app in the AppStore or Google Play.
  2. Alternatively, if your app is not live yet, select Link manually?. You can then manually enter your application's name and select its platform.
  3. Check the boxes:
    • If your app is specifically directed to children under the age of 16.
    • If you allow InMobi to use device location – Location Permission
  4. When finished, select Save and create placement.
You will need a unique InMobi application per platform (iOS + Android) just like you do with your LevelPlay account.

Create a Placement

When you have created an application, you must create a Placement. Placements are locations to which InMobi will deliver specific Ad-types. This will be the placement in your app where you have configured the LevelPlay SDK Rewarded Video or Interstitial to trigger.
  1. Choose the ad unit for this placement, out from the supported options:
    • Interstitial
    • Rewarded
    • Banner
  2. When you choose your ad unit, select the Create placement button
  3. Give your placement a name and complete the placement creation

Activate InMobi in Your LevelPlay Network Setup Module

There are five pieces of data from the InMobi account which need to be input into your LevelPlay Network Setup Module in order for InMobi to work correctly in connection with LevelPlay:

Parameter

Description

UsernameThis is the username you use to login to your InMobi account. This is required for LevelPlay to access the InMobi reporting API for your account, which allows your LevelPlay Mediation to import performance data from your InMobi account to use in reporting & optimization.
PasswordThis is the password you use to login to your InMobi account. This is required along with the username in order for LevelPlay to access reporting information for your account.
API KeyThis is the unique key to verify requests made for reporting info.
Account IDThis is the unique identifier for your InMobi account.
Placement IDThis is the unique Placement to which InMobi will deliver ads to.
When you obtain this information, you must configure InMobi's Parameters in your LevelPlay Account. By adding the above parameters correctly, you will be able to take full advantage of InMobi's ad inventory and reporting data on LevelPlay Mediation.

Retrieve InMobi Parameters

  1. Username & Password This is the username and password you use to log in to your InMobi account.
  2. API Key This is the unique key to verify requests made for reporting info. To receive this info, go to the Drop-down arrow in the top right-hand corner of your admin panel > select Account Settings > select API Key > select Generate Key For more details, refer to the InMobi website.
  3. Account ID This is the unique identifier for your InMobi account. To locate this parameter, select the name icon in the top left-hand corner of your admin panel. You will then see your Account ID listed.
  4. Placement ID To find your applications Placement ID, select Inventory > inventory list from the left navigation menu > select the relevant app from your list > select the ad unit > select the name of the relevant placement for this app. Copy the Placement ID.

Configure InMobi's Parameters into LevelPlay Account

  1. When you obtain the above parameters, log in to your LevelPlay account.
  2. Go to Monetize > Setup > SDK Networks.
  3. Select InMobi from the table of Available Ad Networks.
  4. Enter your InMobi Username, Password, API Key and Account ID in the relevant fields.
  5. Select the app on which you'd like to run LevelPlay Mediation with InMobi.
  6. Scroll down to InMobi from the Setup list of Ad Networks and select the Define icon. Enter the Placement ID, under the Rewarded Video, Interstitial or Banner Settings. Set status to Active and select Save.
  7. You will then see InMobi as Active for Mediation on your Setup Dashboard.
  8. Verify your integration with the Reporting API; this column will check your integration through the Reporting API and return three possible responses: Verified, Failed and No Response. Verify your integration and the information you entered above; then select Retry until you see Verified.

Add the InMobi Adapter to Your Build

You are now all set to deliver InMobi Ads through LevelPlay Mediation!

Next steps

To leverage additional ad networks through LevelPlay Mediation, integrate the adapters and follow our integration guides.