Fail to display larger admob adaptive banner

146 views
Skip to first unread message

pduatr...@gmail.com

unread,
Dec 14, 2022, 2:11:31 AM12/14/22
to Google Mobile Ads SDK Developers
Hi,

We applied inline adaptive banner with code
GADInlineAdaptiveBannerAdSizeWithWidthAndMaxHeight(320, 600)
But only get back LREC banner.

We tried several times that there is no taller and larger adaptive banner shown.

Please help!

Thanks,
Carlos

Mobile Ads SDK Forum Advisor

unread,
Dec 14, 2022, 5:31:24 AM12/14/22
to pduatr...@gmail.com, google-adm...@googlegroups.com

Hi Carlos,

 

Thank you for reaching out to us.

 

I've tried to check our sample app project for adaptive banner, and set the banner size of "GADInlineAdaptiveBannerAdSizeWithWidthAndMaxHeight(320, 600)", and was able to get the exact ad sizes that was set. Can you try to check our sample app project for adaptive banner, and confirm if you're able to encounter your reported concern on that? If you're able to encounter it also in our sample app, kindly provide us the modified sample app and screenshot of the expected banner size. You can provide it via reply privately to author option or directly provide it to the link below.

 

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=Mobile+Ads+SDK&entry.460850823=5004Q00002h2pZxQAI&entry.80707362=00160576

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.

 

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2h2pZx:ref

pduatr...@gmail.com

unread,
Dec 14, 2022, 10:49:11 PM12/14/22
to Google Mobile Ads SDK Developers
I already uploaded the files
We have tried sample ad though Android, but still cannot display taller and larger adaptive banner.

Carlos

Mobile Ads SDK Forum Advisor

unread,
Dec 15, 2022, 6:01:06 AM12/15/22
to pduatr...@gmail.com, google-adm...@googlegroups.com

Hi,

 

Thank you for your response.

 

I've checked your provided sample app, and was able to retrieve ads with the set AdSize using AdSize.getInlineAdaptiveBannerAdSize(). As per checking into our documentation, it mentioned that when using the inline adaptive banner APIs, the Google Mobile Ads SDK returns a AdSize with the given width and an inline flag. The height is either zero or maxHeight, depending on which API you're using. The actual height of the ad is made available when it returned. Kindly note that, an inline adaptive banner is designed to be placed in scrollable content so the height is always 0 or maxHeight.

 

With that, if you're planning to show a taller and larger ads, you may use interstitial ad format on it. Then, for a ad format that is more customizable, you may use native ads format.

Reply all
Reply to author
Forward
0 new messages