# Unity Ads SDK integration guide for Unity developers

> Integrate Unity Ads into your Unity project. Install the Advertisement Legacy package in the Unity Editor, initialize the SDK, and implement interstitial, rewarded, and banner ads with C# scripts.

> **Note:**
>
> Starting April 1, 2026, apps that monetize with Unity Ads through direct integration through the Advertisement Legacy Package might see reduced ad performance. To avoid reduction in performance, switch to integrating Unity Ads as a bidder.
>
> The Unity Ads network will continue to support and provide fill for all apps using direct integration. However, to maximize revenue and performance, the recommended best practice is to [install the Ads Mediation package for LevelPlay](/grow/levelplay/sdk/unity/package-integration.md.md), Unity's ad mediation platform.

The following topics detail how to implement Unity Ads in your Unity 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.

[Install the Unity Ads SDK](/ads-unity/4.20.0/sdk-integration/install-sdk.md): Add Unity Ads SDK dependencies to your project.
[Initialize the SDK](/ads-unity/4.20.0/sdk-integration/initialize-sdk.md): Initialize Unity Ads SDK to enable ad monetization.
[Unity Ads privacy and developer consent guide](/ads-unity/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](/ads-unity/4.20.0/sdk-integration/interstitial-ads.md): Set up interstitial ads and manage ad events.
[Implement rewarded ads](/ads-unity/4.20.0/sdk-integration/rewarded-ads.md): Set up rewarded ads and manage ad events and reward handling.
[Implement server-to-server redeem callbacks](/ads-unity/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](/ads-unity/4.20.0/sdk-integration/banner-ads.md): Set up banner ads and manage ad events.
[Test your Unity Ads integration](/ads-unity/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-unity/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 SDK API reference](/ads-unity/4.20.0/sdk-integration/api/unity-api.md): Review the Unity Ads SDK API reference for ad integration using C#.
