Mediation Debugger 是一套测试工具。 这些工具可帮助您更快地集成 MAX 并进行发布。 您可以用这些工具来确认平台集成是否正确,确保能够成功加载和展示广告,以及完成其他任务。
Mediation Debugger 不支持自定义 SDK 平台
Mediation Debugger 中有四个部分:
要显示 Mediation Debugger,请进行如下调用:
Map? configuration = await AppLovinMAX.initialize(«your-SDK-key»);
AppLovinMAX.showMediationDebugger();
Mediation Debugger 会显示 MAX 聚合平台适配器和/或 SDK 在您应用中的集成状态。 它可以标记与每个平台相关的集成问题 (例如平台 SDK 和适配器版本不匹配或缺少 SKAdNetwork ID) 。 该工具用三个部分显示聚合平台的集成状态:
After you integrate your mediated networks, AppLovin recommends that you validate your integration. You can do this by loading and showing those networks’ test ads.
Some mediated networks may have requirements that you must meet before you can load ads. For example, the SDK may require enough time to fully initialize (this is true, for instance, for Liftoff Monetize). If you do not allow enough time, this might cause no-fill errors. AppLovin recommends that you load ads during this time window: between two and five seconds after you initialize the SDK.
要使用测试广告功能,

通过 Mediation Debugger,您可以使用广告单元的瀑布流配置查看和测试广告。
如果您使用真实流量进行测试,某些平台可能会将其视为作弊活动。 由于瀑布流配置或平台定向参数的原因,您也可能会遇到填充问题。 AppLovin 强烈建议您在确认集成有效后再使用真实广告进行测试。
首先,选择 View Ad Units 单元格。 这将显示与应用关联的广告单元列表。 然后,从列表中选择一个广告单元。 您将在 MAX Ad Unit 部分看到瀑布流配置。
查看并测试真实广告单元时,国家定向和 LAT 定向规则会被应用于您的设备。

从 Ad Units 列表中选择一个广告单元。 然后点击 Load 按钮。 这会为广告单元请求一则广告。

您可以选择一个广告平台作为某个广告单元所发出广告请求的唯一广告来源。 为此,请先为此广告单元点击 Bidding Networks 中的一个平台。 此操作会将此平台与列表中的其他平台隔离开来。 下一步,点击 Load 按钮。 此操作会为广告单元请求来自该平台的广告。

You can force live ads from selected networks in your app’s natural environment. To do so, select the Select Live Network cell in the Mediation Debugger. Then follow the instructions on the screen.
This feature is not available when you enable test mode. Some networks consider live ads on test devices to be fraudulent traffic. AppLovin recommends that you use test ads to validate your integration. You can use this feature to monitor live traffic.
在发布应用前,质量审核员可能会要求您分享 Mediation Debugger 的输出结果。 这能确保您的集成正常运行,并做好发布准备。
要分享 Mediation Debugger 输出,请先点击位于 Mediation Debugger 主屏幕右上方的

The Interactive Advertising Bureau created app-ads.txt.
It enables app publishers to prove to advertisers that they own the app that originates an ad request.
This prevents malicious actors from making fraudulent ad requests.
AppLovin 移动应用博客中的 “打击欺诈行为,改善 eCPM:如何为您的应用安装 app-ads.txt”
You can use the Mediation Debugger to check whether your app-ads.txt file contains properly formatted entries for AppLovin.
To learn how to configure an app-ads.txt file on your domain, with entries for AppLovin, see app-ads.txt Info.
Mediation Debugger 会查找包含 AppLovin 相关条目的 app-ads.txt 文件。
查找位置为您在 Google Play 商店或 Apple App Store 中列出的开发者网站的根目录:https://«your-domain»/app-ads.txt。
如果 Mediation Debugger 找到该文件,则会在 MAX 部分下显示一个 app-ads.txt 行,并将此行标记为 ✅。
