# 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.

The following topics detail how to implement Unity Ads in your Android project.

> **Important:**
>
> If you serve Unity Ads through a mediation partner, such as Unity LevelPlay, Google AdMob, or AppLovin MAX, follow your mediation partner's Unity Ads adapter guide instead of this direct-integration guide. In most cases, the mediation SDK initializes the Unity Ads adapter for you, so calling Unity Ads initialization from your own code risks a duplicate initialization. Install and initialize the Unity Ads SDK yourself only when your mediation partner's adapter documentation tells you to, such as on an open-source adapter path. For more information, refer to [Implement Unity Ads in a mediation stack](/grow/ads/mediation/unity-ads-in-mediation.md.md).

> **Important:**
>
> You must configure user consent before or during SDK initialization. Serving ads without consent configuration may violate privacy regulations in some regions.

[Unity Ads Android integration requirements](/ads-android/4.20.0/sdk-integration/requirements.md): Review Android app prerequisites for Unity Ads SDK ad integration.
[Install the Unity Ads SDK for Android](/ads-android/4.20.0/sdk-integration/install-sdk.md): Add Unity Ads SDK dependencies to your Android project.
[Import the UnityAds library](/ads-android/4.20.0/sdk-integration/import-library.md): Import the UnityAds library to your Android project.
[Initialize the SDK in Android](/ads-android/4.20.0/sdk-integration/initialize-sdk.md): Initialize Unity Ads SDK to enable ad monetization.
[Unity Ads privacy and developer consent guide](/ads-android/4.20.0/privacy/developer-consent.md): Set up user consent flows to comply with global privacy frameworks before or during SDK initialization.
[Implement interstitial ads in Android](/ads-android/4.20.0/sdk-integration/interstitial-ads.md): Set up interstitial ads and manage ad events in Android.
[Implement rewarded ads in Android](/ads-android/4.20.0/sdk-integration/rewarded-ads.md): Set up rewarded ads and manage ad events and reward handling in Android.
[Implement server-to-server redeem callbacks](/ads-android/4.20.0/sdk-integration/s2s-redeem-callbacks.md): Set up server-to-sever callbacks securely to validate rewarded ad completions and prevent fraud.
[Implement banner ads in Android](/ads-android/4.20.0/sdk-integration/banner-ads.md): Set up banner ads and manage ad events in Android.
[Test your Unity Ads integration](/ads-android/4.20.0/sdk-integration/test-integration.md): Enable test mode in the Unity Monetization dashboard to safely verify ad functionality before publishing your app.
[Unity Ads SDK troubleshooting guide](/ads-android/4.20.0/sdk-integration/troubleshoot.md): Solve common issues that might occur during Unity Ads SDK initialization, ad load, or ad show.
[Unity Ads Android SDK API reference](/ads-android/4.20.0/sdk-integration/api/android-api.md): Review the Unity Ads SDK API reference for Android Java or Kotlin integration.
