Collapsible Banner in "Unity"

792 views
Skip to first unread message

LeeGangYeong

unread,
Jan 5, 2024, 6:16:11 AM1/5/24
to Google Mobile Ads SDK Developers
Hello.
I want to apply foldable banners on Unity. Google sites are telling me the code in Java and kotlin. But I wrote like the code below to create an ad-mob collapsible banner on Unity, but it doesn't work properly. Is there any way?
AdRequest request = new AdRequest.Builder().Build();
//AdRequest request = new AdRequest.Builder().AddExtra("collapsible", "bottom").Build();
request.Extras.Add("collapsible", "bottom"); //Banner collapsed

Mobile Ads SDK Forum Advisor

unread,
Jan 5, 2024, 8:33:38 AM1/5/24
to gangye...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK support team.

By reviewing your concern, I understand that you want to apply foldable banner advertisements in your Unity application.

Please refer to this Collapsible Banner for more information regarding foldable banner ads in unity.

If the issue still persists, would you kindly provide us with a sample of the application you are using 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, kindly provide requested information to us via reply privately to author option or using the steps below:

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=5004Q00002rUmiQQAS&entry.80707362=00217922

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.!5004Q02rUmiQ:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team

 

LeeGangYeong

unread,
Jan 15, 2024, 10:22:58 PM1/15/24
to Google Mobile Ads SDK Developers
Hi,
I send it in google form because the capacity is large.

2024년 1월 5일 금요일 오후 10시 33분 38초 UTC+9에 Mobile Ads SDK Forum Advisor님이 작성:

Mobile Ads SDK Forum Advisor

unread,
Jan 16, 2024, 5:37:11 AM1/16/24
to gangye...@gmail.com, google-adm...@googlegroups.com
Hi,

Thank you for getting back to us.

we couldn't find any sample project, kindly re-share it which replicates the issue so we could have full visibility of your implementation.

LeeGangYeong

unread,
Jan 16, 2024, 11:06:35 PM1/16/24
to Google Mobile Ads SDK Developers
Hi, I submitted it again through Google Form. 

2024년 1월 16일 화요일 오후 7시 37분 11초 UTC+9에 Mobile Ads SDK Forum Advisor님이 작성:

Mobile Ads SDK Forum Advisor

unread,
Jan 17, 2024, 3:25:06 AM1/17/24
to gangye...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for providing the project. However, when I open the project in Unity version 3.7.0 version, it displays an error message indicating that the project is invalid. Could you kindly verify that the attached project is valid and contains the issue we are discussing in this thread? Additionally, please determine if this issue is reproducible in our Google Banner Sample application. Furthermore, please cross-check to ensure the validity of the attached project and the presence of the issue. 

LeeGangYeong

unread,
Feb 19, 2024, 10:00:25 PM2/19/24
to Google Mobile Ads SDK Developers
I added the code below in Google Banner Sample application, but it still doesn't work.
2024년 1월 17일 수요일 오후 5시 25분 6초 UTC+9에 Mobile Ads SDK Forum Advisor님이 작성:
스크린샷 2024-02-20 오전 9.36.37.png
스크린샷 2024-02-20 오전 9.36.18.png

Mobile Ads SDK Forum Advisor

unread,
Feb 20, 2024, 6:54:07 AM2/20/24
to gangye...@gmail.com, google-adm...@googlegroups.com
Hi,

Thank you for confirming that the collapsible banner didn't work even after the sent code snippet was added.

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. 

Mobile Ads SDK Forum Advisor

unread,
Feb 21, 2024, 12:36:09 PM2/21/24
to gangye...@gmail.com, google-adm...@googlegroups.com

Hi LeeGangYeong,

My name is Nick with Google and I would like to help you with the collapsable banner in Unity. Looking over the provided code it looks correct for the most part. I did notice you did not implement the collapsable request id, but the banner should work without that.

What are you actually experiencing? Is there an error message that I can see or is the collapsable banner just not loading? If the collapsable banner is just not showing this may be working as intended as we do not guarantee that we will server a collapsable banner.

Looking forward to your error logs,

Nick



ref:!00D1U01174p.!5004Q02rUmiQ:ref

LeeGangYeong

unread,
Feb 29, 2024, 12:13:23 PM2/29/24
to Google Mobile Ads SDK Developers
Hi, 
Even if I put the relevant code, no error log will occur, only a normal banner will be created. Even in the example sample provided by your company, if you insert the relevant code, only the regular banner will appear.



2024년 2월 22일 목요일 오전 2시 36분 9초 UTC+9에 Mobile Ads SDK Forum Advisor님이 작성:

Mobile Ads SDK Forum Advisor

unread,
Mar 4, 2024, 11:56:01 AM3/4/24
to gangye...@gmail.com, google-adm...@googlegroups.com
Hi LeeGangYeong,

Using ad inspector, can you select the "share the ad request and response", and share the ad request URL? You should be able to see "collapsible" in the ad request URL if your code implementation added the parameter.

As mentioned earlier, also note that per https://developers.google.com/admob/unity/banner/collapsible#ads_serving_behavior, collapsible banner doesn't serve every time. You may have more luck testing collapsible with your actual banner ad unit ID than the demo ad unit IDs.

Thanks,
Eric, Mobile Ads SDK Team

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