Skip to main content

流内:兼容的 VAST 封装播放器

流内广告区可提供两种类型的 VAST 元素: InlineWrapper。Inline 元素是为标准视频文件提供服务的常规视频广告,而 Wrapper 元素则包含一个指向外部 VAST 标签的重定向,反过来也可以为其他 Inline 或 Wrapper 元素提供服务。

最独特的组件是 "VASTAdTagURI",它指定了该广告重定向到的外部 VAST:


<VAST version="3.0">
<Ad id="6294520">
<Wrapper>
<AdSystem>ExoClick</AdSystem>
<VASTAdTagURI>
<![CDATA[ https://myotheradserver.com/xml?cid=1111111 ]]>
</VASTAdTagURI>
<Impression id="exotr">
<![CDATA[ https://mytrackingsolution.com/vregister.php?a=vimp&tracking_event=impression&idzone=22222&data=abcd ]]>
</Impression>
<Error>
<![CDATA[ https://mytrackingsolution.com/vregister.php?a=vview&errorcode=[ERRORCODE]&idzone=22222 ]]>
</Error>
<Creatives>
<Creative sequence="1" id="90160834">
<Linear>
<TrackingEvents>
<Tracking id="prog_1" event="progress" offset="00:00:10.000">
<![CDATA[ https://mytrackingsolution.com/vregister.php?a=vview&tracking_event=progress&progress=00:00:10.000&idzone=22222&data=abcd ]]>
</Tracking>
</TrackingEvents>
<VideoClicks>
<ClickTracking>
<![CDATA[ https://mytrackingsolution.com/click.php?d=H4sIAAAAAAAAA21T227bMAz9mrwGInV_HLAV6ZItGdY6Q18KS5ayYL7Fl6Ix9PGjk3ZtgYGGeEiaRzRJK7RCIkss_R6Gtl_wTwu8oefQLLtq6g9lfVj6piJPX.Xd0DYtQVAyD7l1vih0nrvcCxk1FgyjNLFA4YwA5bzUPnopmAMnBLO5N8ilEnlc8JuxD91tseCfIWJeKG6cA8UDiwgObKG8I3ZpmHRSBacdBIoAaKdA6pBTEoAF6e0CVRUq98LWnIrs.2qXZavdbkP6Xvumvt9nU7aH7VhWXTk0bbGWcD90p4f6bqy6Yq0y1p3c5utp03W_fo4leR5Y117gtznY1hnuc32eWObA3.HzlOF52u_Z3Rmm_QQZwBbbCgfAcRBlyeqy5eNQluM4cBBDW_ecLp3qK3n2Sr5W.fk4hiN9wvN_ghmbZrhZPdbn..Ot_fE41sR3oqKbsan6CZphoKZgBRWe6mkY0K.QBqj6Zux8uHSEa.qYkeRsgUx1nfdsIpnPT8ciNP11xKrlHxLqxs8DIpQ_E5iT.j_HdhtjH4bZwWhdrodMtEGguUJurNDpHW.SsEQpl4hs1skyUMxwkV4uSpKZlAQkTKDSvIkJSJLS2gdGGxNkRLMEZRhow5EpMCiVkkloDdxakwoBhfGFNZExh0wEaxijQPDRCNSB6Fi6UJO6GG9yKVyldx7z7w0Q18yEVDIdSVKRs_3l5.4DyauAeYMvul9W.aHvni6teAKdtusEzgkfeaTfRTJlI0TrmAbDo7cOhf8Lga0kNZUDAAA-&noredirect=1 ]]>
</ClickTracking>
</VideoClicks>
</Linear>
</Creative>
</Creatives>
<Extensions>
<Extension type="waterfall" fallback_index="0">
<Extension/></Extension>
<Extension>
<DSA>
<Behalf>Company Ltd</Behalf>
<Paid>Company Ltd</Paid>
<WhyThisAd>The time of day. Your general location (e.g. country or region). Websites or apps you may have visited.</WhyThisAd>
<ClickThrough>
<![CDATA[ https://a.mytrackingsolution.com/about-this-ad.html?data=eyJhZHZlcnRpc2VyX25hbWUiOiJUZWNobml1cyBMdGQifQ%3D%3D ]]>
</ClickThrough>
</DSA>
</Extension>
</Extensions>
</Wrapper>
</Ad>
</VAST>

要想通过这些营销活动实现流量盈利,您必须确保用于显示广告的播放器与包装器兼容,这意味着它可以获取并读取包装器标签中的内容。

The players listed in In-Stream: How to implement In-Stream Part 2 - Implementation examples are 100% VAST compatible with our ads, meaning they will also work for Wrapper VAST tags:

如果您没有使用上述任何播放器,请在您的播放器中添加以下 测试 VAST 标签,以测试播放器的 Wrapper 兼容性:


https://s.magsrv.com/v1/vast.php?idzone=3165233

该 VAST 标签旨在始终为封装元素提供服务。如果您的播放器无法显示此元素,请考虑更新或更换播放器。如果您无法更改播放器,请确保禁用所有内流广告区的 VAST Wrapper 支持

这样,您的内流广告区就不会显示任何 Wrapper 元素,从而避免内流广告服务出现任何问题,并确保您的流量可以盈利。