Documentation

Unity Ads Monetization


Unity API reference

Unity Ads Monetization


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.
Read time 1 minuteLast updated a day ago

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, Unity's ad mediation platform.
The following topics detail how to implement Unity Ads in your Unity project.
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 SDKAdd Unity Ads SDK dependencies to your project.
Initialize the SDKInitialize 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 adsSet up interstitial ads and manage ad events.
Implement rewarded adsSet up rewarded ads and manage ad events and reward handling.
Implement server-to-server redeem callbacksSet up server-to-sever callbacks securely to validate rewarded ad completions and prevent fraud.
Implement banner adsSet up banner ads and manage ad events.
Test your Unity Ads integrationEnable test mode in the Unity Monetization dashboard to safely verify ad functionality before publishing your app.
Unity Ads SDK API referenceReview the Unity Ads SDK API reference for integration using C#.