Non-linear ad and CONTENT_RESUME_REQUESTED

522 views
Skip to first unread message

Petr Schuchmann

unread,
Jun 12, 2019, 11:02:51 AM6/12/19
to Interactive Media Ads SDK
Hi,

this issue is related atleast to HTML5 SDK.

When non-linear VAST is provided, it triggers events LOADED and then STARTED. but integration heavily depends on CONTENT_RESUME_REQUESTED due to timeout window for preroll/postroll.

I can imagine case where non-linear is started together with linear preroll/postroll and it cannot be handled only on integration side.

If such case is possible, missing  CONTENT_RESUME_REQUESTED for non-linear ads in place of preroll/postroll should be considered as bug. 
If not, is it safe for integration to call content resume itself for non-linear ad in preroll/postroll timeout windows?

Thank you.
PS


IMA SDK

unread,
Jun 12, 2019, 3:33:12 PM6/12/19
to petr.sc...@gmail.com, ima...@googlegroups.com
Hi,

Thank you for reaching out to us. The IMA SDK for HTML5 has an API method that you can use to force a non-linear ad to behave like a linear. In cases where non-linear is started together with linear preroll/postroll, you can set the forceNonLinearFullSlot to true so that the non-linear ad can behave as if it was a linear ad.

Regards,
Arnaud Casame
IMA SDK Team

ref:_00D1U1174p._5001UBmus9:ref

Petr Schuchmann

unread,
Jun 12, 2019, 4:19:31 PM6/12/19
to Interactive Media Ads SDK
Maybe my description was unclear.

Current behaviour: on first play it shows non-linear overlay, but player is 5s waiting(loading spinner) for linear preroll or content resume event from SDK before timeout reached.

I wont change ad behaviour(like forceNonLinearFullslot do). I can call content resume in player to fix waiting, but if linear preroll with non-linear overlay on top of it is possible with VMAP and IMA SDK, it is not safe and must be handled by SDK.

IMA SDK

unread,
Jun 13, 2019, 2:16:17 PM6/13/19
to petr.sc...@gmail.com, ima...@googlegroups.com
Hi Petr,

Thank you for providing additional details with regards to the issue. It seems that you're facing this issue with a specific ad, we're eager to investigate this behavior further. Can you share the ad tag you were using when you encountered the behavior?

Petr Schuchmann

unread,
Jun 13, 2019, 7:42:47 PM6/13/19
to Interactive Media Ads SDK
Hi Arnaud,

Overlay ads(I guess non-linear) are not supported in VMAP yet. For now, I fixed that issue by skipping preroll manually.
But I think that it is not good idea (for possible future compatibility issues):

Test non-linear tag from videojs-ima:
The image is missing, but it is not important (network related issue). You can check that there are only load and start events. No contentResumeRequested for preroll spot.

Above tag is working correctly in both Video Suite Inspector and videojs-ima. I'm curious how these players skip preroll for above non-linear VAST without contentResumeRequested event.

To see my issue(not fixed branch), this is heavily modified videojs-ima with native videojs UI:

VMAP postroll example tag triggers only contentResumeRequested for missing preroll so I expected simple logic 
=> if IMA SDK does not schedule any linear ad(or nonLinearFullslot) at 0:00, contentResumeRequested is triggered to skip preroll spot.

Thank you for your help.
PS

Dne čtvrtek 13. června 2019 20:16:17 UTC+2 imasdkforumadvisor napsal(a):

IMA SDK

unread,
Jun 14, 2019, 3:33:58 PM6/14/19
to petr.sc...@gmail.com, ima...@googlegroups.com
Hi Petr,

These players are using the discardAdBreak() method to skip ads without triggering any other events including contentResumeRequest. Regarding your initial question, the IMA SDK won't fire the contentResumeRequested event if the ad being displayed is not linear. It wouldn't make sense for the SDK to resume the content when the content itself never stopped.

Petr Schuchmann

unread,
Jun 14, 2019, 4:19:53 PM6/14/19
to Interactive Media Ads SDK
Hi Arnaud,

actually content is initially stopped when waiting for preroll handling. Thats why I mentioned VMAP postroll example where one of first events is contentResumeRequested (without precedent contentPauseRequested). So main issue is that player/integration does not know, if preroll will be played. There are cuePoints, but its not accurate for preroll scheduling because unscheduled ad can be placed by IMA SDK at 0:00 (VAST Linear Inline, same like preroll spot => without contentPauseRequested). I dont see any usecase for discardAdBreak(), but I will look into code. 

Thanks,
P.



Dne pátek 14. června 2019 21:33:58 UTC+2 imasdkforumadvisor napsal(a):

IMA SDK

unread,
Jun 17, 2019, 2:19:53 PM6/17/19
to petr.sc...@gmail.com, ima...@googlegroups.com

Hi Petr,

The content is not stopped by the SDK when waiting for pre-roll handling, the content is loaded before the ad playback begins but never started, the content.play() API method gets called only after CONTENT_RESUME_REQUESTED is fired by the SDK when dealing with pre-roll.

In my previous statement, I meant to say that the IMA SDK won't fire the contentPauseRequested event if the ad being displayed is not linear. The contentResumeRequested is also not fired, we do it manually by calling the  start the content.play() to start the content playback as soon as the ad is loaded and that we detected the ad as being non-linear. I would recommend you to take a look at the IMA SDK Architecture documentation.



Regards,
Arnaud Casame
IMA SDK Team



ref:_00D1U1174p._5001UBmus9:ref
Reply all
Reply to author
Forward
0 new messages