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.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前
The following topics detail how to implement Unity Ads in your Unity project.
Install the Unity Ads SDK
Add Unity Ads SDK dependencies to your project.
Initialize the SDK
Initialize Unity Ads SDK to enable ad monetization.
Unity Ads privacy and developer consent guide
Set up user consent flows to comply with global privacy frameworks before or during SDK initialization.
Implement interstitial ads
Set up interstitial ads and manage ad events.
Implement rewarded ads
Set up rewarded ads and manage ad events and reward handling.
Implement server-to-server redeem callbacks
Set up server-to-sever callbacks securely to validate rewarded ad completions and prevent fraud.
Implement banner ads
Set up banner ads and manage ad events.
Test your Unity Ads integration
Enable test mode in the Unity Monetization dashboard to safely verify ad functionality before publishing your app.
Unity Ads SDK API reference
Review the Unity Ads SDK API reference for integration using C#.