Android TV IMA skip ads focus issue

719 views
Skip to first unread message

Sowmiya Chinnasamy

unread,
Jun 28, 2022, 1:39:48 AM6/28/22
to Interactive Media Ads SDK

Hi Team,

We are facing, when we click on the skip button the entire frame in which the ad is played comes to focus and its redirect to the browser. If there is no browser app toast is shown no app available.

We have asked exoplayer community they have said below answer

I'm not entirely sure how the reproduction steps work - do you trigger the OK button on your remote only once or multiple time? It looks like the first press on OK does not skip the ad and instead refocusses on the entire video.
In any case, I believe this problem is outside of what we can control or fix. It's either an issue in your app UI or a problem in the overlay UI provided by IMA (which should be reported to them). ExoPlayer just takes the overlay view and passes it on to IMA to display the right buttons.

Exoplayer Issue Raised Link: google/ExoPlayer#10292

Devices that reproduce the issue:

Android TV and Firestick Tv

Ads version

api 'com.google.ads.interactivemedia.v3:interactivemedia:3.10.2'

Reproduction steps:

1.Use simple exoplayer with hls url for playing videos
2. Insert client side ads url which are skippable, in the media source
3. Use pre roll ads
4. When we play the video the ads is played first and the focus is on the skip button
5. When we click on the skip button the entire frame in which the ad is played comes to focus and its redirect to the browser. If there is no browser app toast is shown no app available.
6. The ads never skipped and it keep on playing

Note: We are using player the frame is not playing full screen but 70 percentage of TV screen (We have attached the video for same). This issue does not occur when the video is played full screen

Expected result:

When playing ads the skip button should be auto focused and click ok button from tv remote the ads will be skip

Actual result:

When playing ads the skip button should be auto focused but the selection of like yellow border line focused full player
Click ok button from tv remote it moved to web browser if available

Any solution for this issue??

IMA SDK

unread,
Jun 28, 2022, 9:31:29 PM6/28/22
to sowm...@contus.in, ima...@googlegroups.com

Hello Sowmiya,

 

Michael here from IMA SDK Team. Thank you for reaching out to us.

 

Would you be able to confirm what SDK platform (please refer here) and SDK version you were using in encountering the reported behavior? Kindly share the following so we could investigate further:

  • Sample project implementation where the issue is reproducible (it could be derived from one of our sample apps with minimum modification to fit your use case)
  • VAST Ad Tag used in testing
  • Screen recording of the behavior for better illustration of the issue

 

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

 

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=5004Q00002cDtjRQAS&entry.80707362=00112373

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 

Should you opt to share the requested details directly on this thread. Please send it privately via "Reply To Author" button.

 

Regards,


Google Logo
Michael Angelo
IMA SDK Team
 



ref:_00D1U1174p._5004Q2cDtjR:ref

Naga Sulochana Gutti

unread,
Jun 29, 2022, 3:55:26 AM6/29/22
to Interactive Media Ads SDK
hi sowmya, even me too facing same issue, if  I move focus from SKIPAD then the entire Ad playerview is getting focused, 

Did you resolved this issue

Sowmiya Chinnasamy

unread,
Jun 29, 2022, 4:14:40 AM6/29/22
to Interactive Media Ads SDK
Hello Naga,

Still unresolved. I face the same problem

Sowmiya Chinnasamy

unread,
Jun 29, 2022, 4:22:24 AM6/29/22
to Interactive Media Ads SDK
Thanks for your response, I am developing IMA based Ads integration with VAST AD tag url,

I shared  files in document with screenshots and videos having the issues with the focusing , please help me out ,
When playing ads the skip button should be auto focused but the selection of like yellow border line focused full player
Click ok button from tv remote it moved to web browser if available

IMA sdk version:
implementation 'com.google.ads.interactivemedia.v3:interactivemedia:310.2'

ExoPlayer Version

Older 


Please help me out on Focus issues

IMA SDK

unread,
Jun 30, 2022, 1:03:05 AM6/30/22
to sowm...@contus.in, ima...@googlegroups.com

Hello Sowmiya,

 

Thank you for responding back to us.

 

Would you be able to confirm if you can replicate the same behavior using one of our sample apps? We also recommend using the latest version of the SDK v3.27.1 as there are several fixes that had been made from the past version to the latest one.

 

On the other hand, if you cannot replicate the same behavior with our sample apps, please provide your own sample project implementation where the issue is reproducible so we can test on our end.

 

Additionally, kindly share the VAST Tag that you used for this testing.

Naga Sulochana Gutti

unread,
Jun 30, 2022, 10:12:04 AM6/30/22
to Sowmiya Chinnasamy, Interactive Media Ads SDK
how we can hide Ad Attribute and Ad countdown while playing Ad?

--
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/c3a7e3a8-216c-4032-9b35-35a856563386n%40googlegroups.com.

IMA SDK

unread,
Jul 1, 2022, 3:04:07 AM7/1/22
to naga.su...@mobiotics.com, ima...@googlegroups.com, sowm...@contus.in

Hello Naga,

 

Thank you for your response. With regards to hiding Ad UI elements, without setting the UiElements.COUNTDOWN and leaving only the UiElements.AD_ATTRIBUTION element will let you remove the ad countdown timer in the UiElement while the ad is playing.

 

Moreover, without setting both elements, then it should not display both the countdown and ad attribution.

Naga Sulochana Gutti

unread,
Jul 1, 2022, 4:55:14 AM7/1/22
to IMA SDK, ima...@googlegroups.com, sowm...@contus.in
yes , i has given like adsrenderringsettings.setUiElements(emptySet())

while playing the ad sometimes i am seeing Adtimer with count down , sometimes no

