Inline Adaptive Banner Ad Returned Exceed Max Height

97 views
Skip to first unread message

Bruce Ling

unread,
Jun 28, 2022, 11:25:36 AM6/28/22
to Google Mobile Ads SDK Developers
Hi,

With iOS using GADInlineAdaptiveBannerAdSizeWithWidthAndMaxHeight

The ad returned exceeds maxHeight.
For example when I request an ad with a max height of 100, the returned ad would have a height of 250.

I'm using the demo ad unit: ca-app-pub-3940256099942544

code:
  GADAdSize adSize = GADInlineAdaptiveBannerAdSizeWithWidthAndMaxHeight(self.tableView.contentSize.width, 100.0);
    GADBannerView *adView = [[GADBannerView alloc] initWithAdSize:adSize];
    adView.adUnitID = @"ca-app-pub-3940256099942544/2934735716";

Mobile Ads SDK Forum Advisor

unread,
Jun 28, 2022, 10:20:19 PM6/28/22
to 2hua...@gmail.com, google-adm...@googlegroups.com
Hi Bruce,

Thank you for reporting this to us.

Would you able to provide a sample app reproducing the reported issue? This will greatly help us in our 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 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=5004Q00002cE5MHQA0&entry.80707362=00112478

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
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2cE5MH:ref
Reply all
Reply to author
Forward
0 new messages