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