> 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/how-implement-in-stream-part3.md).

# 流内广告：如何实现流内广告。第3部分：测试广告位

一旦您的网站启用 In-stream 广告位，您就会开始通过视频广告变现流量。不过，在实施 VAST 标签后，可能会出现视频中看不到广告的情况。

这种情况最常见的原因是 In-Stream 广告位收到了一个 **空的 VAST 响应**。当没有可展示的视频广告时，我们的广告服务器会返回一个空的 VAST XML。

不过，这并不一定意味着您的 in-stream 广告位无法正常工作。为了排查播放器的 VAST 兼容性问题，您需要使用以下测试代码之一。

* **适用于主分类**：<https://s.magsrv.com/v1/vast.php?idzone=2366423>
* **适用于 Mainstream**：<https://s.magsrv.com/v1/vast.php?idzone=2916384>
* **适用于第三方 Vast 标签工具**：<https://s.magsrv.com/v1/vast.php?idzone=3165233>

如果您的播放器使用以上任意代码都能展示广告，那么说明您的集成已正确完成。您可以切换到自己的广告位并开始将流量变现。请记住，即使您在当前环境中看不到广告，来自其他国家和设备的用户也会被正确变现。

{% hint style="info" %}
**注意**：这些广告位仅用于测试。一旦您确认前贴片视频正常运行，就需要将测试广告位 ID 替换为您的真实广告位 ID。
{% endhint %}

如果您在此步骤中需要更多帮助，请选择 **技术支持** 并通过联系表单 [**此处**](https://www.exoclick.com/contact/)


---

# 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/how-implement-in-stream-part3.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.
