Wrong ad sizes on Android

31 views
Skip to first unread message

str8tsandsudoku

unread,
Jul 9, 2024, 2:53:29 PM (6 days ago) Jul 9
to Google Mobile Ads SDK Developers
Hi, my Android app (developed in Android Studio with Java) shows banner ads and interstitial ads. Both ad types are displayed correctly on API level 32, 33 and 34 (Android 12.1, 13 and 14).
I did not test with API level 31. But on API levels 29 and 30 (Android 10 / 11), the ads are wrong scaled, so they do not fit on the display. See attached screenshots.

Is there anybody who can help?
interstitial.png
banner.png

Mobile Ads SDK Forum Advisor

unread,
Jul 9, 2024, 5:14:52 PM (6 days ago) Jul 9
to strtsan...@gmail.com, google-adm...@googlegroups.com

Hi,

It's always recommended to keep the SDKs up to date. As of today the latest version is 23.2.0. Please refer to these Google Mobile SDK release notes and Deprecation and sunset documentation.

Feel free to contact us, if you face any difficulties with latest SDK.

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

Thanks,
 
Google Logo Mobile Ads SDK Team


str8tsandsudoku

unread,
Jul 10, 2024, 1:53:30 PM (5 days ago) Jul 10
to Google Mobile Ads SDK Developers
Hi,

I am using version 23.2.0, so this should be fine.

Can you tell me whether the following is the correct entry in build.gradle?

implementation 'com.google.android.gms:play-services-ads:23.2.0'

Thanks!

Mobile Ads SDK Forum Advisor

unread,
Jul 10, 2024, 5:10:13 PM (5 days ago) Jul 10
to strtsan...@gmail.com, google-adm...@googlegroups.com

Hi,

Yes, the mentioned build.gradle is correct. We have ran our Goggle sample project with test IDs and able to load ad successfully for mentioned API levels. The mentioned issue mainly depends upon ad inventory and we do not have control on it. The next step for you would be to reach out to the Product Support Team for further assistance regarding the ad serving concern.

Reply all
Reply to author
Forward
0 new messages