Does Google IMA HTML5 SDK provide support for Third party Ad url like Openx?

824 views
Skip to first unread message

Bharath Sn

unread,
Feb 11, 2015, 8:02:40 AM2/11/15
to ima...@googlegroups.com
I am just curios to know if Google IMA SDK is so versatile to play Third Party Ad Urls like Openx Vast 3.0 .

Shawn Busolits (IMA SDK Team)

unread,
Feb 11, 2015, 10:24:36 AM2/11/15
to ima...@googlegroups.com
Hi there,

All of our SDKs are VAST-compatible, so any VAST-compliant ad server should work.

Thanks,
Shawn Busolits
IMA SDK Team
Message has been deleted
Message has been deleted

Bharath Sn

unread,
Feb 18, 2015, 1:19:06 AM2/18/15
to ima...@googlegroups.com
I am using this link : http://ad3.liverail.com/?LR_PUBLISHER_ID=1331&LR_CAMPAIGN_ID=229&LR_SCHEMA=vast2

I am able to play Vast Ads from other server :)
But when i call adsManager.skip(); the Video Ad not skipping :(
Wanted to know if skip duration should come from XML part.


Also if it is banner ads then [x] button is not appearing, like is there is any way to get it work exactly like google ima link works.

Bharath Sn

unread,
Feb 18, 2015, 1:19:16 AM2/18/15
to ima...@googlegroups.com

Sorry those openx url wer Vast 2.0 which doesn't have skip option.
But unfortunately the banner ads don't have [x] button ,should provide externally (but this close button wont impact in registering impressions).
While doubleclick (http://www.google.com/doubleclick/) will give Vast 3.0 which has skip videoAd and close button for bannerAd !

Please correct me if my assumption are wrong.

Shawn Busolits (IMA SDK Team)

unread,
Mar 23, 2015, 11:24:15 AM3/23/15
to ima...@googlegroups.com
Hi Bharath,

The best way to get skip support from the IMA SDK is to use VAST 3, as you noted. We do support skippable with VAST 2 if the ad comes from Doubleclick, but it's using a proprietary VAST extension.

For the close button, we do offer support for that in VAST 2 via AdsRenderingSettings.useStyledNonLinearAds.

If you have any other questions let me know!

Thanks,
Shawn Busolits
IMA SDK Team

Bharath Sn

unread,
Mar 26, 2015, 7:49:05 AM3/26/15
to ima...@googlegroups.com
Thanks you so much  Shawn vast 2.0 banner got close and recall button.

I like to know the YouTube showing progress bar while playing ads is it from google ima api or custom made using getRemainingTime() and getDuration().

Shawn Busolits (IMA SDK Team)

unread,
Mar 26, 2015, 10:33:01 AM3/26/15
to ima...@googlegroups.com
Hi Bharath,

The IMA SDK doesn't have any built-in support for progress bars - you'd have to write that yourself using the methods you mentioned.

Thanks,
Shawn Busolits
IMA SDK Team
Message has been deleted

Bharath Sn

unread,
Mar 31, 2015, 4:53:19 AM3/31/15
to ima...@googlegroups.com

Hi ,

I setup openx and generated adurl

But i am getting error 

XMLHttpRequest cannot load http://162.243.89.44/reviveadserver/www/delivery/fc.php?script=bannerTypeHt…0_bs10_tv1_is0_er85.15.241.315_sv2_sp1_vi0.0.650.466_vp100_ct1_vb1_vl1_vr1. A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://imasdk.googleapis.com' is therefore not allowed access.

i have added all the headers and able to make Ajax get call to this url
And able to player in http://demo.jwplayer.com/ad-tester/  in Rendering mode html5
Please help

Shawn Busolits (IMA SDK Team)

unread,
Mar 31, 2015, 10:14:13 AM3/31/15
to ima...@googlegroups.com
Hi Bharath,

We have a section covering this in our documentation here. You'll need to contact your ad server to request that they set up their CORS headers to allow IMA to request ads. In this particular case, as the error states, they have used a wildcard in their Access-Control-Allow-Origin header but also set credentials to true, which is not allowed. They'll have to change the Access-Control-Allow-Origin header to specifiy imasdk.googleapis.com.

Thanks,
Shawn Busolits
IMA SDK Team

Bharath Sn

unread,
Apr 2, 2015, 8:24:47 AM4/2/15
to ima...@googlegroups.com
Thanks shawn, i got my CORS fixed

But i am not able to render ads, ima showing error "The ad response was not understood and cannot be parsed."

* I am using revive-adserver-3.1.0 and generated xml
My ad url

example ad url

I am assuming ads not showing because its xml starts with Tag <VideoAdServingTemplate> But not <VAST version="3.0"> or <VAST version="2.0">


Please correct me if i am wrong

Shawn Busolits (IMA SDK Team)

unread,
Apr 2, 2015, 10:14:27 AM4/2/15
to ima...@googlegroups.com
Hi Bharath,

Comparing your responses side-by-side with the sample I see a number of differences - you're using <VideoAdServingTemplate> instead of <VAST>, you don't specify a version, and you don't have a <Linear> or <NonLinearAds> tag to specify the type of ad being returned. I'd recommend that you compare the two more closely and also take a look at the VAST spec (version 2 or version 3). Let us know if you need any more assistance.

Thanks,
Shawn Busolits
IMA SDK Team

Bharath Sn

unread,
Apr 3, 2015, 3:35:00 AM4/3/15
to ima...@googlegroups.com
HI ,

i am using non-linear ad 
it plays well in chrome but not in Internet Explorer (HTML5 player (while in flash its good)).

have tested this in 
on IE 11.0.9600.17207

Shawn Busolits (IMA SDK Team)

unread,
Apr 3, 2015, 3:44:55 PM4/3/15
to ima...@googlegroups.com
Hi Bharath,

Does it work if you change the protocol of the tag from http to https? I tested in IE 11 on Win8 and it works fine for me once I make that change.

Thanks,
Shawn Busolits
IMA SDK Team

Bharath Sn

unread,
Apr 4, 2015, 12:41:28 PM4/4/15
to ima...@googlegroups.com
Hi 

Its working in IE 11 WIN 8.1 i checked in browser stack

Sorry, it was my bad even after making https in link its gives http link for registering impressions so it was not rendering in my IE 11 . In console i was getting error like 
HTTPS security is compromised by http://t1.clipkit.de/liverail?action=lr_imp2
HTTPS security is compromised by http://127.0.0.1:8882/test/?metric=imp
HierarchyRequestError

This error occurring only in my comp not with others :)



Reply all
Reply to author
Forward
0 new messages