Unity Ads SDK integration guide for Android developers
Integrate Unity Ads into your Android app. Follow step-by-step guides to install the SDK, initialize it with your Game ID, and implement interstitial, rewarded, and banner ads with Java.
Read time 1 minuteLast updated a day ago
The following topics detail how to implement Unity Ads in your Android project.
Unity Ads Android integration requirementsReview Android app prerequisites for Unity Ads SDK ad integration.
Install the Unity Ads SDK for AndroidAdd Unity Ads SDK dependencies to your Android project.
Initialize the SDK in AndroidInitialize Unity Ads SDK to enable ad monetization.
Unity Ads privacy and developer consent guideSet up user consent flows to comply with global privacy frameworks before or during SDK initialization.
Implement interstitial ads in AndroidSet up interstitial ads and manage ad events in Android.
Implement rewarded ads in AndroidSet up rewarded ads and manage ad events and reward handling in Android.
Implement server-to-server redeem callbacksSet up server-to-sever callbacks securely to validate rewarded ad completions and prevent fraud.
Implement banner ads in AndroidSet up banner ads and manage ad events in Android.
Test your Unity Ads integrationEnable test mode in the Unity Monetization dashboard to safely verify ad functionality before publishing your app.
Unity Ads Android SDK API referenceReview the Unity Ads SDK API reference for Android Java integration.