---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ads.yandex.com/helpcenter/en/dev/react-native/chartboost.md
  - https://ads.yandex.com/helpcenter/ru/dev/react-native/chartboost.md
  - https://ads.yandex.com/helpcenter/zh/dev/react-native/chartboost.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ads.yandex.com/helpcenter/zh/llms.txt

# 启用 Chartboost

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

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

## 集成 {#integration}

{% list tabs %}

- Android

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

   2. 将依赖项添加到应用级别的 build.gradle 文件中：
      ```
      implementation 'com.yandex.android:mobileads:8.3.0'
      implementation 'com.yandex.ads.mediation:mobileads-chartboost:9.3.1.31'
      ```
   <!-- endsource: zh/dev/_includes/chartboost-android.md -->

- iOS

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

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

   {% endnote %}

   要使用 [Chartboost](https://answers.chartboost.com/en-us/articles/download)，请附加 `ChartboostYandexMobileAdsAdapters` 库。

   `ChartboostYandexMobileAdsAdapters` 库已经适配了 CocoaPods 依赖管理系统，并且可以静态附加。

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

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

{% endlist %}

