---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://ads.yandex.com/helpcenter/en/dev/compose-multiplatform/appnext.md
  - https://ads.yandex.com/helpcenter/ru/dev/compose-multiplatform/appnext.md
  - https://ads.yandex.com/helpcenter/zh/dev/compose-multiplatform/appnext.md
  - href: ru/dev/compose-multiplatform/appnext.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/ru/llms.txt

<!--
Используется в Boost: boost/ru/ad-monetization/dev/compose-multiplatform
-->

# Подключение AppNext

## Поддерживаемые форматы рекламы {#formats}

- [Адаптивный inline-баннер](https://ads.yandex.com/helpcenter/ru/dev/compose-multiplatform/adaptive-inline-banner.md)
- [Адаптивный sticky-баннер](https://ads.yandex.com/helpcenter/ru/dev/compose-multiplatform/adaptive-sticky-banner.md)
- [Межстраничная реклама](https://ads.yandex.com/helpcenter/ru/dev/compose-multiplatform/interstitial.md)
- [Реклама с вознаграждением](https://ads.yandex.com/helpcenter/ru/dev/compose-multiplatform/rewarded.md)

## Подключение {#integration}

{% list tabs %}

- Android

   1. [Настройте медиацию](https://ads.yandex.com/helpcenter/ru/monetization/yandex-mediation/setup.md) в интерфейсе Рекламной сети Яндекса и в кабинете рекламной сети.

   2. Добавьте зависимости в блок `androidMain.dependencies` в файле `build.gradle.kts` на уровне приложения:
      ```kotlin
      implementation("com.yandex.android:mobileads:8.3.0")
      implementation("com.yandex.ads.mediation:mobileads-appnext:2.7.6.473.23")
      ```

   3. При наличии проблем с загрузкой библиотеки добавьте код в файл `settings.gradle.kts` следующий код, как описано в [документации AppNext](https://developers.appnext.com/docs/android-sdk-installation):
      ```kotlin
      dependencyResolutionManagement {
         repositories {
            //...
            maven("https://dl.appnext.com/")
         }
      }
      ```

{% endlist %}
