Example Programmatic Ad

Prev Next

Below is an example of what a VAST ad response looks like. The values are for illustration only and are not fixed; the example below is intended to show the structure and elements of a returned VAST file, but the number of elements, attributes used, etc. will differ.

<?xml version="1.0"?>
<VAST version="4.3">
  <Ad sequence="1" id="XYZ-9485167f1696" adType="audio">
    <InLine>
      <Error><![CDATA[ https://na-east-ondemand-impression.tritondigital.com/ondemand/lost?position=midroll&listenerId=idfa:94ad81f&contentId=Y206YWzg0MDYzMSZmPTE&ec=%5BERRORCODE%5D ]]></Error>
      <Advertiser>advertiser.com</Advertiser>
      <AdSystem version="1.0">Campaingn Manager</AdSystem>
      <AdTitle>GoRVing_LongEnough_30R_200528</AdTitle>
      <Description>GoRVing_LongEnough_30R_200528</Description>
      <Category>IAB13-6</Category>
      <Category>IAB13-6</Category>
      <Expires>7200</Expires>
      <Impression id="ImpressionConfirmationURL"><![CDATA[https://na-east-ondemand-impression.tritondigital.com/ondemand/impression?position=midroll&listenerId=idfa:94ad81f&contentId=Y206YWzg0MDYzMSZmPTE]]></Impression>
      <Impression id="TritonDigital Yield-Op"><![CDATA[https://report.live.streamtheworld.com/imp?auction-id=84a17870-b7ce-4a01-becf-408cbe0446d0]]></Impression>
      <Impression id="7d1adb3b-e37b-4b0c-8a82-9485167f1696"><![CDATA[https://pixla.adsrv.com/pix/3312b272-7ac2-40e4-30045d63fe5/7d1adb3b-e37b-4b0c-8a82-9485167f1696.pix.gif]]></Impression>
      <Creatives>
        <Creative id="7d1adb3b-e37b-4b0c-8a82-9485167f1696">
          <Linear>
            <Duration>00:00:30</Duration>
            <TrackingEvents>
              <Tracking event="start"><![CDATA[https://pixla.adsrv.com/quartile/start/Q]]></Tracking>
              <Tracking event="firstQuartile"><![CDATA[https://pixla.adsrv.com/quartile/first/3312b272-7ac2-40e4-8d29-330045d6iOjQxODYwfQ]]></Tracking>
              <Tracking event="midpoint"><![CDATA[https://pixla.adsrv.com/quartile/midpoint/3312b272-7ac2-40e4-8d29-330045d63fjQxODYwfQ]]></Tracking>
              <Tracking event="thirdQuartile"><![CDATA[https://pixla.adsrv.com/quartile/third/3312b272-7ac2-40e4-8d29-330045d6iOjQxODYwfQ]]></Tracking>
              <Tracking event="complete"><![CDATA[https://pixla.adsrv.com/quartile/complete/3312b272-7ac2-40e4-8d29-330045d63fjQxODYwfQ]]></Tracking>
            </TrackingEvents>
            <MediaFiles>
              <MediaFile height="0" width="0" type="audio/mpeg" delivery="progressive" bitrate="128" id="057784e43ad6cacd61d895a84420ef59ef.mp3"><![CDATA[https://mediaboxservices.streamtheworld.com/media/yieldop-audio/c52dc06688448d75445130cb0ef59ef.mp3]]></MediaFile>
              <MediaFile delivery="progressive" type="audio/mpeg" bitrate="320" width="0" height="0"><![CDATA[https://static.cdn.dspsrv.com/assets/2/2d2a/2d2a0c2d-3db4-44fa-b775-6fd9a7eab846_320.mp3]]></MediaFile>
              <MediaFile delivery="progressive" type="audio/mpeg" bitrate="256" width="0" height="0"><![CDATA[https://static.cdn.dspsrv.com/assets/2/2d2a/2d2a0c2d-3db4-44fa-b775-6fd9a7eab846_256.mp3]]></MediaFile>
              <MediaFile delivery="progressive" type="audio/mpeg" bitrate="192" width="0" height="0"><![CDATA[https://static.cdn.dspsrv.com/assets/2/2d2a/2d2a0c2d-3db4-44fa-b775-6fd9a7eab846_192.mp3]]></MediaFile>
              <MediaFile delivery="progressive" type="audio/mpeg" bitrate="128" width="0" height="0"><![CDATA[https://static.cdn.dspsrv.com/assets/2/2d2a/2d2a0c2d-3db4-44fa-b775-6fd9a7eab846_128.mp3]]></MediaFile>
              <MediaFile delivery="progressive" type="audio/mpeg" bitrate="64" width="0" height="0"><![CDATA[https://static.cdn.dspsrv.com/assets/2/2d2a/2d2a0c2d-3db4-44fa-b775-6fd9a7eab846_64.mp3]]></MediaFile>
              <MediaFile delivery="progressive" type="audio/mpeg" bitrate="32" width="0" height="0"><![CDATA[https://static.cdn.dspsrv.com/assets/2/2d2a/2d2a0c2d-3db4-44fa-b775-6fd9a7eab846_32.mp3]]></MediaFile>
              <MediaFile delivery="progressive" type="audio/aac" bitrate="128" width="0" height="0"><![CDATA[https://static.cdn.dspsrv.com/assets/2/2d2a/2d2a0c2d-3db4-44fa-b775-6fd9a7eab846_128_aac4.aac]]></MediaFile>
              <MediaFile delivery="progressive" type="audio/aac" bitrate="96" width="0" height="0"><![CDATA[https://static.cdn.dspsrv.com/assets/2/2d2a/2d2a0c2d-3db4-44fa-b775-6fd9a7eab846_96_aac4.aac]]></MediaFile>
              <MediaFile delivery="progressive" type="audio/aac" bitrate="64" width="0" height="0"><![CDATA[https://static.cdn.dspsrv.com/assets/2/2d2a/2d2a0c2d-3db4-44fa-b775-6fd9a7eab846_64_aac4.aac]]></MediaFile>
              <MediaFile delivery="progressive" type="audio/aac" bitrate="48" width="0" height="0"><![CDATA[https://static.cdn.dspsrv.com/assets/2/2d2a/2d2a0c2d-3db4-44fa-b775-6fd9a7eab846_48_aac4.aac]]></MediaFile>
              <MediaFile delivery="progressive" type="audio/aac" bitrate="32" width="0" height="0"><![CDATA[https://static.cdn.dspsrv.com/assets/2/2d2a/2d2a0c2d-3db4-44fa-b775-6fd9a7eab846_32_aac4.aac]]></MediaFile>
            </MediaFiles>
          </Linear>
        </Creative>
        <Creative id="7d1adb3b-e37b-4b0c-8a82-9485167f1696">
          <CompanionAds required="any">
            <Companion width="300" height="250">
              <StaticResource creativeType="image/jpeg"><![CDATA[https://creatives.dspsrv.com/file/companion/94a87d8d-67b7-4986-8173-61e41dfc69be/jpg]]></StaticResource>
              <TrackingEvents>
                <Tracking event="creativeView"><![CDATA[https://ad.adsrv.net/ddm/trackimp/N4492.135343.4038978241621/B21928470.237219]]></Tracking>
                <Tracking event="creativeView"><![CDATA[https://pixla.adsrv.com/view/3312b272-7ac2-40e4-8d29-330045d63fe5/43443]]></Tracking>
              </TrackingEvents>
            <CompanionClickThrough><![CDATA[https://pixla.adsrv.com/click/3312b272-7ac2-40e4-8d29-330045d63fe5/9c16]]></CompanionClickThrough>
            </Companion>
          </CompanionAds>
        </Creative>
      </Creatives>
    </InLine>
  </Ad>
</VAST>