启用 AppNext

支持的广告格式

集成

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

  2. 在应用级 build.gradle.kts 文件的 androidMain.dependencies 块中添加以下依赖项:

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

    dependencyResolutionManagement {
       repositories {
          //...
          maven("https://dl.appnext.com/")
       }
    }
    
上一篇
下一篇