将 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 - App & Display
按照 Ad Manager 帮助中心中的说明,从 Ad Manager 界面中的所有收益组中移除
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 Studio users, remove the \u003ccode\u003eyahoo\u003c/code\u003e artifact from your \u003ccode\u003ebuild.gradle\u003c/code\u003e dependencies and repositories.\u003c/p\u003e\n"],["\u003cp\u003eFor manual integration, remove the Yahoo Android SDK and adapter \u003ccode\u003e.aar\u003c/code\u003e artifact from your project.\u003c/p\u003e\n"],["\u003cp\u003eRemove "Yahoo - App & Display" from all yield groups in the Ad Manager UI by following instructions in the Ad Manager 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 - App \\& Display\nfrom yield groups\n-----------------------------------------------\n\nFollow the instructions in the\n\n[Ad Manager help center](//support.google.com/admanager/answer/7390828)\n\nto remove\n\nYahoo - App \\& Display\n\nfrom all of your\nyield groups in the Ad Manager UI."]]