VideoJs google IMA is not working with VPAID Tags

1,516 views
Skip to first unread message

Manu Mohan T

unread,
Feb 22, 2016, 8:29:41 AM2/22/16
to Interactive Media Ads SDK
Hi Team,
I was trying to play a VPAID ad from YuMe advertiser. But player throws some exception in the console,
Console Error:
XMLHttpRequest cannot load http://cdn-01.yumenetworks.com/ym/72K6cH27X672/3560/fDYSCnZM/Hooked_AS3.xml. The 'Access-Control-Allow-Origin' header contains the invalid value ''. Origin 'http://imasdk.googleapis.com' is therefore not allowed access.
VM394
:1284 AdsLoader error: AdError 301: Ad request could not be completed due to a network error.
VM394
:20 VIDEOJS: ads adserror triggered: ads-ready? -> content-playback

My AdTagURL is "https://hk-vserver-staging.azurewebsites.net/vast/campaign/WPFt_lIAXEOH2Pra-dUxaQ?"

So, I tried the same AdTagUrl in Google's IMA validator test page with (in HTML5 mode) then I got the same error. I switched to Flash player, then it works!!!!!. As your team indicated, Video.JS IMA plugin is compatible with VAST/VPAID in both HTML and Flash. What is happening in my case. Below given my player config part.
 var player = videojs('content_video', {
                           
//techOrder: ['flash'],
                            autoplay
: true,
                            sources
: [{
                                type
: "video/mp4",
                                src
: "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
                           
}]
                       
});
                       
var adTagInput = AdUrl;

                       
var options = {
                            id
: 'content_video',
                            adTagUrl
: adTagInput,
                            debug
: true,
                       
};

                        player
.ima(options);
                        google
.ima.settings.setVpaidAllowed(true);
                        player
.ima.initializeAdDisplayContainer();
                        player
.ima.requestAds();
                        player
.play();
Please Help me to resolve this issue.
 

Tyler Sidell (IMA SDK Team)

unread,
Feb 22, 2016, 11:01:03 AM2/22/16
to Interactive Media Ads SDK
Hi Manu,

Using your ad tag in the VideoJS example, we get the following error message in the console:
Mixed Content: The page at 'https://imasdk.googleapis.com/js/core/bridge3.122.0_en.html#goog_1802578425' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://cdn-01.yumenetworks.com/ym/72K6cH27X672/3560/WCNHfmAg/vpaid_as3_hookmedia_363mavoKpfR.xml'. This request has been blocked; the content must be served over HTTPS.

Your tag supplied is a wrapper for the tag above:

Please make sure that the tag above is served over HTTPS.

Thanks,
Tyler Sidell
IMA SDK Team
Message has been deleted

Manu Mohan T

