将 Yahoo 与中介集成(已弃用)
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
移除 Yahoo SDK 和适配器
由于 Yahoo 已被弃用,我们建议您从项目中移除 Yahoo SDK 和适配器。
- Android API 级别 23 或更高级别
### Android Studio
从应用级 build.gradle
文件中移除 yahoo
制品:
repositories {
google()
maven {
url 'https://artifactory.yahooinc.com/artifactory/maven/'
}
}
// ...
dependencies {
implementation 'com.google.android.gms:play-services-ads:24.5.0'
implementation 'com.google.ads.mediation:yahoo:1.4.1.1'
}
// ...
手动集成
- 从项目中移除 Yahoo Android SDK。
- 从项目中移除 Yahoo Android 适配器
.aar
制品。
从中介组中移除
Yahoo
按照 AdMob 帮助中心内的说明,从 AdMob 界面中的所有中介组中移除 Yahoo。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003eYahoo is now deprecated, requiring the removal of the Yahoo SDK and adapter from your project.\u003c/p\u003e\n"],["\u003cp\u003eFor Android, remove the \u003ccode\u003eyahoo\u003c/code\u003e artifact from your \u003ccode\u003ebuild.gradle\u003c/code\u003e file or manually remove the SDK and adapter if integrated manually.\u003c/p\u003e\n"],["\u003cp\u003eRemove Yahoo from all mediation groups in the AdMob UI following the instructions in the AdMob help center.\u003c/p\u003e\n"]]],[],null,["# Integrate Yahoo with mediation (Deprecated)\n\n| **Deprecated:** Yahoo is now deprecated.\n\nRemove Yahoo SDK and adapter\n----------------------------\n\nWith Yahoo being deprecated, we recommend removing the Yahoo SDK and adapter\nfrom your project.\n\n- Android API level 23 or higher ### Android Studio\n\nRemove the `yahoo` artifact from your app-level `build.gradle` file: \n\n repositories {\n google()\n maven {\n url 'https://artifactory.yahooinc.com/artifactory/maven/'\n }\n }\n\n // ...\n dependencies {\n implementation 'com.google.android.gms:play-services-ads:24.5.0'\n implementation 'com.google.ads.mediation:yahoo:1.4.1.1'\n }\n // ...\n\n### Manual integration\n\n1. Remove the Yahoo Android SDK from your project.\n2. Remove the Yahoo Android adapter `.aar` artifact from your project.\n\nRemove\nYahoo\nfrom mediation groups\n----------------------------------\n\nFollow the instructions in the\n\n[AdMob help center](//support.google.com/admob/answer/9850777)\n\nto remove\n\nYahoo\n\nfrom all of your\nmediation groups in the AdMob UI."]]