# 测试 Unity Ads 集成

> 通过在 Unity Ads 后台中启用测试模式，可以在发布应用之前验证广告功能以确保安全。

> **Important:**
>
> 必须在测试广告集成之前启用测试模式，以免因欺诈而被标记。

在发布项目之前，请按照以下步骤启用测试模式：

1. 从 [Unity Monetization（变现）后台](https://cloud.unity.com/monetization)中选择您的项目。
2. 在 \*\*CURRENT PROJECT（当前项目）\*\*下，从二级导航栏中选择 **Settings（设置）**。
3. 向下滚动到 \*\*Test mode（测试模式）\*\*部分。
4. 根据要启用测试模式的设备，编辑 **Apple App Store** 或 **Google Play Store（Google Play 应用商店）**。
5. 启用 \*\*Override client test mode（覆盖客户端测试模式）\*\*复选框，然后选中 \*\*Force test mode ON for all devices（对所有设备强制开启测试模式）\*\*单选按钮。

运行项目并测试广告实现。
