启用 Mintegral

支持的广告格式

集成

  1. 在 Yandex Advertising Network 界面及其他网络界面中 设置聚合

  2. Add the dependencies to the androidMain.dependencies block in the build.gradle file at the app level:

    implementation("com.yandex.android:mobileads:8.0.0")
    implementation("com.yandex.ads.mediation:mobileads-mintegral:17.0.41.0")
    
  3. If you have problems loading the library, add the following code to the settings.gradle.kts file as described in the Mintegral documentation:

    dependencyResolutionManagement {
       repositories {
          //...
          
          //Non-listed GP market applications, Android X Version
          maven("https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_china")
    
          //Launch GP market application, Android X Version
          maven("https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_oversea")
    
          //Non-listed GP market applications, not the Android X version
          maven("https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_support/")
       }
    }
    

备注

要在移动聚合中跟踪应用安装,您需要为适配器配置 Info.plist。请按照广告网络 文档 进行操作。

要使用 Mintegral,您需要连接 MintegralYandexMobileAdsAdapters 库。

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

  1. 在 Yandex Advertising Network 界面和其他网络界面中 设置聚合

  2. 要连接库,请将依赖项添加到项目的 Podfile 中:

    pod 'MintegralYandexMobileAdsAdapters', '8.0.7.0'
    
上一篇
下一篇