unread,
Feb 23, 2016, 12:26:23 AM2/23/16
to Interactive Media Ads SDK
Thank you Tyler Sidell for your quick reply!!!
I tried changing adTagUrl from HTTP to HTTPS. Unfortunately YuMenetworks is not supporting secure HTTP. Is there any other way? It is very difficult to ask them to configure HTTPS :( . The same tag is working on Google's video suit inspector's Flash mode.
Also I found an issue https://github.com/googleads/videojs-ima/issues/34 . I Have the same issue with some other tags. So, is VideoJs IMA player  flash supported or not?
Below is two adTags that i am using
https://ads.adaptv.advertising.com/a/h/byYP87onMLBZQArOL0DkwYhMl2S3fApudxI1R7hRUiY=?cb=[randomnumber]&pageUrl=[url]&description=[videodesc]&duration=VIDEO_DURATION&id=VIDEO_ID&keywords=VIDEO_KEYWORDS&title=VIDEO_TITLE&url=[videourl]&eov=eov

http://ad4.liverail.com/?LR_PUBLISHER_ID=162467&LR_SCHEMA=vast2-vpaid&LR_ALLOW_RETRY=3&LR_FORMAT=application/x-shockwave-flash;application/javascript&LR_VIDEO_POSITION=0,50%,100%&LR_AUTOPLAY=1&LR_VIDEO_ID=[videoid]&LR_TITLE=[LR_TITLE]&LR_DURATION=32&CACHEBUSTER=[randomnumber]
Thanks in advance
Manu Mohan

Tyler Sidell (IMA SDK Team)

unread,
Feb 23, 2016, 10:36:25 AM2/23/16
to Interactive Media Ads SDK
Hi Manu,

The issue that you found on Github is related to a different issue than the one that you are experiencing.  This topic has been resolved (the issue was opened in 2014) and VPAID Flash is now supported in VideoJS:
Your tags are returning a different error/issue:
Mixed Content: The page at 'https://imasdk.googleapis.com/js/core/bridge3.122.0_en.html#goog_1802578425' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://cdn-01.yumenetworks.com/ym/72K6cH27X672/3560/WCNHfmAg/vpaid_as3_hookmedia_363mavoKpfR.xml'. This request has been blocked; the content must be served over HTTPS.

Setting up your creatives to serve over HTTPs would be out of scope for this forum.  You would need to work with YuMenetworks on that solution.  But right now there is no workaround for that behavior.

Thanks,
Tyler Sidell
IMA SDK Team

Manu Mohan T

unread,
Feb 23, 2016, 11:56:17 PM2/23/16
to Interactive Media Ads SDK
Hi Tyler Sidell,
I understood that a creative with HTTP protocol will make such an issue. But I tried another ad tag from advertiser AdapTV in  AdvancedExample . Link is-

https://ads.adaptv.advertising.com/a/h/OOXxi7oj3LxC49BuTRcUrjFz0D6CEVSc6dFBoKktN6UREJi+3wmxFw==?cb=1743757620&pet=preroll&pageUrl=http%3a%2f%2fcom.juteralabs.perktv%2f&eov=eov

But I got an error in console
NetworkError: A network error occurred.
Ad error: AdError 403: Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities

Is that because the MediaFile URL in creative of above AdTagURL is HTTP?? or any other reason for this error?
The MediaFileURL is http://redir.adap.tv/redir/client/VPAIDClient.swf?adTagUrl=http%3A%2F%2Fads.adaptv.advertising.com%2Fa%2Fh%2FOOXxi7oj3LxC49BuTRcUrjFz0D6CEVSc6dFBoKktN6UREJi%2B3wmxFw%3D%3D%3Fcb%3D1743757620%26pet%3Dpreroll%26pageUrl%3Dhttp%253a%252f%252fcom.juteralabs.perktv%252f%26eov%3Deov%26a.cluster%3D0%26a.pvt%3D0&companionId=&cpmPassback=&placementId=692062&orgId=7777&injectCompanionDummy=&pauseOnClick=&d.vw=&d.app=
Thanks
Manu

Tyler Sidell (IMA SDK Team)

unread,
Feb 24, 2016, 9:35:56 AM2/24/16
to Interactive Media Ads SDK
Hi Manu,

The error that you are experiencing with this new tag, AdError 403: Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities, is not related to the HTTP vs HTTPS issue.  This error gets thrown when the tag contains assets that can not be played on that particular platform.  The media file in your tag is a flash VPAID, which may not fit the capabilities of the player/SDK that you are using.  If you are playing a Flash VPAID from the HTML5 SDK, please make sure that you are setting the player mode to INSECURE.

Another possibility is that since a VPAID creative can contain its own code, there could be an issue with the setup of such a creative.  You can check our compatibility page for the features that are supported on each platform.

Thanks,
Tyler Sidell
IMA SDK Team

Manu Mohan T

unread,
Feb 25, 2016, 5:37:29 AM2/25/16
to Interactive Media Ads SDK
Yes, I am setting player mode to INSECURE.

Tyler Sidell (IMA SDK Team)

unread,
Feb 25, 2016, 9:35:09 AM2/25/16
to Interactive Media Ads SDK
Hi Manu,

Since we are experiencing the issue in our sample examples, our VSI, and your implementation the issue is ad tag/creative related.  I would suggest speaking to your TAM on the serving side as there appears to be an issue with the VPAID creative itself.

Thanks,
Tyler Sidell
IMA SDK Team

Manu Mohan T

unread,
Feb 26, 2016, 7:23:03 AM2/26/16
to ima...@googlegroups.com
Thank you Tyler Sidel. I will contact them


Regards,
         
Manu Mohan T
________________________
+91  95  6262  9750
________________________

--
You received this message because you are subscribed to a topic in the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ima-sdk/7xfTncI3nBs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ima-sdk+u...@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at https://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages