验证适配器集成
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页介绍了如何查看和验证与广告来源相关联的适配器。
前提条件
在继续之前,请执行以下操作:
- 完成初始前提条件中的所有项目,以创建 Ad Manager 账号、设置测试设备、初始化 Google 移动广告 SDK 并安装最新版本。
- 启动广告检查器。
您可以查看与应用中配置的广告来源关联的所有适配器的列表。如需查看该列表,请完成以下步骤:
- 在广告检查器页面中,点击适配器。
展开卡片即可查看初始化状态以及适配器和第三方 SDK 版本。
Android
|
iOS
|
如果未找到适配器或适配器初始化失败,请参阅广告检查器(Beta 版)。
查看自定义事件适配器
您还可以查看自定义事件适配器。通过自定义事件,您可以为 Ad Manager 不支持的广告来源设置广告瀑布流中介。在适配器列表中,自定义事件通过唯一的类名称来区分。除了提供类名称之外,广告检查器还在 Ad Manager 界面中显示分配给这些自定义事件的标签。如需详细了解自定义事件,请参阅创建自定义事件。
自定义事件的早期实现(例如在 Google 移动广告 SDK 版本 20.0.0 [Android] 和 9.0.0 [iOS] 之前)可以使用不支持初始化且会在广告检查器中返回发现问题的已弃用子类。如果您看到发现问题警告,并且自定义事件集成按预期运行,请检查您的应用是否正在使用已弃用的接口,并将该接口替换为适配器类。如需了解详情,请参阅 Adapter
(Android) | GADMediationAdapter
(iOS)。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[],[],null,["# Verify adapter integrations\n\nSelect 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-------------\n\nBefore you continue, do the following:\n\n- Complete all items in the initial [Prerequisites](/ad-manager/mobile-ads-sdk/unity/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/unity/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 |---------|-----|\n | Android | iOS |\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--------------------------\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[Create custom events](/ad-manager/mobile-ads-sdk/unity/custom-events).\n\n\nEarlier implementations of custom events, such as prior to the\n\nGoogle Mobile Ads SDK\n\n\nversion\n\n20.0.0 (Android) and 9.0.0 (iOS),\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[Adapter](/ad-manager/mobile-ads-sdk/android/reference/com/google/android/gms/ads/mediation/Adapter) (Android) \\| [GADMediationAdapter](/ad-manager/mobile-ads-sdk/ios/api/reference/Protocols/GADMediationAdapter) (iOS)."]]