---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://ads.yandex.com/helpcenter/en/dev/ios/unityads.md
  - https://ads.yandex.com/helpcenter/ru/dev/ios/unityads.md
  - https://ads.yandex.com/helpcenter/zh/dev/ios/unityads.md
  - href: zh/dev/ios/unityads.md
    type: text/markdown
    title: Markdown version
  - href: llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://ads.yandex.com/helpcenter/zh/llms.txt

# 启用 Unity Ads



{% note info "支持的库和平台版本" %}

**Yandex Mobile Ads SDK：**
- 支持的最低 8.3.0 版本
- 8.3.0 的当前版本
- 支持的最高 8.3.1 版本（不包括）

**Unity Ads SDK：**
- 支持的最低 4.16.6 版本
- 4.16.6 的当前版本
- 支持的最高 4.16.7 版本（不包括）

[版本历史](https://ads.yandex.com/helpcenter/zh/dev/ios/changelog-ios.md#unity-ads)

{% endnote %}

## 支持的广告格式 {#formats}

- [自适应内联横幅](https://ads.yandex.com/helpcenter/zh/dev/ios/adaptive-inline-banner.md)
- [自适应粘性横幅](https://ads.yandex.com/helpcenter/zh/dev/ios/adaptive-sticky-banner.md)
- [插屏广告](https://ads.yandex.com/helpcenter/zh/dev/ios/interstitial.md)
- [激励广告](https://ads.yandex.com/helpcenter/zh/dev/ios/rewarded.md)

## 集成 {#integration}

<!-- source: zh/dev/_includes/unityads-ios.md -->
{% note info %}

要在移动聚合中跟踪应用安装，您需要为适配器配置 Info.plist。请按照广告网络 [文档](https://unityads.unity3d.com/help/ios/skadnetwork-ids) 进行操作。

{% endnote %}

要使用 [Unity Ads](https://github.com/Unity-Technologies/unity-ads-ios)，您必须连接 `UnityAdsYandexMobileAdsAdapters` 库。

`UnityAdsYandexMobileAdsAdapters` 库已经适配了 CocoaPods 依赖管理系统，并支持静态集成方法。

1. 在 Yandex Advertising Network 界面和其他网络界面中 [设置聚合](https://ads.yandex.com/helpcenter/zh/monetization/yandex-mediation/setup.md)。

2. 要连接库，请将依赖项添加到项目的 Podfile 中：
   ```
   pod 'UnityAdsYandexMobileAdsAdapters', '4.16.6.3' 
   ```
<!-- endsource: zh/dev/_includes/unityads-ios.md -->

