Getting incomplete data for ads

148 views
Skip to first unread message

Fernando

unread,
Sep 29, 2023, 2:16:51 PM9/29/23
to Interactive Media Ads SDK
Hi,

Using the Advance Sample project and the Big Buck Livestream(with the asset key = c-rArva4ShKVIAkNfy6HUQ), I noticed I get only ad data for two of the three ads that are played. 

Is this normal?

Thank you for your help.

IMA SDK

unread,
Oct 4, 2023, 9:46:56 AM10/4/23
to fvela...@brightcove.com, ima...@googlegroups.com

Hi Fernando,

Thank you for contacting the IMA SDK support team.

By reviewing your concern, I understand that you are not seeing ad data for two of three ads in the Android Advance Sample project. When testing the sample HLS live stream, I see ad events for all 3 ads in the ad break (see attached screenshot). Could you please further elaborate on the issue and for further investigation:

  • Could you please clarify what you mean by ad data?
  • Please provide screen recording of the issue
  • Please provide a charles log demonstrating the issue
Thank you,
IMA SDK team

ref:_00D1U1174p._5004Q2p2azw:ref
Screenshot 2023-10-04 at 9.44.22 AM.png

Fernando Velazquez

unread,
Oct 4, 2023, 1:25:39 PM10/4/23
to IMA SDK, ima...@googlegroups.com
Hi,

I don’t see the same behavior as the one from the screen shot. 
By ad data I mean the events of AD_BREAK_STARTED, LOADED, STARTED, COMPLETED, AD_BREAK_ENDED, etc.

This is a screen recording along Charles logs of what I see https://drive.google.com/drive/folders/14IVlgFyDJdrI9erw8auuh4rCznY6of0D?usp=sharing

Another thing I have noticed is when I join the stream in the middle of an ad playback, the onAdEvent captures the ad object as null.


Thank you for your help.

Fernando Velazquez
Staff Android Engineer
Brightcove, Inc.


Fernando Velazquez

unread,
Oct 4, 2023, 2:20:15 PM10/4/23
to IMA SDK, ima...@googlegroups.com
I forgot to mention this other odd case where we don’t get ad events at all.
See the screenshot attached.

Fernando Velazquez
Staff Android Engineer
Brightcove, Inc.


Screenshot_20231004_121740.png

IMA SDK

unread,
Oct 6, 2023, 10:38:33 AM10/6/23
to fvela...@brightcove.com, ima...@googlegroups.com
Hello Fernando,

This is Jackson from the IMA SDK team, thank you for raising this issue.

I wanted to verify a few things before continuing. In the video I saw the ads had the DFP logo in the upper left. The current HLS live sample stream (c-rArva4ShKVIAkNfy6HUQ) should have a Google logo.

If you are using an older sample stream, there may be issues with it.

Could you confirm which stream is being used in the video, and also which version of the IMA SDK you are using?

Also, it is expected behavior that some ad information will be absent if you join a stream mid ad.

For the screen recording that shows no ad events, are there any additional steps needed than simply running the Advanced sample app with HLS livestreams?

Please let me know if you have any questions.

Thank you,
Jackson

Fernando

unread,
Oct 9, 2023, 2:17:21 PM10/9/23
to Interactive Media Ads SDK
Hi Jackson,

I'm using the advanced sample with the last commit from Apr  28, 2023, and it doesn't need any additional steps to reproduce the issue I'm seeing. The sample uses the big buck bunny(c-rArva4ShKVIAkNfy6HUQ) set in the VideoListFragment class and the same asset is listed here, so I assume that's not an old stream. And the advanced sample uses the IMA SDK 3.30.1 version.

I'm outside of the US. Could that be a thing?

Thanks.

IMA SDK

unread,
Oct 10, 2023, 12:58:11 PM10/10/23
to fvela...@brightcove.com, ima...@googlegroups.com
Hello Fernando,

Thank you for updating me about this issue.

That is the correct sample HLS live stream (c-rArva4ShKVIAkNfy6HUQ).

The streams are not region locked, so it should not be an issue.

Contrary to my previous message, ad events should fire as usual, even if joined mid ad break. I tested joining during the middle of an ad break, and saw events fire as expected (see screenshot).

How often are you seeing missing ad events when running the sample app?
Screenshot 2023-10-10 at 12.47.58 PM.png

Wesley Carnicle

unread,
Oct 10, 2023, 2:15:03 PM10/10/23
to IMA SDK, fvela...@brightcove.com, ima...@googlegroups.com
When will google Adsense for video come back 
©2023 South Ark®️ Intellectual Property. All rights reserved. South Ark Weather, LLC, the South Ark Weather, LLC logo and all other South Ark Weather, LLC marks contained herein are trademarks of South Ark Weather, LLC Intellectual Property and/or South Ark Weather, LLC affiliated companies. All other marks contained herein are the property of their respective owners.


--
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/f2VD0000000000000000000000000000000000000000000000S2BOGK0022oHdCNfSHWNT_EjYKm7iQ%40sfdc.net.

IMA SDK

unread,
Oct 10, 2023, 2:44:24 PM10/10/23
to southar...@gmail.com, fvela...@brightcove.com, ima...@googlegroups.com
Hello Wesley,

If you have an IMA question unrelated to this case about IMA HLS Android live streams, please start a new thread on this forum.

Fernando

unread,
Oct 10, 2023, 3:01:30 PM10/10/23
to Interactive Media Ads SDK
Hi Jackson,

Sorry if I wasn't clear. I reported two things; the first is that I don't get the ad events for the third ad. And the second is when I join a live stream in the middle of an ad I get the ad object as null.

You already answered the second saying that it is by design. 

But I'm still facing the first one, I still don't get the events for the third ad so the player "thinks" is playing content.

Thank you.

IMA SDK

unread,
Oct 11, 2023, 10:02:16 AM10/11/23
to fvela...@brightcove.com, ima...@googlegroups.com
Hello Fernando,

Thank you for confirming the issue.

I just ran a test now and saw all three ads in the ad pod have the correct ad events.

Let me see if there are any other factors that could affect this test:
- How often are you seeing this happen on your tests?
- Does it happen for the first ad pod?
- Are you testing on a emulator or physical device?

Or let me know if there are any other unique factors to your testing setup

Fernando

unread,
Oct 11, 2023, 12:38:01 PM10/11/23
to Interactive Media Ads SDK
Hi Jackson,

I noticed this on all ad pods, and I'm using a physical device(a pixel 6).

I attached a file with the logs, a screenshot of the advanced sample app that displays all the ads events received, and I also include a new Charles log: https://drive.google.com/file/d/1LWRo7qUyDVmzCVn_kvZXf_5PLzDEi8O7/view?usp=drive_link

These files were recorded from the same session. For the first two ad pods, we can see there were no ad events and only the Ad Period Started and Ad Period Ended, but I saw the ads being played.

I hope these files can help.

Thank you.
logcat.txt
Screenshot_20231011-102549.png

IMA SDK

unread,
Oct 12, 2023, 11:08:08 AM10/12/23
to fvela...@brightcove.com, ima...@googlegroups.com
Hello Fernando,

Thank you for adding those details.

I was able to reproduce the issue on a physical Pixel 6. I think this is an issue specific to the test stream and test network. I took a look at the streams settings, and think I may have fixed the issue on this specific stream. Could you confirm if it is still reproducible for you?

Do you see this happening to any production streams? Or only on IMA's test stream?

Fernando

unread,
Oct 12, 2023, 1:07:35 PM10/12/23
to Interactive Media Ads SDK
Hi Jackson,

That stream seems to be fixed, but the "Live DASH Video - Tears of Steel"(assetKey=PSzZMzAkSXCmlJOWDmRj8Q) is facing the same issue.

I have only tested on IMA's test stream.

I appreciate your help.

IMA SDK

unread,
Oct 12, 2023, 1:21:07 PM10/12/23
to fvela...@brightcove.com, ima...@googlegroups.com
Hello Fernando,

Thank you for confirming that fixed the test HLS stream. I have copied over the same changes to our other test streams, including the DASH stream (assetKey=PSzZMzAkSXCmlJOWDmRj8Q).

Please let me know if I can help with anything else.

Fernando

unread,
Oct 13, 2023, 3:20:13 PM10/13/23
to Interactive Media Ads SDK
Hi Jackson, 

It's me again. This time, I noticed the ad events still are fired when I press the "Learn more" button from an ad. That opens the browser putting the app in the background.

You can replicate this with the AdvancedSample App, and you'll get only Ad Progress events, but in my custom implementation, I also get the Ad Break Ended. On both implementations the stream should be paused and not get at all ad events, right?

Thanks.

IMA SDK

unread,
Oct 16, 2023, 9:30:29 AM10/16/23
to fvela...@brightcove.com, ima...@googlegroups.com
Hi Fernando,

That is correct, when clicking the 'Learn more' button, the ad should be paused. It is then up to the app owner to create a way to un-pause the ad (see this related blogpost for more info).

I was seeing some incorrect behavior in the sample apps, when clicking the learn more button, but did not see exactly what you described, where the ad continued while the player was backgrounded. I will continue to investigate, and let you know if it is an issue with the sample apps or the IMA SDK.


Thank you,
Jackson
IMA SDK team

ref:!00D1U01174p.!5004Q02p2azw:ref
Reply all
Reply to author
Forward
0 new messages