Collapsible banner ads is not expanded

574 views
Skip to first unread message

Splend Apps

unread,
Oct 18, 2023, 1:58:52 PM10/18/23
to Google Mobile Ads SDK Developers
Hi!

We have a problem with the implementation of collapsible banner ads. We took all steps in accordance with the guidelines.
We use latest library version: com.google.firebase:firebase-ads:22.4.0
Banner is displayed but not expanded. It is collapsed but the collapse button is visible in the right (see screenshot):
Zrzut ekranu 2023-10-18 o 16.43.26.png
Error occurs on physical devices and the emulator on all 10 of our apps.
Do you have any idea what might be wrong?

Mobile Ads SDK Forum Advisor

unread,
Oct 18, 2023, 5:01:59 PM10/18/23
to splen...@gmail.com, google-adm...@googlegroups.com
Hi,

Thank you for getting back to us.

By reviewing your concern, I understand that you are facing an issue while implementing collapsible banners in your android application. Kindly provide a sample project so we could have full visibility of your implementation.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02pUJLz:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Splend Apps

unread,
Oct 24, 2023, 10:07:57 PM10/24/23
to Google Mobile Ads SDK Developers
OK, problem solved.
We passed to the AdView activity context instead of app context and now it works well.

MatJB

unread,
Mar 17, 2024, 11:08:59 AMMar 17
to Google Mobile Ads SDK Developers
Hi! 
Thank you for replying with the solution.

This should be added to the official documentation.
We also tripped on the context detail.
Apparently Collapsible banner ads require you to pass an Activity context, not just a Context.
This is confusing as we used to use just a Context without any issue, but this is no longer the case when you try to implement Collapsible banner ads.

Regards,
Mat

Mobile Ads SDK Forum Advisor

unread,
Mar 18, 2024, 6:41:57 AMMar 18
to codebor...@gmail.com, google-adm...@googlegroups.com

Hi Mat,

Thank you for contacting the Mobile Ads SDK Support team.

I will check with our team regarding your query and one of my team members will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.

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


Thanks,
 
Google Logo Mobile Ads SDK Team


Mobile Ads SDK Forum Advisor

unread,
1:47 PM (3 hours ago) 1:47 PM
to codebor...@gmail.com, google-adm...@googlegroups.com
Hi,

The collapsible banner serving behaviour is not guarantee to return a collapsible banner. That said, if you are still having issues please provide some sample code and we will take a look.

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

Thanks,
 
Google Logo
Nicholas Ventimiglia
Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages