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).
plc key. For more information, see InMobi for Header Bidding.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"
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");
}
}
)
)
);
If your app already uses InMobi SDK through another mediation, you must provide the same account ID.
By installing this SDK update, you agree that your Children Privacy Compliance setting remains accurate or that you will update that setting, whenever there is a change in your app's audience. You may update the app's Children Privacy Compliance settings at https://publisher.inmobi.com/my-inventory/app-and-placements.
Support Center