将 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
按照 Ad Manager 帮助中心中的说明,从 Ad Manager 界面 (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 manually or through Android Studio by removing the corresponding dependencies.\u003c/p\u003e\n"],["\u003cp\u003eEnsure you also remove AdColony from all yield groups in the Ad Manager UI by following the provided instructions.\u003c/p\u003e\n"]]],[],null,["| **Deprecated:** AdColony is now deprecated.\n\nRemove AdColony SDK and adapter\n\nWith AdColony being deprecated, we recommend removing the AdColony SDK and\nadapter from your project.\n\nAndroid 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\nManual 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 yield groups\n\nFollow the instructions in the\n\n[Ad Manager help center](//support.google.com/admanager/answer/7390828)\n\nto remove AdColony from all of your yield groups in\nthe Ad Manager user interface (UI)."]]