How to stop an ongoing Ad and resume the content in IMADAI SDK

640 views
Skip to first unread message

gourav...@gmail.com

unread,
Mar 3, 2022, 8:08:12 AM3/3/22
to Interactive Media Ads SDK
Hi,

It's about IMADAI.
Let's suppose live match is going on and then and Ad plays; now what if the we want to stop the ad and start the live match. So how this could be achieved. 
 
Is this something which should be done on the ad server side where ad is being stiched and as per the signalling in the manifest, IMA sdk is handling this situation ? 
OR
Or something we need to handle on our end ?

-Thanks

IMA SDK

unread,
Mar 3, 2022, 9:55:22 AM3/3/22
to gourav...@gmail.com, ima...@googlegroups.com
Hi Gourav,

Thank you for reaching out to us.

As per your use case, you may utilize the skip() method to skip the current ad.

Regards,
Google Logo
Teejay Wennie
IMA SDK Team
 


ref:_00D1U1174p._5004Q2Xl2hQ:ref

Gourav Saxena

unread,
Mar 4, 2022, 5:23:53 AM3/4/22
to IMA SDK, ima...@googlegroups.com
Hi Teejay,

skip() does not skip the Ad.
AFAIK, if VAST has skippable tag then only it works; that to be handled by IMA sdk internally.

1. Can you please suggest how can the ad can be stopped and live playback can be resumed ? 

2. Let's assume skip() or some method works to stop the currently playing Ad then also; how would i get to know when to stop.  Does IMA sends some event for it ?

Regards,
Gourav

IMA SDK

unread,
Mar 4, 2022, 9:45:16 AM3/4/22
to gourav...@gmail.com, ima...@googlegroups.com
Hi Gourav,

Thank you for getting back to us.

The skip() method will only work VAST has skippable tag. As per your use case, I'm afraid that there's no specific method for this. I could submit a feature request that can support this. Before I can proceed, could you kindly provide your business use case (or benefit) with regard to the said feature/functionality?

Gourav Saxena

unread,
Mar 4, 2022, 9:53:10 AM3/4/22
to IMA SDK, Interactive Media Ads SDK
Hi Teejay,

Business case could be,
Lets assume,

Cricket match js going on and suddenly aplayer got injured and we want to show ad to the users and when everything is fine then we want to resume the match.

Now, anyone don't know when an injury can happen and when to come back to match.6

Can you please check with the team if live HLS/ Dash manifest has some signalling when to start and stop the Ad?

IMA SDK

unread,
Mar 7, 2022, 10:49:59 AM3/7/22
to gourav...@gmail.com, ima...@googlegroups.com
Hi Gourav,

Thank you for getting back to us. I've raised this (including the reports and discussion thus far) to the rest of the team. I'll update this thread the soonest they share their feedback.

gourav...@gmail.com

unread,
Mar 9, 2022, 12:32:54 AM3/9/22
to Interactive Media Ads SDK
Hi Teejay,

Thanks for taking this up to the internal team. Please keep us posted about the progress.

IMA SDK

unread,
Mar 9, 2022, 6:03:47 AM3/9/22
to gourav...@gmail.com, ima...@googlegroups.com

Hello Gourav,

 

Michael here and I work along with Teejay.

 

Would it be possible for you to try the discardAdBreak method? This should discard the current ad break and resumes the content. However, please be mindful in calling this method as if there is no current ad playing then the next ad break is the one being discarded.

 

Additionally, I believe the cue points method would help you in determining when the ad would start and end.

 

Let us know if this would help to your use case.

Regards,

Google Logo
Michael Angelo
IMA SDK Team
 


ref:_00D1U1174p._5004Q2Xl2hQ:ref

gourav...@gmail.com

unread,
Mar 9, 2022, 6:13:13 AM3/9/22
to Interactive Media Ads SDK
Hi Michael,

Thanks for answering it. My case is completely revolving around Live Media with ads; IMADAI.
Here, there is no cuepoints basically, ads are stiched in the stream itself. I will not be able to identify the end time because it is internal to IMA SDK.

Following is the my question,

