> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/blocking-and-redirect-rules/test-a-redirect-rule.md).

# 测试重定向规则

您可以使用 A/B 测试来确保您的重定向规则带来的效果优于原始目标 URL。impact.com 建议您在为打算使用的重定向链接创建正式重定向规则之前，先对其进行 A/B 测试。了解有关 [重定向路由规则](/brand/zh/what-would-you-like-to-learn-about/platform-features/blocking-and-redirect-rules/redirect-routing-rules-overview.md).

#### 设置 A/B 测试

您首先需要设置一个 [重定向规则](/brand/zh/what-would-you-like-to-learn-about/platform-features/blocking-and-redirect-rules/create-a-redirect-rule.md) 并设置一组特定条件。请按照以下步骤确保您的规则设置正确。

{% hint style="success" %}
**注意：** 您将需要 `广告 ID` 您想要对其进行 A/B 测试的广告的。这可以在 [管理广告](https://app.impact.com/secure/advertiser/engage/ads/manage-all-ads-flow.ihtml) 页面中进行设置。
{% endhint %}

1. 在顶部导航栏中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2F210dEQa93qyQgoJDkieL%2FUser%20profile.svg?alt=media\&token=f84c5b17-fae4-4a30-990a-9de5e57a150b) **\[用户资料] → 设置**.
2. 在右侧，位于 *技术*，选择 **阻止与重定向**.
3. 在右上角，选择 **配置规则**.
4. 为您的规则添加 \*\*名称\*\*。
   * 考虑使用一个能表明该规则为 A/B 测试的名称。
5. 在 \*条件\* 部分，使用 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c2cb550b55c51ea1eeff0acbd6f437a03b621a2c%2F60d033ae8a04c14498d5229c3c0160ac05feea7f605dbd770741793c900469f0.svg?alt=media) **【下拉菜单】** 来按如下方式配置您的 A/B 测试：
   * 将第一个条件设置为 *广告 ID* + *为* + {Ad ID}。
   * 选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6282f271b7521383385339243690b303086736d9%2F3b5a585dd2895bdf1c30d1236c72ba590dddd18717863b27074c8d313d05ae20.svg?alt=media) **\[添加]** **AND**.
   * 将第二个条件设置为 *概率* + *小于* + *50*.
   * 您必须完全按照所述方式设置这些条件。设置不同的条件（例如，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6282f271b7521383385339243690b303086736d9%2F3b5a585dd2895bdf1c30d1236c72ba590dddd18717863b27074c8d313d05ae20.svg?alt=media) **\[添加]** **添加另一个** 而不是 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6282f271b7521383385339243690b303086736d9%2F3b5a585dd2895bdf1c30d1236c72ba590dddd18717863b27074c8d313d05ae20.svg?alt=media) **\[添加]** **AND**)

     <div data-with-frame="true"><figure><img src="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FD5H1IepWaIojLdTAh02w%2FScreenshot%202026-05-06%20at%2018.23.11.png?alt=media&amp;token=c7fb35c8-c0ba-4fd5-8924-e6a3ee8fca68" alt="" width="563"><figcaption></figcaption></figure></div>
6. 在 *操作* 部分中，使用 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c2cb550b55c51ea1eeff0acbd6f437a03b621a2c%2F60d033ae8a04c14498d5229c3c0160ac05feea7f605dbd770741793c900469f0.svg?alt=media) **【下拉菜单】** 来将您的重定向规则配置为 *重定向* +（重定向链接协议）+（目标 URL）。
7. 可选地，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FiZjM1xY8o3v1iR3Zaysd%2FToggle.svg?alt=media\&token=b1550d48-bba9-4e81-8604-bc12370c5caa) **\[开启切换]** **安排规则** 以定义此重定向规则必须处于活动状态的时间段。
8. 设置 *排名* 重定向规则的 **高**.
9. **保存** 您的规则。

#### 跟踪您的 A/B 测试

如果您想跟踪重定向规则的成功情况，可以使用 [汇总 A/B 性能报告](/brand/zh/what-would-you-like-to-learn-about/platform-features/multi-program-reports/operations-reports/aggregate-ab-performance-report.md)。该报告在用于测试特定着陆页 URL 时通常能提供最佳数据。这些数据可用于创建新的重定向规则、修改现有广告，或在未来以不同方式设置广告。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/blocking-and-redirect-rules/test-a-redirect-rule.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
