Installation
The CloudX Unity SDK is distributed as a.unitypackage file.
- Download the latest
CloudXSdk-4.1.3.unitypackagefrom GitHub Releases - In Unity, go to Assets > Import Package > Custom Package
- Select the downloaded
.unitypackagefile - Import all assets when prompted
The External Dependency Manager will automatically resolve Android and iOS dependencies.
Ad Network Adapters
The CloudX SDK requires ad network adapters to serve ads. Enable them by uncommenting the relevant lines inAssets/CloudXSdk/Editor/CloudXDependencies.xml. See the Adapters section for per-adapter setup instructions, including iOS Info.plist requirements.
At least one adapter is required for the SDK to serve ads.
Initialization
Initialize the SDK before loading any ads. You can optionally configure user and app properties before initialization.Subscribe to
CloudXInitializationCallbacks events before calling Initialize() to receive initialization results.Ad Formats
CloudX Unity SDK supports banner, MREC, interstitial, and rewarded ad integrations. Use the format-specific guides for implementation details:Banner & MREC ads
Display ads at a fixed screen position with optional refresh control.
Interstitial ads
Load and show full-screen interstitial placements.
Rewarded ads
Reward users after completed rewarded ad views.
Advanced Features
Privacy Controls
You can override consent state before initialization when your app is not using a CMP.SetHasUserConsent(bool?)sets the GDPR consent override.SetDoNotSell(bool?)sets the CCPA do-not-sell override.- IAB consent and privacy signals take precedence over these manual overrides when available.
iOS ATT Usage Description
Starting with Unity SDK2.2.4, the iOS post-process step adds NSUserTrackingUsageDescription automatically if your app has not already defined it in Info.plist.
- Default value:
This uses device info for more personalized ads and content - If you already provide
NSUserTrackingUsageDescription, CloudX leaves your existing value unchanged. - Set your own copy in
Info.plistif you want custom ATT prompt wording.
User Targeting
Configure user and app properties for better ad targeting. Call these methods beforeInitialize.
Revenue Tracking
All ad formats provide revenue callbacks through theOnAdRevenuePaid event. The CloudXAd object contains revenue information: