Help Center Manage Your Account Technical

How do I setup a video ad with multiple bitrates?

If you have multiple version of a video ad with different bitrates or resolutions, you can set up these media files via the "Custom VAST MediaFiles XML" option when you create a new video ad. This is useful when your visitors view the video ad on different devices. You can set a lower quality ad for mobile users that saves bandwidth and a high quality ad for visitors on desktop/laptop.

Examples

A video ad with different bit rates:
<MediaFiles>
   <MediaFile delivery="progressive" bitrate="256" width="480" height="360" type="video/mp4">
      <![CDATA[ http://example.com/low.mp4 ]]>
   </MediaFile>
   <MediaFile delivery="progressive" bitrate="512" width="480" height="360" type="video/mp4">
      <![CDATA[ http://example.com/medium.mp4 ]]>
   </MediaFile>
   <MediaFile delivery="progressive" bitrate="1024" width="480" height="360" type="video/mp4">
      <![CDATA[ http://example.com/high.mp4 ]]>
   </MediaFile>
</MediaFiles>
A video ad available via different streaming and standard protocol. This setup can be used with Wowza Media Server to support different device platforms (eg: Windows vs. iOS)
<MediaFiles>
  <MediaFile delivery="progressive" bitrate="512" width="480" height="360" type="video/mp4">
    <![CDATA[ http://example.com/ad.mp4 ]]>
  </MediaFile>
  <MediaFile delivery="streaming" bitrate="512" width="480" height="360" type="video/mp4">
    <![CDATA[ rtmp://example.com/streaming/ad.mp4 ]]>
  </MediaFile>
</MediaFiles>
A video and audio playlist like m3u8 file. Please make sure your video player supports m3u8 format as a VAST video ad.
<MediaFiles>
  <MediaFile delivery="streaming" type="application/x-mpegURL" width="1280" height="720">
    <![CDATA[ https://example.com/video.m3u8 ]]>
  </MediaFile>
</MediaFiles>
Our ad server will return the VAST XML using your custom media files so it is up to the video player to parse and display it. You should consult the video player's configuration, documentation or technical support to make sure the custom media file is supported. Video player's support for VAST ad formats might not be the same as its support for the main video format.

Other Articles in Technical

Solve technical issues while working within the ad server

Cannot find an answer for your question? Ask our Customer Care team

Related