unindel / open-video-ads

Automatically exported from code.google.com/p/open-video-ads
0 stars 0 forks source link

Allow ad durations to be ignored #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by Ingo:

- Durations are incorrect at times in the VAST response. Allow an option to 
ensure that the 
durations can be ignored and loaded by the player. 

- Also, for some reason, on the following template, the duration is being 
registered as 0

<InLine>
      <AdSystem>DFP</AdSystem>  <AdTitle>Tic Tac</AdTitle>  <Description/>

    <Survey>
          <URL><![CDATA[]]></URL>  
    </Survey>
    <Error>
          <URL><![CDATA[]]></URL>  
    </Error>
    <Impression>
          <URL id="ipd_vast_i"><![CDATA[]]></URL>  <URL id="ipd_vast_e"><![CDATA[]]></URL>  
<URL id="3rdparty"><![CDATA[]]></URL>  
    </Impression>
    <TrackingEvents>

        <Tracking event="start">
             <URL 
id="ipd_vast_e"><![CDATA[http://ad.de.doubleclick.net/adj/sternde/;sz=1x1;adid=2
21748323;
dcmt=text/xml;ord=7652526?]]></URL>  
        </Tracking>
        <Tracking event="midpoint">
              <URL 
id="ipd_vast_e"><![CDATA[http://ad.de.doubleclick.net/adj/sternde/;sz=1x1;adid=2
21771919;
dcmt=text/xml;ord=7652526?]]></URL>  <URL id="3rdparty"><![CDATA[]]></URL>  
        </Tracking>
        <Tracking event="firstQuartile">
              <URL 
id="ipd_vast_e"><![CDATA[http://ad.de.doubleclick.net/adj/sternde/;sz=1x1;adid=2
21771909;
dcmt=text/xml;ord=7652526?]]></URL>  <URL id="3rdparty"><![CDATA[]]></URL>  
        </Tracking>
        <Tracking event="thirdQuartile">
              <URL 
id="ipd_vast_e"><![CDATA[http://ad.de.doubleclick.net/adj/sternde/;sz=1x1;adid=2
21771920;
dcmt=text/xml;ord=7652526?]]></URL>  <URL id="3rdparty"><![CDATA[]]></URL>  
        </Tracking>
        <Tracking event="complete">
              <URL 
id="ipd_vast_e"><![CDATA[http://ad.de.doubleclick.net/adj/sternde/;sz=1x1;adid=2
21771918;
dcmt=text/xml;ord=7652526?]]></URL>  <URL id="3rdparty"><![CDATA[]]></URL>  
        </Tracking>
        <Tracking event="mute">
              <URL id="ipd_vast_e"><![CDATA[]]></URL>  <URL id="3rdparty"><![CDATA[]]></URL>  
        </Tracking>
        <Tracking event="fullscreen">
              <URL id="ipd_vast_e"><![CDATA[]]></URL>  <URL id="3rdparty"><![CDATA[]]></URL>  
        </Tracking>
    </TrackingEvents>

    <Video>
          <Duration>19</Duration>  <AdID>219999139</AdID>  
        <VideoClicks>

            <ClickThrough>
                <URL id="dfp"><![CDATA[http://www.ip-deutschland.de]]></URL>  
            </ClickThrough>
            <ClickTracking>
                  <URL 
id="ipd_vast_i"><![CDATA[http://ad.de.doubleclick.net/click%3Bh=v8/3946/3/0/%2a/
k%3B2199
99139%3B0-0%3B1%3B42717742%3B780-
320/240%3B34455631/34473509/1%3B%3B%7Eaopt%3D2/1/ff/2%3B%7Esscs%3D%3f]]></URL>  
<URL id="ipd_vast_e"><![CDATA[]]></URL>  <URL id="3rdparty"><![CDATA[]]></URL>  
            </ClickTracking>
        </VideoClicks>

        <MediaFiles>

            <MediaFile delivery="streaming" bitrate="400" width="512" height="288" type="video/x-
flv">
                <URL><![CDATA[rtmp://fms.rtl.de/ip/648242_tictac_512_288_.flv]]></URL>  
            </MediaFile>
        </MediaFiles>

    </Video>
    <NonLinearAds>

        <NonLinear id="" width="" height="" resourceType="static" creativeType="SWF" 
maintainAspectRatio="true" scalable="true">
             <URL><![CDATA[]]></URL>  
            <NonLinearClickThrough>
                  <URL><![CDATA[]]></URL>  
            </NonLinearClickThrough>
            <ClickTracking>
                  <URL id="ipd_vast_i"><![CDATA[]]></URL>  <URL 
id="ipd_vast_e"><![CDATA[]]></URL>  <URL id="3rdparty"><![CDATA[]]></URL>  
            </ClickTracking>
        </NonLinear>

    </NonLinearAds>
    <Extensions>

        <Extension type="dfp">

            <AdServingData>
                <Industry/>
                <LinearSwf>
                      <Dimension width="300" height="250"/>
                </LinearSwf>
            </AdServingData>

        </Extension>
    </Extensions>

</InLine>

Original issue reported on code.google.com by paul.sch...@gmail.com on 19 Feb 2010 at 11:48

GoogleCodeExporter commented 9 years ago
Increased priority

Original comment by paul.sch...@gmail.com on 19 Feb 2010 at 11:49

GoogleCodeExporter commented 9 years ago
The issue here is that the duration is not of the format hh:mm:ss - that's the 
compliant way to specify the 
duration - a check has been added to the parsing code to check the format - if 
it's not compliant, it will fallback 
to the assumption it's just seconds and convert to the right format

Original comment by paul.sch...@gmail.com on 20 Feb 2010 at 1:06

GoogleCodeExporter commented 9 years ago
Done - the following config item has been added:

"ignoreDuration": true

To ensure that VAST durations are ignored.

Also added conversion code so that a duration with seconds in it will be 
converted to a timestamp format.

Original comment by paul.sch...@gmail.com on 20 Feb 2010 at 1:29

GoogleCodeExporter commented 9 years ago
Done - in the next FP OAS release (0.5.0)

Original comment by paul.sch...@gmail.com on 20 Feb 2010 at 1:37