> 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/configure-block-routing-rules.md).

# 配置阻止路由规则

**拦截**，这是一种 **路由规则**，可防止流量被重定向到其他网页。当符合特定条件（称为 *条件*）的流量出现时，例如点击了由某个合作伙伴投放的广告，用户将无法访问该广告的目标 URL。

来自特定合作伙伴、特定国家/地区，甚至来自某个 URL（即 *引荐 URL*）的流量，都可以被拦截，无法到达目标 URL。

#### **创建拦截规则**

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. 为规则添加 **名称** 。
5. 在 *条件* 部分，使用下拉菜单配置拦截规则。
   * 查看下方的 *条件参考* ，了解不同条件属性的详细信息。
6. 在 *操作* 部分，确保将下拉菜单设为 **拦截**.
   * 如果要显示 [插页式网页](https://en.wikipedia.org/wiki/Interstitial_webpage)，请开启并配置 ![](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) **\[开启]** **使用插页式页面**。请确保将 *模板* 下拉菜单设为 **自定义**.
7. 你也可以选择 **安排时间** ，设置此拦截规则的生效时间。
8. **设置优先级** ，为拦截规则设置优先级。
   * 如果多个拦截规则具有部分相同的条件和相同的 **优先级**，则 **ID** 较小的规则优先。
9. 如果你不希望拦截立即开始，且尚未为规则 **安排时间** ，可以 **暂停** 该规则。
   * 要使此规则生效，你需要手动取消暂停。
10. **保存** 您的拦截规则。

    <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%2FT6dkCVeK5xMijSXxsYQg%2FScreenshot%202026-05-06%20at%2018.20.08.png?alt=media&amp;token=751a0b66-a274-4d9e-8be5-be0c3a58f41e" alt="" width="563"><figcaption></figcaption></figure></div>

**插页设置**

有关设置拦截插页的各个可用选项的更多信息，请参阅下表。

|           |                    |
| --------- | ------------------ |
| **插页设置项** | **说明**             |
| 标题文本      | 在插页上以大号字体显示的简短语句。  |
| 正文文本      | 流量用户将在插页上看到的信息。    |
| 预览        | 打开新的浏览器标签页以预览插页页面。 |

<details>

<summary>条件参考</summary>

*条件* 设置以 *AND/OR* 系统运行：选择 ![](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** 将进一步细化特定条件，而选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6282f271b7521383385339243690b303086736d9%2F3b5a585dd2895bdf1c30d1236c72ba590dddd18717863b27074c8d313d05ae20.svg?alt=media) **\[添加]** **添加另一项** 将添加一个独立条件；该条件可以满足，但并非必须满足，拦截规则才会生效。

以下是可用于填写条件的不同属性：

|          |                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **条件属性** | **说明**                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| IP 地址    | 设备注册的 IP 地址。                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| 共享 ID    | 由合作伙伴控制、用于报告的查询字符串参数。                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 国家/地区    | 流量来源所在的国家/地区。                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| 地区       | 流量来源所在的地理区域。                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| 广告状态     | 关联广告的使用状态。                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| 子 ID 1   | 由合作伙伴控制、用于报告的查询字符串参数。                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 子 ID 2   | 由合作伙伴控制、用于报告的查询字符串参数。                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 子 ID 3   | 由合作伙伴控制、用于报告的查询字符串参数。                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| MP ID    | impact.com 为合作伙伴分配的唯一 ID。                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| 设备类型     | 触发拦截规则时客户使用的设备类型。                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| 引荐 URL   | 将流量引向原始目标 URL 的网站 URL。                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| 落地页      | 原始目标 URL。                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| 产品 SKU   | 广告所推广对象的 ID，通常在产品目录中指定。                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| 广告 ID    | impact.com 为广告分配的唯一 ID。                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| 概率       | 拦截规则将随机选取一定百分比的流量并将其重新路由。此功能主要用于 A/B 测试。                                                                                                                                                                                                                                                                                                                                                                                                                    |
| 移动设备回退   | <p>如果广告已配置 <a href="https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/blocking-and-redirect-rules/create-app-install-interstitials.md">移动设备回退</a> ，关联的路由规则可以请求将流量重新路由到相应的应用商店以下载应用。</p><p>您无需设置包含移动设备回退条件的拦截路由规则，因为流量不会被重定向。了解更多关于 <a href="https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/blocking-and-redirect-rules/create-app-install-interstitials.md">移动设备回退和应用插页</a>.</p> |

</details>

#### **批量上传拦截规则**

也可以使用 .XLSX 或 .CSV 文件批量上传和配置拦截规则。文件中的列不一定都可用——请参阅 [impact.com 路由规则批量上传数据字段](https://docs.google.com/spreadsheets/d/1wt39bVgv9p4XVNzF8MaBdRFTAD5DUPwZKM6jnR5OAnM/edit?usp=sharing) 电子表格，了解每一列的详情。

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. 选择 **选择文件**，然后选择您的文件。
   * 请参阅 [impact.com 路由规则批量上传数据字段](https://docs.google.com/spreadsheets/d/1wt39bVgv9p4XVNzF8MaBdRFTAD5DUPwZKM6jnR5OAnM/edit?usp=sharing) 电子表格，了解文件的格式要求。
5. 选择 **下一步**.
6. 如果存在验证错误，请选择 **返回** 上传新文件。否则，请选择 **接受并创建规则**.
   * 存在验证错误的拦截规则不会被创建。

通过批量文件上传的重定向规则可能需要最多一天才能处理完成。

<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%2FJccjiEuG80nZGIP4QUlN%2FScreenshot%202026-05-06%20at%2018.32.03.png?alt=media&amp;token=319c25bf-2bba-4e81-b2b5-79ad7a610ddb" alt="" width="375"><figcaption></figcaption></figure></div>

#### **归档拦截规则**

归档路由规则的效果与停用规则相同：系统将不再根据该拦截规则中设置的条件拦截流量。任何类型的路由规则都无法彻底删除。

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. 找到要归档的规则，然后选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FMLtRUwWz0pujlfmYWOgg%2FMoreVN.svg?alt=media\&token=03a3c355-a347-4207-baf7-c44fadf6d080) **\[更多]** **→ 归档**.
4. 选择 **我已了解，继续**.

您可以随时重新启用已归档的拦截规则，只需选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FMLtRUwWz0pujlfmYWOgg%2FMoreVN.svg?alt=media\&token=03a3c355-a347-4207-baf7-c44fadf6d080) **\[更多]** **→ 重新启用**.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
