---
metadata:
  - name: generator
    content: Diplodoc Platform v5.70.0
alternate:
  - https://yandex.com.tr/support/direct/en/features/ad-templates.md
  - https://yandex.com.tr/support/direct/ru/features/ad-templates.md
  - https://yandex.com.tr/support/direct/tr/features/ad-templates.md
  - https://yandex.com.tr/support/direct/zh/features/ad-templates.md
  - href: https://yandex.com.tr/support/direct/zh/features/ad-templates.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.com.tr/support/direct/zh/llms.txt?revision=r22103639
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/support/direct/zh/llms.txt?revision=r22103639

# 模板。 制作相似广告

在 Yandex.Direct 中，可使用一种特殊工具利用大量关键词制作相似广告。 它们被称为模版。 使用模版，您可将关键词粘贴到标题、正文、网站链接、和/或每次显示此关键词的广告链接中。 这样，可以为每个关键词显示独特的广告文案。



## 如何添加模版

模版可在创建或编辑广告时添加。 为此，请在关键词的两端标上“`#`”字符：

![Ad editing form with a template](../_assets/ad-edit-template.png =450x){.border-yes}

您应当设置一个默认关键词（如：`#zoo#`），这样您的广告在显示时仍然有意义。

关键词的选择应确保在填充模板后，文本语法正确，并符合审核要求。 例如：

![List of keywords for the template](../_assets/ad-template-keys.png =450x){.border-yes}

关键词的字母大写不会改变其插入广告的位置或时间。 如果关键词中有空格，空格将在粘贴到网站链接时用 `%20` 符号代替。

标题、网站链接、和显示链接中可以使用的最大字符数是[有限](https://yandex.com.tr/support/direct/zh/troubleshooting/interface.md)的。 如果在将关键词粘贴到模版后超过了此限制，则将使用默认关键词代替此关键词。

当您在链接中使用关键词代替模版时，请确保生成的 URL 有效。 链接中的西里尔字母会自动编码为 UTF-8。 您的网站能正确地接受这种编码请求很重要。 在 Yandex Direct 界面中，带广告模版的链接将用 ![](../_assets/link-template.png) 符号标记。

{% note alert %}

此替换只可能出现在广告的主链接中。 快速链接不支持模板替换。

{% endnote %}

<!-- source: zh/_includes/footer.md -->
#### 有问题吗？ {#questions}

{% note alert %}

我们的客服只能协助您处理与您联系我们时使用的用户名关联的广告系列。 您可以通过在另一个浏览器标签页中打开 [ya.ru](http://ya.ru/) 来查看您的用户名。 我们的团队只有在处理您的请求时才能访问您的数据。

{% endnote %}

扫描或轻触二维码即可访问链接。

<!-- стили желтых кнопок-катов: -->



<!-- стили желтой кнопки-ссылки: -->



<!-- стили куар-кодов: -->


<!-- стили полезных ссылок: -->




<!--------------------------------------- локаль ru ---------------------------------------------->
<!-------------------------------------- /локаль ru ------------------------------------------->



<!-------------------------------------- локаль en ------------------------------------------------->
<!---------------------------------------- /локаль en ------------------------------------------>



<!---------------------------------------- локаль zh ------------------------------------------------>
<!----------------------------------------- /локаль zh ----------------------------------------->



<!----------------------------------------- локаль tr ----------------------------------------------->
<!---------------------------------------- /локаль tr -------------------------------------------->
<!-- endsource: zh/_includes/footer.md -->
