Prebid Plugin Renderer

Introduction

This topic describes how to integrate the InMobi SDK rendering plugin with Prebid SDK and Prebid Server. For more information about Prebid Plugin Renderers and how this setup works, see Prebid Plugin Renderer (Header Bidding).

Set up placements

  1. If you do not already have an InMobi publisher account, create one.
  2. After you create your account, set up your apps in the InMobi dashboard.
  3. Under each app, create placements with Audience bidding enabled.
  4. Select Prebid as the audience bidding partner.
  5. From your Prebid Server, pass the placement ID to InMobi using the plc key. For more information, see InMobi for Header Bidding.

Android integration

Prerequisites

  • Minimum InMobi SDK version: 10.8.2.
  • Currently supported only on Android (Beta)

Step 1: Add dependencies

In your app’s build.gradle file, add the following:

implementation "com.inmobi.monetization:inmobi-prebid-adapter:10.8.2.0"
implementation "com.inmobi.monetization:inmobi-ads-kotlin:10.8.2"

Step 2: Register the InMobi plugin renderer

Before initializing Prebid SDK, register the InMobi renderer:

PrebidMobile.registerPluginRenderer(
    InMobiRenderer.getInstance(
        this,
        new InMobiMediationConfiguration("<<account_id>>", 
            new InMobiRendererInitListener() {
                @Override
                public void onInitCompleted(@Nullable Error error) {
                    System.out.println("InMobi SDK initialized");
                }
            }
        )
    )
);

Note

If your app already uses InMobi SDK through another mediation, you must provide the same account ID.

Rendering behavior

  • Once the InMobi plugin renderer is registered, Prebid SDK delegates rendering of InMobi demand to the InMobi SDK.
  • Other demand continues to be rendered by the Prebid SDK.

On This Page

Last Updated on: 15 Oct, 2025