Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to track clicks on VAST 3.0 wrapped creatives?

Tags:

ads

vast

My server returns VAST 3.0 XML with wrapper referring to 3rd party creative:

<VAST version="3.0">
   <Ad>
      <Wrapper>
         <AdSystem>MyAdSystem</AdSystem>
         <Impression>http://myserver/impression_tracker</Impression>
         <VASTAdTagURI>http://ad.doubleclick.net/pfadx/N270.126913.6102203221521/B3876671.21;dcadv=2215309;sz=0x0;ord=%5Btimestamp%5D;dcmt=text/xml</VASTAdTagURI>
         <Creatives>
            <Linear>
               <VideoClicks>
                  <ClickTracking>http://myserver/click_tracker</ClickTracking>
               </VideoClicks>
            </Linear>
         </Creatives>
      </Wrapper>
   </Ad>
</VAST>

Inserting it into Google's Video Suite Inspector either through specifying server handler URL or by copy/pasting XML correctly show pre-roll ad (video starting with cityscape/double click logo) followed by test video (android) and correctly pings impression tracking URL when first frame of ad is played.

My problem is: clicking on ad redirects to click-through URL specified inside wrapped creative and completely ignores <VideoClicks> section from my outer wrapper no matter if I use <ClickThrough>, <ClickTracking> or both.

After reading spec I'm still unsure, is it:

  1. Just limitation of Google's testing player?
  2. Error in my XML?
  3. Limitation of spec itself, that'd would make click tracking by wrapper possible only if it supported by additional parameters to handler on "real" ad in <VASTAdTagURI>?
like image 360
Oleg V. Volkov Avatar asked Nov 22 '25 01:11

Oleg V. Volkov


2 Answers

It might be a limitation of the player.

I have experienced similar issues. When the VASTAdTagURI has a redirect in it, the Google Inspector shows this error:

Error: Malformed ads response received.

Though, when I use the same Vast Tag in http://www.videoplaza.com/demo/ I actually see the video.

like image 153
Anton Avatar answered Nov 24 '25 19:11

Anton


You should have Creative element ie

<Creatives>
    <Creative>
       <Linear>

your xml is broken.

like image 31
gvd Avatar answered Nov 24 '25 19:11

gvd



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!