I didnt get exactly this behaviour , y sometimes its showing, after setting empty Uielementss also

IMA SDK

unread,
Jul 1, 2022, 9:32:39 AM7/1/22
to naga.su...@mobiotics.com, ima...@googlegroups.com, sowm...@contus.in
Hello Naga,

This setting is ignored for AdSense/AdX ads.  If the above doesn't help, can you privately send us an ad tag that reproduces this issue?

Regards,

Google Logo
Aryeh
IMA SDK Team
 


ref:_00D1U1174p._5004Q2cDtjR:ref

Sowmiya Chinnasamy

unread,
Jul 6, 2022, 6:48:33 AM7/6/22
to Interactive Media Ads SDK
Hi,

IMA ads UI not show in full screen player using exoplayer android tv

Exoplayer versions:
implementation 'com.google.android.exoplayer:exoplayer:2.15.0'
implementation 'com.google.android.exoplayer:exoplayer-core:2.15.0'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.15.0'
// The library adds the IMA ExoPlayer integration for ads.
implementation 'com.google.android.exoplayer:extension-ima:2.15.0'
implementation 'com.google.android.exoplayer:extension-leanback:2.15.0'

How to fix this?

IMA SDK

unread,
Jul 6, 2022, 2:38:46 PM7/6/22
to sowm...@contus.in, ima...@googlegroups.com
Hi Sowmiya,

Thank you for reaching out to IMA SDK support. I saw your videos. Can you replicate using one of our sample apps that are minimally modified? If yes, can you privately send your project with replication steps?

Sowmiya Chinnasamy

unread,
Jul 12, 2022, 12:42:26 AM7/12/22
to Interactive Media Ads SDK

Hi Team,

I am tried to your sample apps but did not get solution. Please check below screenshot

We are using player the frame is not playing full screen but 70 percentage of TV screen (We have attached the video for same). This issue does not occur when the video is played full screen

Devices that reproduce the issue:

Android TV and Firestick Tv

Exoplayer and IMA Ads version

implementation 'com.google.android.exoplayer:exoplayer:2.15.0'
implementation 'com.google.android.exoplayer:exoplayer-core:2.15.0'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.15.0'
// The library adds the IMA ExoPlayer integration for ads.
implementation 'com.google.android.exoplayer:extension-ima:2.15.0'
implementation 'com.google.android.exoplayer:extension-leanback:2.15.0'

Expected result:

When playing ads the skip button should be auto focused and click ok button from tv remote the ads will be skip

Actual result:

When playing ads the skip button should be auto focused but the selection of like yellow border line focused full player not focus on skip button


Screenshot:

Screenshot from 2022-05-26 11-17-05.png


Any solution for this issue??


IMA SDK

unread,
Jul 12, 2022, 6:13:30 AM7/12/22
to sowm...@contus.in, ima...@googlegroups.com

Hello Sowmiya,

 

Thank you for responding back to us.

 

You have mentioned that you have tried our sample apps but did not find the solution there. Would you be able to confirm if you encountered the same exact reported behavior in the sample apps itself? If not, kindly provide your own sample project implementation where the issue is reproducible and we will immediately raise this to the rest of our team for further investigation.

 

Additionally, please provide the VAST Tag used for testing.

 

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

 

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=5004Q00002cDtjRQAS&entry.80707362=00112373

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 

Should you opt to directly share the requested details on this thread, please send it privately via "Reply To Author" button.

Regards,

Google Logo
Michael Angelo
IMA SDK Team
 


ref:_00D1U1174p._5004Q2cDtjR:ref

Sowmiya Chinnasamy

unread,
Jul 18, 2022, 2:57:23 AM7/18/22
to Interactive Media Ads SDK
Hi,

I have one issue in exoplyer extension with IMA the skippable ads not receiving skippable_state_changed and I have  attached the screenshot below please check

Exoplayer Updated Version For Ads

// The library adds the IMA ExoPlayer integration for ads.
implementation 'com.google.android.exoplayer:extension-ima:2.18.0'

What is the reason? Can you please Explain.

I tried sample apps (Advanced Example)

I updated the code and files in below document please check




Screenshot from 2022-07-18 11-38-03.png

IMA SDK

unread,
Jul 18, 2022, 4:00:49 PM7/18/22
to sowm...@contus.in, ima...@googlegroups.com
Hi Sowmiya,

Thank you for the modified sample, let me bring this up with my team. We will get back to you as soon as possible.

Regards,

Google Logo
Aryeh
IMA SDK Team
 


ref:_00D1U1174p._5004Q2cDtjR:ref

Naga Sulochana Gutti

unread,
Jul 19, 2022, 12:09:43 AM7/19/22
to IMA SDK, Sowmiya Chinnasamy, Interactive Media Ads SDK
Even me too faced some issue, may be left to the Ad timer one ui(one invisible view) is focused , if that view has the focus then the SKIP AD(skippable state changed)won't  get focus

--
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.

IMA SDK

unread,
Jul 19, 2022, 2:52:07 PM7/19/22
to naga.su...@mobiotics.com, ima...@googlegroups.com, sowm...@contus.in
Hello all,

I am having some difficulty reproducing the behavior.

Using your sample app, I was able to make the following screen recording. In it, I see the skip button properly selected and function when clicked. Even if navigated away from, when the skip button appears it becomes selected (see v3.20.0 note in the release history).

If the issue persists for you, please try calling AdsManager.focus() to manually focus the skip button.

Please let me know if you have any follow-up questions.

Thank you,
Jackson
IMA SDK team 

ref:_00D1U1174p._5004Q2cDtjR:ref
Screen Recording 2022-07-19 at 2_46_27 PM_mov.html
Reply all
Reply to author
Forward
0 new messages