> 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/tutorials/zh/jiao-cheng/fa-bu-shang-jiao-cheng/guang-gao-shua-xin-ru-he-she-zhi-he-shi-yong-guang-gao-shua-xin.md).

# 广告刷新：如何设置和使用广告刷新

## 广告刷新：如何设置和使用广告刷新

广告刷新允许单个广告位在同一次页面浏览中展示多个广告。它不会只加载一个创意并一直保留在那里，而是在设定的时间间隔后自动加载新的广告，因此停留在页面上的访客会随着时间看到多个不同的广告主。这样，你可以从同一展示位获得更多可见展示机会，也能让广告主有更多机会竞争，而无需在网站上新增更多广告位。

该功能在管理面板中按广告位单独设置，因此如果你的广告位已经通过异步脚本上线，就无需修改网站代码即可启用。

### 哪些广告位支持广告刷新

你会在以下广告位格式中找到广告刷新选项：

* [横幅](/publishers/zh/wang-zhan-yu-ban-wei/create-zone.md#banner)
* [即时消息](/publishers/zh/wang-zhan-yu-ban-wei/create-zone.md#instant-message)
* [固定横幅](/publishers/zh/wang-zhan-yu-ban-wei/create-zone.md#sticky-banner)
* [移动横幅](/publishers/zh/wang-zhan-yu-ban-wei/create-zone.md#mobile-banner)
* [移动即时消息](/publishers/zh/wang-zhan-yu-ban-wei/create-zone.md#mobile-instant-message)
* [推荐组件（原生）](/publishers/zh/wang-zhan-yu-ban-wei/create-zone.md#recommendation-widget)

{% hint style="info" %}
对于多格式广告位，广告刷新不会作为单独的设置显示，但只要多格式中的每个广告位都启用了广告刷新，它仍然会生效。
{% endhint %}

### 如何启用广告刷新

1. 前往 **站点与广告位** 选项卡并点击 **新建广告位** （或打开现有广告位进行编辑）。
2. 选择一个受支持的格式（例如， **横幅**）然后点击 **下一步**.
3. 照常填写广告位详情。
4. 找到 **广告刷新** 选项并选择你的刷新间隔： **30、60、90 或 120 秒**. **默认启用** 为 **30 秒**.
5. 完成广告位设置并点击 **创建** （或 **保存**).
6. 请确保该广告位在你的网站上通过 **异步脚本** 进行部署。广告刷新仅适用于 async 标签，不适用于 iFrame 标签。

```html
<script async type="application/javascript" src="https://a.magsrv.com/ad-provider.js"></script>

<ins class="eas6a97888e" data-zoneid="123456"></ins>

<script>
(AdProvider = window.AdProvider || []).push({"serve": {}});
</script>
```

就是这样。广告位一旦上线，就会按照你选择的间隔开始刷新。

### 其工作原理

后台会执行一些操作，以确保刷新的展示质量较高：

* **它只会在广告位显示在屏幕上时刷新。** 广告位的计时器只有在该广告位位于访客视口内时才会运行。如果访客把广告滚出可视范围，计时器会暂停，并在广告重新进入视图时继续计时。没人看到的广告不会刷新。
* **它不会重复同一个广告主。** 每次刷新都会尽可能投放不同的广告活动，这样同一个访客就不会一遍又一遍看到同一个广告。
* **每位访客最多刷新 10 次。** 对于某位访客，当某个广告位已刷新 10 次后，它将在该页面浏览的剩余时间内停止刷新。

### 原生（推荐组件）广告位中的广告刷新

推荐组件广告位也支持广告刷新，刷新间隔与横幅相同（30、60、90 或 120 秒），并且每位访客最多刷新 10 次。

由于原生组件会同时展示多个广告，组件中的所有广告会在每个刷新周期一起刷新。只有在有足够的合格广告填满组件中的每个位置时才会刷新，因此它看起来不会半空。&#x20;

### 充分利用广告刷新的技巧

* 广告刷新在能长时间保持可见的展示位上效果最佳，例如移动端页眉，或访客在阅读或浏览时始终能看到的桌面端展示位。
* 由于刷新与可见性相关，快速滚动掠过的展示位刷新频率会更低（甚至不会刷新），这是正常现象。


---

# 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/tutorials/zh/jiao-cheng/fa-bu-shang-jiao-cheng/guang-gao-shua-xin-ru-he-she-zhi-he-shi-yong-guang-gao-shua-xin.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.
