> 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/partner/zh/nin-xiang-liao-jie-shen-me/platform-features/tracking/tracking-links/create-and-manage-links/create-a-deep-link-for-an-ad.md).

# 为广告创建深度链接

如果品牌允许某个广告使用深度链接，那么你可以将一个经过深度链接编码的 URL 添加到现有的跟踪链接中。如果你已经拥有该广告的完整跟踪 URL，那么你无需登录 impact.com 即可创建深度链接。不过，如果你想为一个 *个性化链接*那么，你需要先在 impact.com 平台中检索完整的跟踪 URL。

#### 无需登录 impact.com 即可创建深度链接

{% hint style="warning" %}
**注意：** impact.com **强烈建议** 从 impact.com 平台检索你的广告代码，以减少广告代码自定义错误。
{% endhint %}

1. 一旦你已经 [已创建你的跟踪链接](/partner/zh/nin-xiang-liao-jie-shen-me/platform-features/tracking/tracking-links/create-and-manage-links/create-tracking-links.md) 并且已随手准备好，就可以构建你的深度链接。
2. 在跟踪链接末尾添加值 `u={编码后的落地页 URL}`.

   * 你的链接格式应如下所示： `https://{跟踪域名}/c/{账户 ID}/{广告 ID}/{活动 ID}?u={编码后的落地页 URL}`

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>示例：</strong> <code>https://stark-industries.com/c/1987654/1234567/15676?u=https%3A%2F%2Fexample.com%2Fstore%2Fproduct.html</code></p></div>
3. 确保：
   * 深度链接 URL 属于允许的域名和路径。
   * 该 URL 已进行百分号编码（即，使用有效的 ASCII 字符）。

#### 为个性化链接创建深度链接

只能从完整的跟踪 URL 创建深度链接。如果你当前为该广告使用的是个性化链接，那么你需要先登录 impact.com 以检索其完整的跟踪 URL。

{% hint style="info" %}
**什么是个性化链接？** 个性化链接是某个素材完整跟踪 URL 的缩短版本。如果品牌允许，你可以 [创建个性化链接](/partner/zh/nin-xiang-liao-jie-shen-me/platform-features/tracking/tracking-links/create-and-manage-links/create-a-vanity-link.md) 在你的合作伙伴仪表板中。
{% endhint %}

1. 在顶部导航菜单中，选择 **内容 → 易记链接**.
2. 将鼠标悬停在相关的个性化链接上，然后选择 ![](/files/bc9aa794eb347d6f55e668dbe0e98eae7d1cd905) **\[更多] → 编辑**.
3. 在 *跟踪 URL* 标题，复制该 URL。
4. 按照上述流程构建你的深度链接。


---

# 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/partner/zh/nin-xiang-liao-jie-shen-me/platform-features/tracking/tracking-links/create-and-manage-links/create-a-deep-link-for-an-ad.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.
