Integration
Unity Ads adapter for CloudX Android SDK. Supports Banner, MREC, Interstitial, and Rewarded.
For CloudX dashboard mapping and Unity Ads-side ID setup, see the Unity Ads bidder guide. This page covers Android-specific integration details only.
Install
dependencies {
implementation("io.cloudx:adapter-unityads:4.19.0.1")
}dependencies {
implementation 'io.cloudx:adapter-unityads:4.19.0.1'
}Compatibility
| Adapter version | Network SDK | Minimum CloudX SDK |
|---|---|---|
4.19.0.1 | Unity Ads SDK 4.19.0 | 4.2.0 |
4.19.0.0 | Unity Ads SDK 4.19.0 | 4.0.0 |
4.17.0.0 | Unity Ads SDK 4.17.0 | 4.0.0 |
4.16.6.0 | Unity Ads SDK 4.16.6 | 4.0.0 |
4.16.5.1 | Unity Ads SDK 4.16.5 | 4.0.0 |
4.16.5.0 | Unity Ads SDK 4.16.5 | 4.0.0 |
4.16.1.0 | Unity Ads SDK 4.16.1 | 4.0.0 |
4.15.0.0 | Unity Ads SDK 4.15.0 | 4.2.0 |
4.12.5.1 | Unity Ads SDK 4.12.5 | 4.0.0 |
4.12.5.0 | Unity Ads SDK 4.12.5 | 4.0.0 |
The adapter is discovered automatically when your server-provisioned CloudX configuration includes Unity Ads demand. No manual adapter registration is required.
Known issues
Unity Ads 4.15 Banner and MREC context requirement
Affected: Adapter 4.15.0.0 Banner and MREC integrations that use an application context, including the React Native imperative Banner and MREC APIs.
Symptom: The ad fails to load when an Android Activity cannot be resolved.
Workaround: Native Android apps must create Banner and MREC ads from an Activity-backed UI context. Use adapter 4.19.0.1 when Unity Ads 4.19 compatibility is acceptable. Interstitial and Rewarded are unaffected.