> For the complete documentation index, see [llms.txt](https://docs.exoclick.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exoclick.com/advertisers/zh/guang-gao-huo-dong/macros.md).

# 动态令牌

这些是 **动态令牌** 用于通过活动 URL 和广告主的跟踪系统跟踪相关数据：

* **{actual\_cost}**：每次展示/点击实际支付的 CPM / CPC。

{% hint style="info" %}
**注意：** 某些第三方跟踪解决方案会对通过跟踪 URL 传递的非常小的十进制值进行四舍五入或截断。当按展示计费的活动发送非常小的成本值（例如 0.00002）时，某些跟踪器可能会对该数字四舍五入或去掉前导零。这可能导致成本在跟踪器中显示为 0 或明显更低，即使发送的是有效值。此行为取决于跟踪器的精度，并非跟踪问题。
{% endhint %}

* **{campaign\_id}**：活动 ID。
* **{category\_id}**：检测到的类别 ID。
* **{conversions\_tracking}**：当客户点击广告时生成的唯一 ID。
* **{cost}**：点击或展示的成本。
* **{country}**：访客的 3 位国家代码。
* **{email\_encoded}**：此令牌可用于将已登录用户的电子邮件插入所有格式的落地页 URL 中。&#x20;

{% hint style="info" %}
**注**：{email\_encoded} 仅可按需提供。请联系您的客户经理以启用它。
{% endhint %}

* **{format}**：横幅尺寸。例如：300×250。
* **{keyword}**：在针对特定关键词的活动中匹配到的关键词。如果没有匹配项，此处将为空。
* **{language}**：访客的语言。
* **{pricing\_model}**：活动的计费模式（1 = CPC，2 = CPM，4 = Smart CPM，5 = CPV，7 = Smart CPC）。
* **{site\_id}**：展示广告的网站 ID 号。
* **{src\_hostname}**：发布者提交用于展示广告的网站名称，不包括开头的 HTTP 协议（例如 examplesite.com）。
* **{sub}**：发布者的 Sub ID。
* **{tags}**：已识别出与该次广告展示相关的关键词列表。
* **{time}**：用于防止缓存的时间戳。
* **{url}**：发布者提交到管理面板用于展示广告的网站完整 URL，包括 HTTP 协议（例如 ）。&#x20;

{% hint style="info" %}
**注**：此令牌不会显示广告向用户展示时所在的 URL；只会显示在我们平台中注册的 URL。
{% endhint %}

* **{variation\_id}**：变体（横幅或落地页）的 ID。
* **{zone\_id}**：展示该广告的广告区域 ID。

## 在原生广告和推送通知中使用动态令牌

如果您在第 2 步使用原生广告或推送通知创建活动，您可以添加动态令牌，以 **显示** **本地化的** **文本** 根据访客的信息向其显示，从而让您更有效地定向广告。

<figure><img src="/files/dd856cc201f5497188ebb8ef9d1ebc86fde2f6c0" alt=""><figcaption></figcaption></figure>

这些令牌适用于 **标题** 和 **描述** 字段。要添加令牌，请点击 **“+添加令牌”** 按钮，然后使用单选按钮选择该令牌的大小写形式。此功能可用的令牌如下：&#x20;

* **{country\_name}**：访客的本地化国家名称。例如：西班牙。
* **{region}**：访客的本地化地区名称。例如：加泰罗尼亚。
* **{city}**：访客的本地化城市名称。例如：巴塞罗那。
* **{language\_name}**：访客的本地化语言。例如：西班牙语
* {**日}：** 访客访问网站时的本地化日期。例如：星期一、星期二、星期三。
* **{operating\_system}：** 访客的操作系统。例如：Windows 10。
* **{device}：** 访客正在使用的设备。例如：iPhone。
* **{carrier}：** 访客用于访问网站的运营商。例如：Vodafone。
* **{browser}：** 访客正在使用的浏览器。

这些动态令牌将以您为活动设置的语言显示。语言在 **变体文本语言** 下拉菜单中，位于 **分发算法**。默认语言为英语。

<figure><img src="/files/521cee2e8f3e10f52771bcb5369f885274d4ec9b" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**注意：** 您只能为同一活动中的所有变体选择一种语言。对于不同语言的广告，您应该为每种语言分别创建单独的活动。
{% endhint %}


---

# 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://docs.exoclick.com/advertisers/zh/guang-gao-huo-dong/macros.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.
