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

# 启用 Mintegral

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

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

## 集成 {#integration}

{% list tabs %}

- Android

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

   2. 将依赖项添加到应用级别的 build.gradle 文件中的 `androidMain.dependencies` 块：
      ```kotlin
      implementation("com.yandex.android:mobileads:8.3.0")
      implementation("com.yandex.ads.mediation:mobileads-mintegral:17.0.41.3")
      ```

   3. 如果加载库时遇到问题，请将以下代码添加到 settings.gradle.kts 文件中，如 [Mintegral 文档](https://dev.mintegral.com/doc/index.html?file=sdk-m_sdk-android&lang=en)中所述：
      ```kotlin
      dependencyResolutionManagement {
         repositories {
            //...

            //未列出的 GP 市场应用程序，Android X 版本
            maven("https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_china")

            //启动 GP 市场应用程序，Android X 版本
            maven("https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_oversea")

            //未列出的 GP 市场应用程序，非 Android X 版本
            maven("https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_support/")
         }
      }
      ```

- iOS

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

   要在移动聚合中跟踪应用安装，您需要为适配器配置 Info.plist。请按照广告网络 [文档](https://www.mintegral.com/en/publisher-platform/ios-sdk-integration_en/#point2) 进行操作。

   {% endnote %}

   要使用 [Mintegral](https://www.mintegral.com/en/)，您需要连接 `MintegralYandexMobileAdsAdapters` 库。

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

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

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

{% endlist %}
