was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint

540 views
Skip to first unread message

Bharath Sn

unread,
Nov 20, 2015, 4:59:45 AM11/20/15
to Interactive Media Ads SDK
Hi Google ,

we are using Google IMA HTML5 sdk

Ad URL

*Not able to play ad over HTML5 ad video player , but it's working fine on flash player
Please can u suggest solution

tested in

Thanks and Regards
BHARATH S N

Bharath Sn

unread,
Nov 20, 2015, 5:02:53 AM11/20/15
to Interactive Media Ads SDK
Getting console error like

Mixed Content: The page at 'https://imasdk.googleapis.com/js/core/bridge3.113.1_en.html#goog_179985514' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://ima3vpaid.appspot.com/?adTagUrl=http%3A%2F%2Fgoogleads.g.doubleclick…deo%252Fplay%26videoad_start_delay%3D0%26hl%3Den%26max_ad_duration%3D30000'. This request has been blocked; the content must be served over HTTPS.

Vu Chau (IMA SDK Team)

unread,
Nov 20, 2015, 4:58:27 PM11/20/15
to Interactive Media Ads SDK
Hi Bharath,

That error message means that the tag requested isn't served over HTTPS.  I created another tag and added an s to the protocol, making it legitimate for serving.  However, when I tested the new tag again in the HTML5 VSI, I got the error "AdError 403: Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities".  It turned out the creative requested is a Flash VPAID creative, and currently the HTML5 SDK doesn't support it.  That explains why your tag played in the Flash SDK and didn't play in the HTML5 SDK.

Cheers,

Vu Chau
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages