(IMA SDK HTML5) Ad request reached a timeout

1,253 views
Skip to first unread message

Kenneth Smith

unread,
Mar 25, 2015, 12:51:11 PM3/25/15
to ima...@googlegroups.com

Shawn Busolits (IMA SDK Team)

unread,
Mar 25, 2015, 4:47:59 PM3/25/15
to ima...@googlegroups.com
Hi Kenneth,

Taking a look at the tag, there are a few things that could be causing an issue:

1) The ad tag is a redirect to a third party server, and that tag is loaded over http. If your page is loaded over https, this will cause a mixed content error, and the request will fail.
2) Make sure that your player is set up to allow VPAID ads. For more info, see this article.
3) It looks like your VPAID ad is making a request to another server, but that server does not have it's CORS headers set properly to allow this: "XMLHttpRequest cannot load http://optimized-by.rubiconproject.com/a/api/vast.xml?account_id=6647&site_id=50804&zone_id=229798&width=640&height=480&tg_c.language=en. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://tpc.googlesyndication.com' is therefore not allowed access."

The odd thing, however, is that I'm not seeing a timeout error for any of these problems - I see more descriptive errors for each one. If you're able to resolve these issues and you're still not seeing your ad, can you send us a link to the page on which you're seeing the timeout error?

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

Kenneth Smith

unread,
Apr 3, 2015, 3:19:58 PM4/3/15
to ima...@googlegroups.com
Hi Shawn,

Thanks for you response.

1. The page is loaded over http, so we should be fine there.
2. The player is set up to allow VPAID ads, should be good there.

3. What could I tell the client to do on how to fix the CORS headers issue?

Shawn Busolits (IMA SDK Team)

unread,
Apr 7, 2015, 4:52:06 PM4/7/15
to ima...@googlegroups.com
Hi Kenneth,

Your client will need to talk to their ad server admin to update the CORS headers. We have information on how to properly set CORS headers here.

Thanks,
Shawn Busolits
IMA SDK Team

Kenneth Smith

unread,
Apr 9, 2015, 1:27:36 PM4/9/15
to ima...@googlegroups.com, Wynn.C...@cumulus.com
Thanks Shawn,

I believe the CORS issued have been fixed, we have another url that is not displaying the video as well:


The error I received in the VAST inspector is:

  • (1:20:09 PM) Ad Error: Unable to request ads from server due to network error.
  • (1:22:05 PM) HTML 5 content finished   

  • What could be the issue here?

Shawn Busolits (IMA SDK Team)

unread,
Apr 9, 2015, 2:56:07 PM4/9/15
to ima...@googlegroups.com, Wynn.C...@cumulus.com
Hi Kenneth,

What browser and OS are you using to access the VSI? If I test on Chrome on my Mac I get a timeout error, but it's related to mismatched protocols. I see this in the web developer console:

Mixed Content: The page at 'https://imasdk.googleapis.com/js/core/bridge3.94.0_en.html#goog_1092789678' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://ad4.liverail.com/?LR_PUBLISHER_ID=42555&LR_SCHEMA=vast2-vpaid&LR_FOR…0_tv1_is2_er299.0.455.300_sv2_sp1_vi0.0.2380.732_vp100_ct1_vb1_vl1_vr1_ts0'. This request has been blocked; the content must be served over HTTPS.

So your tag is wrapping an http liverail tag, but the page is loaded over https, so it blocks the tag from loading. In order to fix this issue you'll need to change your wrapped liverail tag to load over https instead of http.

Thanks,
Shawn Busolits
IMA SDK Team

Kenneth Smith

unread,
Apr 10, 2015, 3:26:40 PM4/10/15
to ima...@googlegroups.com
Thanks Shawn,

We have the liverail is loading over https now.

In the VSI, I'm getting the timeout error still. And in my DFP preview of the order the ad doesn't load.

Any additional errors you see on your end?

Shawn Busolits (IMA SDK Team)

unread,
Apr 10, 2015, 4:23:22 PM4/10/15
to ima...@googlegroups.com
Hi Kenneth,

Do you have a new tag you can share with me? I tested the initial tag but I'm still seeing an http liverail tag instead of https.

Thanks,
Shawn Busolits
IMA SDK Team

Reply all
Reply to author
Forward
0 new messages