IMA SDK HTML5: No Ad Timeout event triggered while testing under throttled network condition

234 views
Skip to first unread message

Puneet Narsapur

unread,
Jan 10, 2017, 12:43:33 AM1/10/17
to Interactive Media Ads SDK
Hi Team, 

I had raised this query on a different thread and it kind of was getting complicated and confusing with that thread hence raising it separately here. 
Tested on Video Suite Inspector: HTML5 VSI
Throttled the network bandwidth to GPRS through Chrome developer tools. 
When the video is tried to load it takes more than 15 seconds and it fails. However I don't get AdError (402 for timeout). Instead I get "All_Ads_Completed" event. 

Can you please let me know if there is anything I can do to get the desired event? 
P.S. I have registered to the event listeners and handling the error events correctly and I do get other error events but not the AdTimeout (402) error. 

Thanks

Chris Feldman (IMA SDK Team)

unread,
Jan 10, 2017, 10:14:07 AM1/10/17
to Interactive Media Ads SDK
Hi Puneet,

You're seeing this behavior because your ad tag is a playlist. Normally, on an ad timeout error (402), the SDK will destroy the adsManager. For this type of tag, however, the SDK will fire a non-fatal error so that subsequent ads can still play.

Regards,
Chris Feldman
IMA SDK Team

Puneet Narsapur

unread,
Jan 10, 2017, 11:27:59 AM1/10/17
to Interactive Media Ads SDK
Hi Chris, 

Thanks for the reply. I understand that it can be non-fatal error. I am assuming the non-fatal errors are received as part of "google.ima.AdEvent.Type.LOG" event. 
However I am not receiving this event either. Instead i receive "google.ima.AdEvent.Type.ALL_ADS_COMPLETED" and this was my main question :) 

Thanks
Puneet

Chris Feldman (IMA SDK Team)

unread,
Jan 10, 2017, 12:53:55 PM1/10/17
to Interactive Media Ads SDK
Hi Puneet,

I've tested with your ad tag and I'm able to see the LOG event. Make sure that you've added an adEventListener for google.ima.AdEvent.Type.LOG. Then when the event is fired, you can view the log output with the following the following line:

AdEvent.getAdData()[‘adError’].getMessage();

Let me know if you continue to see the issue. 

Regards,
Chris Feldman
IMA SDK Team

Puneet Narsapur

unread,
Jan 11, 2017, 12:02:24 AM1/11/17
to Interactive Media Ads SDK
Hi Chris, 

Please note that the non-fatal error is not shown on the HTML5 VSI either. The event log window is not showing any error. It is just showing All Ads Completed. Checked on Flash VSI and it is giving us that event but I am using HTML5 IMA SDK. 

I have setup the log listener as: 
adsManager.addEventListener(google.ima.AdEvent.Type.LOG, this.onAdsEvent);
and handling it the way you suggested. 

Please let me know if you need any more details.

Thanks
Puneet

Puneet Narsapur

unread,
Jan 11, 2017, 12:18:45 AM1/11/17
to Interactive Media Ads SDK
Hi Chris, 

Please note that the non-fatal error is not shown on the HTML5 VSI either. The event log window is not showing any error. It is just showing All Ads Completed. Checked on Flash VSI and it is giving us that event but I am using HTML5 IMA SDK. 

I have setup the log listener as: 
adsManager.addEventListener(google.ima.AdEvent.Type.LOG, this.onAdsEvent);
and handling it the way you suggested. 

Please let me know if you need any more details.

Thanks

Chris Feldman (IMA SDK Team)

unread,
Jan 11, 2017, 12:09:08 PM1/11/17
to Interactive Media Ads SDK
Hi Puneet,

I'm not able to replicate the behavior you're describing where the log event is not firing. I've attached a screenshot with my VSI event log. If your results are different, can you send a recording or a screenshot of what you're seeing? It would also be helpful if you could send me Charles Network logs for when you're seeing this errant behavior.

Regards,
Chris Feldman
IMA SDK Team


Screen Shot 2017-01-11 at 12.01.13 PM.png
Reply all
Reply to author
Forward
0 new messages