Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tquackenbush
Visitor

RAF VMAP - VASTAdData vs AdTagURI - Freewheel

Hello,

I'm using the Roku Ad Framework (RAF) version 1.4 library to ingest a Freewheel sample VMAP.
The problem I'm running into is that the Freewheel sample VMAP is wrapping the VAST data in-line in a VASTAdData tag, and RAF doesn't seem to recognize the ad in this format.
If I take the same VAST data from the VMAP and divide it between two files using the AdTagURI in the VMAP file to reference the VAST file, everything works fine.

My question is, does RAF support in-line VAST data in a VMAP using the VASTAdData tag?
Or is just VAST referenced with AdTagURI supported?
Both approaches seem to be in the VMAP spec... Am I missing something?

Original VMAP with VASTAdData which does not load ad:
<vmap:VMAP version='1.0' xmlns:vmap='http://www.iab.net/vmap-1.0'>
<vmap:AdBreak breakId='PREROLLTEST' breakType='linear' timeOffset='start'>
<vmap:AdSource allowMultipleAds='true' followRedirects='true' id='1'>
<vmap:VASTAdData>
<VAST version='3.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='vast.xsd'>
<Ad id='13679959.140530764699072' sequence='1'>
<InLine>
<AdSystem>FreeWheel</AdSystem>
<AdTitle>Roku Test Placement MP4</AdTitle>
<Error><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&iw=&uxnw=&uxss=&uxct=&et=e&cn=%5BERRORCODE%5D]]></Error>
<Impression id='FWi_13679959.0'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=defaultImpression&et=i&_cc=13679959,4575210,,,1446500461,1&tpos=0&iw=&uxnw=&uxss=&uxct=&metr=121&init=1&cr=]]></Impression>
<Creatives>
<Creative AdID='13679959'>
<Linear>
<Duration>00:00:15</Duration>
<TrackingEvents>
<Tracking event='complete'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=complete&et=i&_cc=&tpos=0&init=1&iw=&uxnw=&uxss=&uxct=&metr=121]]></Tracking>
<Tracking event='firstQuartile'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=firstQuartile&et=i&_cc=&tpos=0&init=1&iw=&uxnw=&uxss=&uxct=&metr=121]]></Tracking>
<Tracking event='midpoint'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=midPoint&et=i&_cc=&tpos=0&init=1&iw=&uxnw=&uxss=&uxct=&metr=121]]></Tracking>
<Tracking event='thirdQuartile'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=thirdQuartile&et=i&_cc=&tpos=0&init=1&iw=&uxnw=&uxss=&uxct=&metr=121]]></Tracking>
<Tracking event='mute'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_mute&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='unmute'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_un-mute&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='collapse'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_collapse&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='expand'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_expand&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='pause'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_pause&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='resume'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_resume&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='rewind'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_rewind&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='acceptInvitation'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_accept-invitation&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='close'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_close&et=s&_cc=&tpos=0]]></Tracking>
</TrackingEvents>
<VideoClicks>
<ClickTracking id='FWc_13679959.0'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=defaultClick&et=c&_cc=&tpos=0&cr=]]></ClickTracking>
</VideoClicks>
<MediaFiles>
<MediaFile bitrate='4089' delivery='progressive' height='480' type='video/mp4' width='640'><![CDATA[http://m1.fwmrm.net/m/1/393946/99/1978467/4575210/fw_sample_mp4_15sec_1446475356.mp4]]></MediaFile>
</MediaFiles>
</Linear>
</Creative>
</Creatives>
</InLine>
</Ad>
</VAST>
</vmap:VASTAdData>
</vmap:AdSource>
<vmap:TrackingEvents/>
</vmap:AdBreak>
</vmap:VMAP>


Modified VMAP with AdTagURI which does load ad:
<vmap:VMAP version='1.0' xmlns:vmap='http://www.iab.net/vmap-1.0'>
<vmap:AdBreak breakId='PREROLLTEST' breakType='linear' timeOffset='start'>
<vmap:AdSource allowMultipleAds='true' followRedirects='true' id='1'>
<vmap:AdTagURI templateType="vast3"><![CDATA[http://192.168.12.112:8085/fw_demo_roku_20151102_vast.xml]]></vmap:AdTagURI>
</vmap:AdSource>
<vmap:TrackingEvents/>
</vmap:AdBreak>
</vmap:VMAP>


Referenced VAST data in AdTagURI which plays ad:
<VAST version='3.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='vast.xsd'>
<Ad id='13679959.140530764699072' sequence='1'>
<InLine>
<AdSystem>FreeWheel</AdSystem>
<AdTitle>Roku Test Placement MP4</AdTitle>
<Error><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&iw=&uxnw=&uxss=&uxct=&et=e&cn=%5BERRORCODE%5D]]></Error>
<Impression id='FWi_13679959.0'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=defaultImpression&et=i&_cc=13679959,4575210,,,1446500461,1&tpos=0&iw=&uxnw=&uxss=&uxct=&metr=121&init=1&cr=]]></Impression>
<Creatives>
<Creative AdID='13679959'>
<Linear>
<Duration>00:00:15</Duration>
<TrackingEvents>
<Tracking event='complete'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=complete&et=i&_cc=&tpos=0&init=1&iw=&uxnw=&uxss=&uxct=&metr=121]]></Tracking>
<Tracking event='firstQuartile'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=firstQuartile&et=i&_cc=&tpos=0&init=1&iw=&uxnw=&uxss=&uxct=&metr=121]]></Tracking>
<Tracking event='midpoint'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=midPoint&et=i&_cc=&tpos=0&init=1&iw=&uxnw=&uxss=&uxct=&metr=121]]></Tracking>
<Tracking event='thirdQuartile'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=thirdQuartile&et=i&_cc=&tpos=0&init=1&iw=&uxnw=&uxss=&uxct=&metr=121]]></Tracking>
<Tracking event='mute'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_mute&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='unmute'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_un-mute&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='collapse'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_collapse&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='expand'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_expand&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='pause'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_pause&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='resume'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_resume&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='rewind'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_rewind&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='acceptInvitation'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_accept-invitation&et=s&_cc=&tpos=0]]></Tracking>
<Tracking event='close'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=_close&et=s&_cc=&tpos=0]]></Tracking>
</TrackingEvents>
<VideoClicks>
<ClickTracking id='FWc_13679959.0'><![CDATA[http://602da.v.fwmrm.net/ad/l/1?s=c067&n=393946%3B393946&t=1446500461030684009&f=&r=393946&adid=13679959&reid=4575210&arid=0&auid=&cn=defaultClick&et=c&_cc=&tpos=0&cr=]]></ClickTracking>
</VideoClicks>
<MediaFiles>
<MediaFile bitrate='4089' delivery='progressive' height='480' type='video/mp4' width='640'><![CDATA[http://m1.fwmrm.net/m/1/393946/99/1978467/4575210/fw_sample_mp4_15sec_1446475356.mp4]]></MediaFile>
</MediaFiles>
</Linear>
</Creative>
</Creatives>
</InLine>
</Ad>
</VAST>
0 Kudos
1 REPLY 1
fredfulsome
Channel Surfer

Re: RAF VMAP - VASTAdData vs AdTagURI - Freewheel

I was wondering if you had the contact info for the FreeWheel rep you used to run their ads on your channel. Thanks.

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.