MMEDIARAZZIVIDEO AD SERVING TECHNOLOGY
DEVELOPERS · ADVANCED

VAST XML anatomy and sample

Read the fields in the VAST 3.0 XML returned by MEDIARAZZI.

A simplified example of the current VAST 3.0 shape:

<?xml version="1.0" encoding="UTF-8"?>
<VAST version="3.0">
  <Ad id="1">
    <InLine>
      <AdSystem>MEDIARAZZI</AdSystem>
      <AdTitle>Example commercial</AdTitle>
      <Impression>https://ads.mediarazzi.com/track/KEY/impression</Impression>
      <Creatives><Creative><Linear skipoffset="00:00:05">
        <Duration>00:00:15</Duration>
        <TrackingEvents>
          <Tracking event="start">https://ads.mediarazzi.com/track/KEY/start</Tracking>
          <Tracking event="complete">https://ads.mediarazzi.com/track/KEY/complete</Tracking>
        </TrackingEvents>
        <MediaFiles><MediaFile delivery="progressive" type="video/mp4"
            width="1920" height="1080">https://cdn.mediarazzi.com/VIDEO_ID/play_1080p.mp4</MediaFile></MediaFiles>
      </Linear></Creative></Creatives>
    </InLine>
  </Ad>
</VAST>

This example is explanatory, not a guarantee of the exact emitted element order, output media rendition or validation against every VAST XSD. The live tag is authoritative.

What a player must do

  1. Request XML over HTTPS.
  2. Parse the <Ad> and <Linear> structures.
  3. Load <MediaFile> with the expected media type.
  4. Fire tracking URLs on genuine playback events.
  5. Honor skip/click behavior where supported.
  6. Resume content appropriately.

Sequenced ads

For Ad Pods, multiple <Ad> elements contain sequence="1", sequence="2", etc. Supporting these is optional for some players even if they support basic VAST.

Reference: IAB VAST specification.