AD_PERIOD_STARTED and AD_PERIOD_ENDED events

276 views
Skip to first unread message

raghav navada

unread,
Mar 7, 2019, 10:51:59 AM3/7/19
to Interactive Media Ads SDK
Hi,

I see them being present for Android platforms(https://developers.google.com/interactive-media-ads/docs/sdks/android/v3/api/reference/com/google/ads/interactivemedia/v3/api/AdEvent.AdEventType). I don't see them for JS. Will you be providing them for JS platforms too? Can you please provide more information if you have any?

Thanks
Raghav

ima-sdk-fo...@google.com

unread,
Mar 7, 2019, 4:31:41 PM3/7/19
to ima...@googlegroups.com
Hello Raghav,

These events are only supported for DAI. And, it is was added in the latest HTML5 SDK release. These events can be used to detect when the DAI stream is in content or when ads or slate are being played.

Let us know if you are looking for anything else.

Regards,
Deepika Uragayala
IMA SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
You received this message because you are subscribed to the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ima-sdk+unsubscribe@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at https://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/d/optout.

Gilad Nadav

unread,
Mar 10, 2019, 10:59:46 AM3/10/19
to Interactive Media Ads SDK
Hi,

The thing is that these new events are only fired for DAI Live streams

the question is why then ad break started /ended are also fired for live streams what is the added value here?

10x
Gilad.

ima-sdk-fo...@google.com

unread,
Mar 11, 2019, 3:58:38 PM3/11/19
to ima...@googlegroups.com
Hello Gilad,

AD_BREAK_STARTED and AD_BREAK_ENDED events are triggered only if an ad break is played for the first time. Whereas, the purpose of adding the AD_PERIOD_STARTED and AD_PERIOD_ENDED events is to identify whether you are in content or ad playback within a Live/Linear stream. AD_PERIOD_STARTED will be fired when there is a slate and when the ad break is being replayed or when seeking to the middle of an ad break and AD_PERIOD_ENDED will be fired when an ad period ends. You can go through this documentation to which we have added the details about these two events.

Regards,
Deepika Uragayala
IMA SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Sudhi Nada

unread,
Jun 25, 2019, 12:48:51 PM6/25/19
to Interactive Media Ads SDK
Hi,

Do you have example code to understand how to detect when an Ad Slate is playing? Also, is there a Google DAI test stream that had Ad Slates? The test stream is useful to test any code to detect Ad Slates.

IMA SDK

unread,
Jun 25, 2019, 4:52:46 PM6/25/19
to ima...@googlegroups.com
Hi,

You can register, listen and play around with the events using our HTML5  DAI sample apps and a stream that also contains slates. Unfortunately, I don't currently have an AssetKey that would display ads and slates. Allow me to share the request with the rest of team and I'll come back to you once I have it.

Regards,
Arnaud Casame
IMA SDK Team

ref:_00D1U1174p._5001UCZPg9:ref

Sudhi Nada

unread,
Jun 25, 2019, 4:59:36 PM6/25/19
to IMA SDK, ima...@googlegroups.com
Thank you. Does the DAI Sample Live stream also play Ad Slates?


From: <ima...@googlegroups.com> on behalf of IMA SDK <imasdkfor...@gmail.com>
Date: Tuesday, June 25, 2019 at 1:52 PM
To: "ima...@googlegroups.com" <ima...@googlegroups.com>
Subject: RE: AD_PERIOD_STARTED and AD_PERIOD_ENDED events

** This email originated from outside of Conviva.
--
You received this message because you are subscribed to the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ima-sdk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ima-sdk/DqHNB000000000000000000000000000000000000000000000PTO9ZU00qWcCGPVgTP-Y9ac9Ud1umw%40sfdc.net.

IMA SDK

unread,
Jun 26, 2019, 2:29:27 PM6/26/19
to sn...@conviva.com, ima...@googlegroups.com
Hi Sudhi,

You can use this AssetKey (qbojP7EsREC2lQyWjlRMmA) to display Ads and Slates, and monitor the events.

Canlin Zheng

unread,
Jun 28, 2019, 8:49:48 PM6/28/19
to Interactive Media Ads SDK
Hi IMA team,

I tested the provided asset key (qbojP7EsREC2lQyWjlRMmA) with DAI html and android to see if I can observe AD_PERIOD_STARTED and AD_PERIOD_ENDED, but looks like these two events didn't get fired at all. (see attached code and log of HTML, only saw AD_BREAK_STARTED/ENDED)

Are these two events only fired when slate happens, or it should be fired even with normal ad breaks. Is addition configuration required to enable these two events?

Thanks in advance!



Screen Shot 2019-06-28 at 5.43.57 PM.png

Screen Shot 2019-06-28 at 5.43.39 PM.png

IMA SDK

unread,
Jul 1, 2019, 3:41:33 PM7/1/19
to edward...@gmail.com, ima...@googlegroups.com
Hi Edward,

I was able to reproduce the behavior that you’re seeing with the AD_PERIOD_STARTED and AD_PERIOD_ENDED  events not fired. Our team is going to review the issue. I will get back to you with more information as soon as possible.

Saiguang Che

unread,
Jul 9, 2019, 6:02:15 PM7/9/19
to Interactive Media Ads SDK
Hi,

Is there a new update about this? BTW, does Google team see the problem on iOS and Roku, too?

Thanks,

Saiguang

IMA SDK

unread,
Jul 10, 2019, 3:28:23 PM7/10/19
to stonn...@gmail.com, ima...@googlegroups.com
Hi there,

Arnaud is out of office so I will be assisting you here. For now, we have been able to reproduce the issue on HTML5 only and our team still investigating the issue and suspecting that this is a server side issue. We will keep you posted via this thread once we have more information. are you able to reproduce the issue on the other platforms as well?

Regards,
Deepika Uragyala

Canlin Zheng

unread,
Jul 10, 2019, 7:42:20 PM7/10/19
to Interactive Media Ads SDK
Hi Deepika,

Thanks for the reply and letting us know IMA team is working on it. For this issues, I was able to reproduce it with the same asset key on Android as well. If it is a server side issue, shouldn't it affect all platforms?

Thank you.

IMA SDK

unread,
Jul 11, 2019, 2:44:53 PM7/11/19
to edward...@gmail.com, ima...@googlegroups.com
Hello there,

Thanks for confirming. We haven't confirmed this as a server side issue. So, we will keep you posted as soon as we hear anything from the team.

Regards,
Deepika Uragayala

John George

unread,
Nov 5, 2020, 10:36:41 PM11/5/20
to Interactive Media Ads SDK
Hello,

Sorry to bring back an old thread, but I'm running into the issue of AD_PERIOD_STARTED and AD_PERIOD_ENDED events not firing on Roku as well (Model 4630X, SDK Version r.3.40.1).

Just wondering if this is an issue Google is still investigating, or if there is a known fix that we can try client-side at all?

Thanks,
John

IMA SDK

unread,
Nov 6, 2020, 1:25:00 AM11/6/20
to ima...@googlegroups.com

Hi John,

Thank you for your reaching out to us. However, I would recommend you create a new thread for your query specifically for the Roku platform as this thread is related to the HTML5 DAI issue. This will help us to track and handle your concern accordingly.

When creating a new thread, you may also provide us the AssetKey or the Content Source/Video IDs that you are using wherein the issue occurs.

Could you also confirm what version of the IMA SDK are you using? Please note that the SDK version 3.33.0 for Roku already includes the feature of AD_PERIOD_STARTED and AD_PERIOD_ENDED events in the ima.AdEvent.


Regards,

Google Logo
Sherwin Diesta
IMA SDK Team
 


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