Integration
InMobi adapter for CloudX Android SDK. Supports Banner, MREC, Interstitial, Rewarded, Native, Native Banner, and Native MREC.
For CloudX dashboard mapping and InMobi-side ID setup, see the InMobi bidder guide. This page covers Android-specific integration details only.
Install
dependencies {
implementation("io.cloudx:adapter-inmobi:11.4.0.1")
}dependencies {
implementation 'io.cloudx:adapter-inmobi:11.4.0.1'
}Native Ads
The adapter does not expose the main image asset directly: ad.nativeAd.mainImage is not populated. Media content — image or video — renders through the adapter-provided media view, which CloudX attaches to the container bound with setMediaContentViewGroupId(...). Bind a visible media container as described in Native ads.
Compatibility
| Adapter version | Network SDK | Minimum CloudX SDK |
|---|---|---|
11.4.0.1 | InMobi SDK 11.4.0 | 4.2.0 |
11.4.0.0 | InMobi SDK 11.4.0 | 4.2.0 |
11.3.0.1 | InMobi SDK 11.3.0 | 4.2.0 |
11.3.0.0 | InMobi SDK 11.3.0 | 4.0.0 |
11.2.0.1 | InMobi SDK 11.2.0 | 4.0.0 |
11.2.0.0 | InMobi SDK 11.2.0 | 4.0.0 |
11.1.1.0 | InMobi SDK 11.1.1 | 4.0.0 |
10.8.3.0 | InMobi SDK 10.8.3 | 4.2.0 |
10.8.0.0 | InMobi SDK 10.8.0 | 4.0.0 |
10.7.4.0 | InMobi SDK 10.7.4 | 4.0.0 |
Adapter 10.8.3.0 supports Banner, MREC, Interstitial, and Rewarded. Native, Native Banner, and Native MREC require adapter 11.3.0.0 or later.
Known Issues
When CloudX runs alongside another mediation SDK that also initializes InMobi in the same app process, InMobi SDK versions earlier than 11.4.0 can leave one initializer without a completion callback when two callers invoke InMobiSdk.init() before SDK initialization completes. For multi-mediator integrations, use CloudX InMobi adapter 11.4.0.0 or later, or configure the app so only one mediation stack initializes InMobi.
The adapter is discovered automatically when your server-provisioned CloudX configuration includes InMobi demand. No manual adapter registration is required.