Adbreak related events missing for IMA [Android]

204 views
Skip to first unread message

Alexander

unread,
Mar 1, 2022, 9:03:57 AM3/1/22
to Interactive Media Ads SDK
Hi,

We are currently using the latest version of the IMA SDK for Android. An observation we have made is that the AD_BREAK_STARTED and AD_BREAK_ENDED are not coming through in our onAdEvent() listener. Also when checking in the VSI (using the dummy sample tag provided) we don't see either of the two events being triggered.

Note that all other events, including AD_PROGRESS, are triggered as expected in our implementation just like in the Video Inspector Suite.

When looking at the documentation of both events we see that the following is mentioned:
"... Communicated to the publisher via player APIs."

Is it correct to assume that this means those events can only be captured for DAI by overriding corresponding methods of the VideoStreamPlayer? Additionally is it correct for us to assume that they will not be triggered for IMA in onAdEvent() of the AdEventListener.

Kind regards,
Alexander

IMA SDK

unread,
Mar 1, 2022, 10:02:10 AM3/1/22
to alexand...@hotmail.com, ima...@googlegroups.com
Hi Alexander,

Make sure you are configuring your application to handle Ad Breaks and receive any Ad Break related events via the ImaSdkSettings.setAutoPlayAdBreaks() method. You can take a look at this document for our official guide on how to implement Manual Ad Breaks.

Let me know if this works for you.

Regards,
Google Logo
Teejay Wennie
IMA SDK Team
 


ref:_00D1U1174p._5004Q2XkJJl:ref

Alexander

unread,
Mar 1, 2022, 10:43:35 AM3/1/22
to Interactive Media Ads SDK
Hi Teejay,

I just configured setAutoPlayAdBreaks() to false, to be in control of ad playback.
Also, like suggested, I now trigger the adsManager.start() after AD_BREAK_READY.
However, the AD_BREAK_STARTED and AD_BREAK_ENDED are again not triggered inside the onAdEvent().

Is there something else that might cause this, or will it never be triggered for IMA?

Additional note:
    When looking at the IOS documentation, it says: (only used for dynamic ad insertion)

Thanks in advance,
Alexander

Op dinsdag 1 maart 2022 om 16:02:10 UTC+1 schreef imasdk:

IMA SDK

unread,
Mar 1, 2022, 8:34:43 PM3/1/22
to alexand...@hotmail.com, ima...@googlegroups.com

Hello Alexander,

 

Michael here, I work along with Teejay.

 

I believe the AD_BREAK_STARTED and AD_BREAK_ENDED should be fired whenever ad break begins and ends. Have you replicated the same behavior using our sample apps? If not, we would recommend to check it and use as reference for your own integration to avoid implementation issues. If yes, kindly indicate what exact sample app did you use and its SDK version.

Regards,

Google Logo
Michael Angelo
IMA SDK Team
 


ref:_00D1U1174p._5004Q2XkJJl:ref

Alexander

unread,
Mar 2, 2022, 4:41:32 AM3/2/22
to Interactive Media Ads SDK
Hi Michael,

I was able to reproduce the issue without any changes using the sample (AdvancedExample3.26.0-0.zip) you've linked above.
The only thing that I've edited is the log-statement inside the onAdEvent().

I observe the following:

Screenshot 2022-03-02 at 10.31.30.png
AD_BREAK_STARTED and AD_BREAK_ENDED aren't fired whenever the ad break begins and ends.

Kind regards,
Alexander

Op woensdag 2 maart 2022 om 02:34:43 UTC+1 schreef imasdk:

IMA SDK

unread,
Mar 2, 2022, 9:54:45 AM3/2/22
to alexand...@hotmail.com, ima...@googlegroups.com
Hi Alexander,

Thank you for getting back to us. I've raised this (including the discussion and findings thus far) to the rest of the team for further investigation. I'll let you know the soonest they provide their feedback.

Regards,
Google Logo
Teejay Wennie
IMA SDK Team
 


ref:_00D1U1174p._5004Q2XkJJl:ref

IMA SDK

unread,
Jun 16, 2022, 7:33:27 AM6/16/22
to ima...@googlegroups.com, alexand...@hotmail.com
Hi Alexander,

I hope you're doing fine and safe. Could you confirm if you were still encountering the reported issue here using the latest version of the SDK, so I could raise this to the team once again?
Reply all
Reply to author
Forward
0 new messages