> 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/ni-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/ni-xiang-liao-jie-shen-me/platform-features/tracking/tracking-links/create-and-manage-links/create-tracking-links.md) 并将其准备好，就可以构建你的深度链接。
2. 在跟踪链接的末尾添加值 `u={Encoded Landing Page URL}`.

   * 你的链接格式应如下所示： `https://{tracking domain}/c/{Account ID}/{AdID}/{Campaign ID}?u={Encoded Landing Page 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="success" %}
**什么是个性化链接？** 个性化链接是资产完整跟踪 URL 的缩短版本。如果品牌允许，你可以 [创建个性化链接](/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/tracking/tracking-links/create-and-manage-links/create-a-vanity-link.md) ，方法是通过你的合作伙伴仪表板。
{% endhint %}

1. 在顶部导航菜单中，选择 **管理** **→ 更多 →** [**个性化链接**](https://app.impact.com/secure/mediapartner/ads/manage-vanity-urls-flow.ihtml).
2. 将鼠标悬停在相关的个性化链接上，然后选择 ![](https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2FAdEhp3l0LUFmpTmLdgZK%2F%5BMore%5D%20vNext%202.svg?alt=media\&token=def8ea40-8fca-4be5-ad36-8d5bb4bb4b6b) **\[更多] → 编辑**.
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 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/partner/zh/ni-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=<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.
