> 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/mei-ti-zhu-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?idz=2366423>
* **用于主流内容**: <https://s.magsrv.com/v1/vast.php?idz=2916384>
* **用于第三方 Vast 标签工具**: <https://s.magsrv.com/v1/vast.php?idz=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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.exoclick.com/tutorials/zh/jiao-cheng/mei-ti-zhu-jiao-cheng/how-implement-in-stream-part3.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.
