VAST Tag Parsing - IM trying to retrieve a movie file from a vast tag

2k Views Asked by At

http://vid.springserve.com/vast/38264?w=[WIDTH]&h=[HEIGHT]&url=[DOMAIN]&cb=[CACHEBUSTER]

this is my example VAST tag... I need to open a movie file from this, I assume it is in the .js at the bottom but I can't quite figure out how to work it. How can I get a .mp4 advertisement from this VAST tag?

1

There are 1 best solutions below

6
zyexal On

Have a look to the MediaFile part of the VAST:

<MediaFile delivery="progressive" width="640" height="480" apiFramework="VPAID" type="application/javascript">
    <![CDATA[ https://cdn.springserve.com/vd/vd-0.2.21.js ]]>
</MediaFile>

The VAST you receive contains a VPAID ad. See apiFramework="VPAID" and type="application/javascript". Meaning you can't get the MP4 from that VAST tag.

What you can get and use is the VPAID-JS. The VPAID will load and play-out any video and/or animation depending on it's implementation and the underlying ad-server configuration.

@see: IAB