文档

​
​

Development

User Acquisition

Monetization

工业

Unity Ads Monetization

SDK 4.20.0

受支持
​

Unity API reference

Unity Ads Monetization

SDK 4.20.0

受支持
​

此页面不支持所选语言。
Unity Ads privacy guide
​
​
iOS 14 integration
  • iOS 14 technical integration
  • Update your Unity Ads SDK for iOS 14
  • Install the iOS 14 support package
  • Configure ad network ids
  • App Tracking Transparency compliance
  1. Unity Ads SDK Unity developer monetization
  2. Unity Ads SDK privacy guides
  3. iOS 14 integration guide

Install the iOS 14 support package

Install the iOS 14 Support package to enable SKAdNetwork and App Tracking Transparency features in your Unity project. The package includes ad network ID aggregation and a customizable context screen.
阅读时间3 分钟
最后更新于 1 个月前

If your iOS application is made with Unity, installing the iOS 14 support package provides utilities for Apple's SKAdNetwork and
AppTrackingTransparency
frameworks by aggregating proper ad network IDs and providing access to relevant Apple developer APIs. It also provides a convenient and customizable context screen, which you can use to encourage users to opt-in to ad tracking on their iOS device.
There are two ways to install the Unity iOS 14 Support package, depending on the version of Unity you use.
If you use Unity version 2018.1 or greater, follow these steps:
  1. In the Unity Editor, select Window > Package Manager to open the Package Manager window.
  2. In the Package Manager window, select the iOS 14 Advertising Support package, then select Install.
If you use any other version of Unity, follow these steps:
  1. Download the iOS 14 Support package repository to your hard drive.
  2. In the Unity Editor, select Window > Package Manager to open the Package Manager window.
  3. Select the + button, then Add package from disk....
  4. Navigate to your local copy of the package repo and select the package JSON (
    ..\com.unity.ads.ios-support-master\com.unity.ads.ios-support\package.json
    ), then select Open to install the package.
If successful, the iOS 14 Support package will appear in the Package Manager list. For more information, refer to installing packages.

API methods

The package provides access to the following Apple developer APIs:

Method

Description

SkAdNetworkUpdateConversionValue(int conversionValue)
Use this method to update the attribution conversion value.
SkAdNetworkRegisterAppForNetworkAttribution()
Use this method to register for attribution.
RequestAuthorizationTracking(RequestAuthorizationTrackingCompleteHandler callback)
Use this method to request the user permission request.
AuthorizationTrackingStatus GetAuthorizationTrackingStatus()
Use this method to check the app tracking transparency (ATT) authorization status.

Generating a properties list file

The information property list (
Info.plist
) file is a resource that contains key-value pairs to identify and configure iOS apps. You will need it to implement ad network ID and ATT requirements. When you build your Unity project to iOS with the Advertising and iOS 14 Advertising Support packages installed, the process generates a plist file in the build's root directory.
Next steps: Refer to the documentation on how to configure ad network IDs.

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

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

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

  • 在本页上
    • API methods

    • Generating a properties list file


报告此页面的问题