Postroll ad requested on stream start

60 views
Skip to first unread message

Jakub Frydrych

unread,
May 25, 2020, 7:48:22 PM5/25/20
to Interactive Media Ads SDK
Hi,
I came across IMA behavior for HTML5 that if I have a VMAP that contains only postroll then postroll is requested at the beginning of playing the video. 
Which can cause problems, as poststroll events should not come until after the video ends or shortly before the video end. 
This can be incorrectly exported to measuring systems. 
It also doesn't make sense to ask the ad system for a postroll at the beginning of the video, when the user can leave, but the ad system will already have a postroll released.

Is there a way to turn this behavior off? I tried the set enablePreloading, but without changing the behavior.

This effect has another effect on the ALLADSCOMPLETED event, where a problem occurs if the postroll contains an empty VAST. 
In this case, the event ALLADSCOMPLETED is reported immediately after load empty postroll. 

Here I am sending a VMAP url to test the behavior.

VMAP postroll - modified google ima demo vmap


Thank you very much for any answer
Best regards, Jakub

IMA SDK

unread,
May 26, 2020, 1:21:24 AM5/26/20
to jakub.f...@etnetera.cz, ima...@googlegroups.com

Hi Jakub,

Thank you for reaching out to us.

The scenario that you're describing is an intended behavior, as per the SDK architecture documentation, the SDK requests a VAST Response for the specific Ad Unit on the ad server after the IMA SDK has been loaded.

Also, the LOADED ad event fires when the ad data (Ad object in JavaScript) are first available, hence, regardless of the ad types (pre-roll, mid-roll or post-roll), this event will fire before the ad break start while the content starts or resumes playing. There should be no issues with ad tracking as the IMPRESSION ad event only fires when the first frame of the ad is displayed.

This scenario is not the same when using Preloading feature of the SDK for requesting of ad creative. When preloading is set to TRUE, the first ad creative in the ad break will be requested right after the LOADED ad event, and when set to FALSE, the first ad creative will be requested at the start of the ad break.

With regard to ALL_ADS_COMPLETED event fire when there's no ads or an empty VAST response was returned. I'm going to share this with the rest of the team to check further and I'll get back to this thread once I have the information.

Regards,
Sherwin Diesta
IMA SDK Team



ref:_00D1U1174p._5004Q1zroiA:ref

IMA SDK

unread,
May 28, 2020, 2:19:44 AM5/28/20
to jakub.f...@etnetera.cz, ima...@googlegroups.com

Hi Jakub,

Hope you are well.

Just to give you an update with regard to the ALL_ADS_COMPLETED event firing even when there's no valid ad returned. The team confirmed that this is an intended behavior. The objective of this event is to notify the users that there's no more ad exists to be played and to inform users that the Ads Manager can be destroyed for necessary cleanup.

Let me know if you have further questions or clarifications.



Regards,
Sherwin Diesta
IMA SDK Team



ref:_00D1U1174p._5004Q1zroiA:ref

Jakub Frydrych

unread,
May 29, 2020, 3:23:36 AM5/29/20
to Interactive Media Ads SDK
Hi,
Thank you very much for the info, it helped me a lot.

Say hello to the IMA team.

Jakub
Reply all
Reply to author
Forward
0 new messages