> 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).

# 为广告创建深度链接

如果品牌允许广告使用深度链接，您就可以将经过深度链接编码的网址添加到现有跟踪链接中。如果您已经有该广告的完整跟踪网址，则无需登录 impact.com 即可创建深度链接。不过，如果您想为 *自定义短链接*创建深度链接，则需要先在 impact.com 平台中获取完整跟踪网址。

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

{% hint style="warning" %}
**注意：** impact.com **强烈建议您** 从 impact.com 平台获取广告代码，以减少自定义广告代码时出错。
{% endhint %}

1. 创建好 [跟踪链接](https://help.impact.com/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. 请确保：
   * 深度链接指向的网址属于允许使用的域名和路径。
   * 网址已进行百分号编码（即使用有效的 ASCII 字符）。

## 为自定义短链接创建深度链接

深度链接只能通过完整跟踪网址创建。如果您目前在广告中使用自定义短链接，则需要先登录 impact.com 获取其完整跟踪网址。

{% hint style="success" %}
**什么是自定义短链接？** 自定义短链接是素材完整跟踪网址的缩短版本。如果品牌允许，您可以从 [创建自定义短链接](https://help.impact.com/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/tracking/tracking-links/create-and-manage-links/create-manage-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. 在 *跟踪网址* 标题下方复制网址。
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.
