Volume navigation
Example response
ExamplePosition
The official §5 example: pre-roll / mid-roll / post-roll linear breaks, each inlining VAST 3.0 with breakStart tracking.
- Spec section
- §5
- Breaks
- pre-roll · mid-roll · post-roll
- Fill mode
- 内联 VAST 3.0(VASTAdData)
Children and structure
XML snippet
<vmap:VMAP xmlns:vmap="http://www.iab.net/videosuite/vmap" version="1.0">
<vmap:AdBreak breakType="linear" breakId="mypre" timeOffset="start">
<vmap:AdSource allowMultipleAds="true" followRedirects="true" id="1">
<vmap:VASTAdData>
<VAST version="3.0">…</VAST>
</vmap:VASTAdData>
</vmap:AdSource>
<vmap:TrackingEvents>
<vmap:Tracking event="breakStart">http://MyServer.com/breakstart.gif</vmap:Tracking>
</vmap:TrackingEvents>
</vmap:AdBreak>
<vmap:AdBreak breakType="linear" breakId="myid" timeOffset="00:10:23.125">
<vmap:AdSource allowMultipleAds="true" followRedirects="true" id="2">
<vmap:VASTAdData>
<VAST version="3.0">…</VAST>
</vmap:VASTAdData>
</vmap:AdSource>
<vmap:TrackingEvents>
<vmap:Tracking event="breakStart">http://MyServer.com/breakstart.gif</vmap:Tracking>
</vmap:TrackingEvents>
</vmap:AdBreak>
<vmap:AdBreak breakType="linear" breakId="mypost" timeOffset="end">
<vmap:AdSource allowMultipleAds="true" followRedirects="true" id="3">
<vmap:VASTAdData>
<VAST version="3.0+">…</VAST>
</vmap:VASTAdData>
</vmap:AdSource>
<vmap:TrackingEvents>
<vmap:Tracking event="breakStart">http://MyServer.com/breakstart.gif</vmap:Tracking>
</vmap:TrackingEvents>
</vmap:AdBreak>
</vmap:VMAP>Player behaviour
- 1Break 1: timeOffset="start", breakId="mypre" — the pre-roll
- 2Break 2: timeOffset="00:10:23.125", breakId="myid" — a mid-roll
- 3Break 3: timeOffset="end", breakId="mypost" — the post-roll
- 4All three are breakType="linear" with an AdSource carrying allowMultipleAds="true", followRedirects="true" and an incrementing id, plus one breakStart tracking URI each
Invalid forms
- The example's embedded VAST is elided with ellipses; copying it verbatim will not validate against the schema