Is this something which should be done on the ad server side where ad is being stiched and as per the signalling in the manifest, IMA SDK is handling this situation ? 
OR
Or something we need to handle on our end ?

IMA SDK

unread,
Mar 9, 2022, 9:47:56 AM3/9/22
to gourav...@gmail.com, ima...@googlegroups.com
Hi Gourav,

I've circled this back to the team. I'll let you know the soonest they provide their feedback.

Regards,
Google Logo
Teejay Wennie
IMA SDK Team
 


ref:_00D1U1174p._5004Q2Xl2hQ:ref

IMA SDK

unread,
Mar 15, 2022, 6:20:28 AM3/15/22
to gourav...@gmail.com, ima...@googlegroups.com

Hello Gourav,

 

Hope this message reaches you well.

 

Would you be able to share with us the name of the publisher that is asking for this feature?

Regards,

Gourav Saxena

unread,
Mar 15, 2022, 6:26:57 AM3/15/22
to IMA SDK, ima...@googlegroups.com
Hi Michael,

As a feature, I wanted to know about its possibility because I have seen apps in India which show live matches and they kill the ad in between.

Regards,
Gourav

IMA SDK

unread,
Mar 15, 2022, 11:22:21 PM3/15/22
to gourav...@gmail.com, ima...@googlegroups.com

Hello Gourav,

 

Thank you for your response. However, we are already aware of the reason, but our team is interested to know the name of the publisher who is requesting this, would you be able to tell? Asking this as we may need to include them on the current discussion with regards to this feature.

Regards,

Gourav Saxena

unread,
Mar 19, 2022, 9:19:52 AM3/19/22
to IMA SDK, ima...@googlegroups.com
Hi Michael,

Sorry to say, I don't have any publisher name. It's a functionality which I asked for by seeing something required in the product.

Regards,
Gourav

IMA SDK

unread,
Mar 21, 2022, 3:51:42 AM3/21/22
to gourav...@gmail.com, ima...@googlegroups.com

Hello Gourav,

 

Thank you for clarification. I will relay this to our team and we will get back to you with more information as soon as possible.

Regards,

Gourav Saxena

unread,
Mar 21, 2022, 3:53:38 AM3/21/22
to IMA SDK, ima...@googlegroups.com
Thanks Michael.

-
Gourav

IMA SDK

unread,
Jun 16, 2022, 5:00:53 AM6/16/22
to gourav...@gmail.com, ima...@googlegroups.com
Hi Gourav,

Thank you for your patience. The team provided their feedback with the following verbatim:

Confirming that the publisher's encoder can pass an early "CUE-IN" marker in the playlist to notify end of an ad break before the duration specified in the CUE-OUT marker. Google DAI will pick up on the "CUE-IN" marker and return the stream to content.

Example: If the CUE-OUT duration (ad break duration) is specified as 120s, but the publisher wants to return to content at 100s, their encoder can send a CUE-IN at that point and DAI will switch from ad break to the content.


Regards,
Google Logo
Teejay Wennie
IMA SDK Team
 


ref:_00D1U1174p._5004Q2Xl2hQ:ref

Gourav Saxena

unread,
Jun 16, 2022, 5:11:12 AM6/16/22
to IMA SDK, ima...@googlegroups.com
Hi Teejay,

Thank you so much for answering.

The answer is fine in terms of how IMADAI sdk is working internally where they check CUE-IN / OUT tags and act upon that.

My question was how to do it from the app side. Is there any API to cancel the ongoing ad. Let's suppose I get to know CUE-OUT; I want to mimic the behaviour to discard the ongoing Ad. How to do it ?

Can you please help with it ? I want to know the API for the app to do it.

Regards,
Gourav

IMA SDK

unread,
Jun 20, 2022, 3:14:46 AM6/20/22
to gourav...@gmail.com, ima...@googlegroups.com

Hello Gourav,

 

Thank you for responding back to us. I believe what you are looking for is the discardAdBreak method. With this, it will discard the current ad break and resumes content. If there is no current ad then the next ad break is discarded.

Let us know should you have further questions.

Regards,


Google Logo
Michael Angelo
IMA SDK Team
 


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