文档

Development

User Acquisition

Monetization

工业

Unity Ads Monetization

SDK 4.20.0

受支持
​

Android API reference

Unity Ads Monetization

SDK 4.20.0

受支持
​

此页面不支持所选语言。
Android developer guides
​
​
Android developer guides
  • Android SDK integration guide
  • Unity Ads privacy guide
  • Unity Ads SDK troubleshooting guide
  • Android developer API references
  1. Unity Ads SDK Android developer monetization

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.
阅读时间1 分钟
最后更新于 1 个月前

The following topics detail how to implement Unity Ads in your Android project.
重要
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
Review Android app prerequisites for Unity Ads SDK ad integration.
Install the Unity Ads SDK for Android
Add Unity Ads SDK dependencies to your Android project.
Import the UnityAds library
Import the UnityAds library to your Android project.
Initialize the SDK in Android
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 in Android
Set up interstitial ads and manage ad events in Android.
Implement rewarded ads in Android
Set up rewarded ads and manage ad events and reward handling in Android.
Implement server-to-server redeem callbacks
Set up server-to-sever callbacks securely to validate rewarded ad completions and prevent fraud.
Implement banner ads in Android
Set up banner ads and manage ad events in Android.
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 troubleshooting guide
Solve common issues that might occur during Unity Ads SDK initialization, ad load, or ad show.
Unity Ads Android SDK API reference
Review the Unity Ads SDK API reference for Android Java or Kotlin integration.

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 其他资源
  • iOS developer integration guide
  • Unity developer integration guide

报告此页面的问题
​
​