整合 AdColony 與中介服務 (已淘汰)
移除 AdColony SDK 和轉接程式
由於 AdColony 已淘汰,建議您從專案中移除 AdColony SDK 和轉接程式。
Android Studio
從應用程式層級的 build.gradle
檔案中移除 adcolony
構件:
dependencies {
implementation("com.google.android.gms:play-services-ads:24.0.0")
implementation("com.google.ads.mediation:adcolony:4.8.0.2")
}
手動整合
- 從專案中移除 AdColony Android SDK。
- 從專案中移除 AdColony Android 轉接程式
.aar
構件。
從中介服務群組中移除 AdColony
請按照 AdMob 說明中心的操作說明,從 AdMob 使用者介面 (UI) 中所有中介服務群組移除 AdColony。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-03-01 (世界標準時間)。
[null,null,["上次更新時間:2025-03-01 (世界標準時間)。"],[[["AdColony is deprecated and should be removed from your app."],["Remove the AdColony SDK and adapter by following the instructions for Android Studio or manual integration."],["Ensure you also remove AdColony from your mediation groups within the AdMob UI."]]],["AdColony is deprecated and should be removed from projects. In Android Studio, remove the `adcolony` artifact from the app-level `build.gradle` file. For manual integration, remove the AdColony SDK and `.aar` adapter artifact. Finally, remove AdColony from all mediation groups within the AdMob UI, using instructions provided in the AdMob help center.\n"]]