Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Inquiry Regarding Unexpected Behavior with Collapsible Banners in Modal Views

111 views
Skip to first unread message

K Shota

unread,
Dec 6, 2024, 2:20:29 PM12/6/24
to Google Mobile Ads SDK Developers

Dear AdMob Support Team,

I am reaching out to report an unexpected behavior I’ve encountered when implementing collapsible banner ads in my application. Below are the details:

  • Issue Description:
    When displaying a collapsible banner ad, the ad appears in front of a modal view presented on the screen.

  • Expected Behavior:
    I believe the ad should remain positioned within the root view of the application, beneath the modal view.

  • Additional Notes:

    • This issue is specific to collapsible banners.
    • Standard (non-collapsible) banners behave as expected, displaying correctly within the root view and not overlapping the modal.
  • Requests:

    1. Could you please provide specific guidance or solutions to address this issue?
    2. I have prepared a demo project to illustrate the issue and can share it if needed.

Could you please confirm if this behavior is expected or provide guidance on how to ensure collapsible banners display as intended within the root view only?

Thank you for your assistance.

Best regards,
K Shota

Message has been deleted

Mobile Ads SDK Forum Advisor

unread,
Dec 9, 2024, 12:13:12 AM12/9/24
to kin...@quadsystem.co.jp, google-adm...@googlegroups.com

Hi Shota,

Thank you for contacting the Mobile Ads SDK Support team.

Could you kindly provide the sample project for further investigation:

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 via reply to author option or 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=Mobile+Ads+SDK&entry.460850823=5004Q00002vGno7QAC&entry.80707362=00277957

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.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGno7:ref" (ADR-00277957)

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5



K Shota

unread,
Dec 9, 2024, 3:55:17 AM12/9/24
to Google Mobile Ads SDK Developers

Hi Team,

Thank you for your prompt response.

I have prepared the sample project as requested and successfully uploaded it via the form you provided. Below are the details:

Please let me know if you encounter any issues accessing the file or require further information.

Thank you for your continued support.

Best regards,
K Shota


2024年12月9日月曜日 14:13:12 UTC+9 Mobile Ads SDK Forum Advisor:

Mobile Ads SDK Forum Advisor

unread,
Dec 9, 2024, 7:01:52 AM12/9/24
to kin...@quadsystem.co.jp, google-adm...@googlegroups.com
Hi,

I would recommend, kindly check the Best practices for implementation and please note that collapsible banners should not be placed on non-static screens, such as during gameplay. These are moments where unwanted clicks could likely occur and lead to enforcement for spam clicks.

K Shota

unread,
Dec 12, 2024, 1:16:37 AM12/12/24
to Google Mobile Ads SDK Developers

Hi Team,

Thank you for your response and for pointing out the best practices.

I understand the recommendation to avoid placing collapsible banners on non-static screens, as it can lead to unwanted clicks. However, in my case, the collapsible banner is displayed on a static screen, specifically within the root view of the application.

The issue occurs when a modal view is presented on top of this static screen. The collapsible banner appears in front of the modal, rather than staying positioned within the root view, as expected.

To address this issue, I have tried a workaround where I create a separate UIWindow for displaying the modal view, while keeping the collapsible banner in the original UIWindow. With this approach, the banner no longer appears in front of the modal view.

Could you clarify if this behavior (before implementing the workaround) is expected? Additionally, could you confirm if the workaround I implemented is an appropriate and recommended solution according to AdMob's best practices?

I would appreciate your guidance to ensure the implementation aligns with the guidelines and does not lead to any unintended issues.

Thank you for your continued assistance.

Best regards,
K Shota

2024年12月9日月曜日 21:01:52 UTC+9 Mobile Ads SDK Forum Advisor:

Mobile Ads SDK Forum Advisor

unread,
Dec 12, 2024, 8:10:11 AM12/12/24
to kin...@quadsystem.co.jp, google-adm...@googlegroups.com
Hi,

I have raised this issue with wider team, One of our teammates will get back to you once we have an update on this.Meanwhile your patience is appreciated.

K Shota

unread,
Dec 13, 2024, 3:44:15 AM12/13/24
to Google Mobile Ads SDK Developers

Hi Team,

Thank you for the update. I appreciate you escalating this issue to your wider team.

I will await further updates from your teammate. Please don’t hesitate to reach out if any additional information or clarification is required on my end.

Thank you for your continued support, and I look forward to hearing from you soon.

Best regards,
K Shota


2024年12月12日木曜日 22:10:11 UTC+9 Mobile Ads SDK Forum Advisor:

Mobile Ads SDK Forum Advisor

unread,
Jan 13, 2025, 11:49:49 AM (9 days ago) Jan 13
to kin...@quadsystem.co.jp, google-adm...@googlegroups.com
Hello,

The team is running an experiment to address this issue. In the short-term, the recommendation is to remove the collapsible banner from view hierarchy before presenting any view controller on top of it. This is a temporary workaround until the experiment concludes. I will follow up as soon as I have an update to share.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGno7:ref" (ADR-00277957)

Thanks,
 
Google Logo
Justin Malandruccolo
Mobile Ads SDK Team


Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
 

 



K Shota

unread,
Jan 20, 2025, 1:11:34 AM (2 days ago) Jan 20
to Google Mobile Ads SDK Developers

Hi Team, 

Thank you for your continued support. I have tested the suggested workaround.

By removing the collapsible banner from the view hierarchy, I was able to confirm that the issue during banner expansion was resolved. However, since this approach requires regenerating the view, I would like to explore alternative solutions if possible.

For example, is there a way to manually reload a standard banner or any other approach to avoid removing the expanded banner while addressing the issue?

I would greatly appreciate your guidance. Thank you again for your continued support.

Best regards,

K Shota


2025年1月14日火曜日 1:49:49 UTC+9 Mobile Ads SDK Forum Advisor:

Mobile Ads SDK Forum Advisor

unread,
Jan 21, 2025, 10:20:57 AM (yesterday) Jan 21
to kin...@quadsystem.co.jp, google-adm...@googlegroups.com
Hello,

Thank you for your question. This for now is the only workaround we can recommend. However, to manually reload a standard banner, you can call loadRequest on the GADBannerView.
Reply all
Reply to author
Forward
0 new messages