整合 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。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間: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."]]