getLandscapeAnchoredAdaptiveBannerAdSize() makes no sense

16 views
Skip to first unread message

A. Alper Atıcı

unread,
Jun 6, 2025, 12:38:58 AM (3 days ago) Jun 6
to Google Mobile Ads SDK Developers
Below are links to documentations of getLandscapeAnchoredAdaptiveBannerAdSize() and getPortraitAnchoredAdaptiveBannerAdSize():



They both say same thing, which makes sense for Portrait mode, but no sense for Landscape mode. Why would I want to put a banner at top or bottom of screen in Landscape? There's more space horizontally in Landscape, so I naturally would like to put an ad on the left or right, full screen height and Google optimized width. But the doc says the opposite, like it is an ad for Portrait.

Here's a screenshot of what I'd expect getLandscapeAnchoredAdaptiveBannerAdSize() to return:

1000003912.jpg

Mobile Ads SDK Forum Advisor

unread,
Jun 6, 2025, 7:57:48 AM (3 days ago) Jun 6
to aalpe...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

Anchored adaptive banners are expected to be always on-screen, locked to the screen’s top or bottom. Anchored adaptive banners have a relatively small maximum height to avoid taking up too much of the screen. Always on-screen, anchored banners set an optimal ad slot size for each device. Once set, the anchored banner slot size doesn't change.

The documentation for both getLandscapeAnchoredAdaptiveBannerAdSize and getPortraitAnchoredAdaptiveBannerAdSize specifies the return of an ad size for a banner anchored to the top or bottom of the app. This functionality is consistent across both orientations.

The expectation is for a different ad format. To achieve an ad placement similar to the provided screenshot, Interstitial Ads or Native Ads should be considered. Because getLandscapeAnchoredAdaptiveBannerAdSize will provide an ad size that spans the width of the landscape screen and it is designed to be placed at the top or bottom. It will not provide an ad size with the full screen height and optimized width.

I hope this helps! Let me know if you have any other questions.

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-06-06 04:56:57Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01reSoF:ref" (ADR-00310464)



Reply all
Reply to author
Forward
0 new messages