验证适配器集成
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本文介绍了如何查看和验证与广告来源相关联的适配器。
前提条件
在继续之前,请执行以下操作:
- 完成初始前提条件中的所有项目,以创建 Ad Manager 账号、设置测试设备、初始化 Google 移动广告 SDK,以及安装最新版本。
- 启动广告检查器。
您可以查看与应用中配置的广告来源相关联的所有适配器的列表,具体步骤如下:
- 在 Ad inspector(广告检查器)页面中,点击 Adapters(适配器)。
展开相应卡片,即可查看初始化状态以及适配器和第三方 SDK 的版本。

如果找不到适配器或未能初始化,请参阅广告检查器(Beta 版)。
查看自定义事件适配器
您还可以查看自定义事件适配器。通过自定义事件,您可以为 Ad Manager 不支持的广告来源设置广告瀑布流中介。在适配器列表中,自定义事件通过唯一的类名称来区分。除了提供类名称之外,广告检查器还会显示在 Ad Manager 界面中为这些自定义事件指定的标签。如需详细了解自定义事件,请参阅设置。
自定义事件的早期实现(例如在 Google 移动广告 SDK 9.0.0 版之前)可能会使用已弃用的子类,这些子类不支持初始化且会在广告检查器中返回 Issue found(发现了问题)。如果您看到 Issue found(发现了问题)警告,而自定义事件集成按预期运行,请检查您的应用是否正在使用已弃用的接口。如果是的话,请将相应接口替换为适配器类。如需了解详情,请参阅 GADMediationAdapter
。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-25。
[null,null,["最后更新时间 (UTC):2025-08-25。"],[],[],null,["Select platform: [Android](/ad-manager/mobile-ads-sdk/android/ad-inspector/verify-adapter-integrations \"View this page for the Android platform docs.\") [iOS](/ad-manager/mobile-ads-sdk/ios/ad-inspector/verify-adapter-integrations \"View this page for the iOS platform docs.\") [Unity](/ad-manager/mobile-ads-sdk/unity/ad-inspector/verify-adapter-integrations \"View this page for the Unity platform docs.\") [Flutter](/ad-manager/mobile-ads-sdk/flutter/ad-inspector/verify-adapter-integrations \"View this page for the Flutter platform docs.\")\n\n\u003cbr /\u003e\n\nThis page covers steps on viewing and verifying adapters associated with\nyour ad sources.\n\nPrerequisites\n\nBefore you continue, do the following:\n\n- Complete all items in the initial [Prerequisites](/ad-manager/mobile-ads-sdk/ios/ad-inspector#prerequisites) to create an Ad Manager account, set your test device, initialize Google Mobile Ads SDK, and install the latest version.\n- [Launch ad inspector](/ad-manager/mobile-ads-sdk/ios/ad-inspector/launch-ad-inspector).\n\nYou can view a list of all adapters associated with the ad sources configured\nin your app. To view the list, complete the following steps:\n\n1. In the **Ad inspector** page, click **Adapters**.\n2. Expand the cards to view initialization statuses and adapter and\n third-party SDK versions.\n\n \u003cbr /\u003e\n\nIf the adapter isn't found or fails to initialize, see\n\n[Ad inspector (Beta)](//support.google.com/admanager/answer/7180401#ad-inspector).\n\n\nView custom event adapters\n\nYou can also view custom event adapters. Custom events lets you set up\nwaterfall mediation for an ad source that Ad Manager doesn't support.\nIn the adapter list, Custom events are distinct by unique class names. In\naddition to providing the class name, ad inspector also displays labels\nassigned to those custom events in the Ad Manager UI. For more details\non custom events, see\n\n[Setup](/ad-manager/mobile-ads-sdk/ios/custom-events/overview).\n\n\nEarlier implementations of custom events, such as prior to the Google Mobile Ads SDK\nversion\n\n9.0.0,\n\ncan use deprecated subclasses that don't support\ninitialization and return **Issue found** within ad inspector. If you see the\n**Issue found** warning, and your custom event integration works as expected,\ncheck if your app is using a deprecated interface and replace the interface with\nan adapter class. For details, see\n[GADMediationAdapter](/ad-manager/mobile-ads-sdk/ios/api/reference/Protocols/GADMediationAdapter)."]]