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

# 启用 AppNext

## 支持的广告格式 {#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/appnext-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-appnext:2.7.6.473.23'
      ```

   3. 如果加载库时遇到问题，请将以下代码添加到 build.gradle 文件中，如 [AppNext 文档](https://developers.appnext.com/docs/android-sdk-installation) 中所述：
      ```
      maven {
        url "https://dl.appnext.com/"
      }
      ```
   <!-- endsource: zh/dev/_includes/appnext-android.md -->

{% endlist %}

