Flutter 3.27.4 on MacOS silicon. Android 35 emulator.
Flutter doctor output bellow.
Flutter: google_mobile_ads
sha256: "a4f59019f2c32769fb6c60ed8aa321e9c21a36297e2c4f23452b3e779a3e7a26"
version: "6.0.0"
GMA Android dependency to 24.1.0
Android UMP SDK version 3.2.0.
Step 2: Describe the problem
The bannerAd.getPlatformAdSize() for a Fluid banner ad will not return the real value only on android.
In the screenshot I provided bellow you can see on the left the iPhone
and its logs. They return 338/342, but on the right you see that always
50 is returned.
The fluid ad is not always shown "cut off", sometimes it will be drawn fine (specially on the first build) but when placed in a ListView and re-built the size is 80% of the time not right.
Steps to Reproduce
Expected results:
The value of getPlatformAdSize() is correct and the ad is rendered fine.
Actual results:
The value of getPlatformAdSize() is both 50 (incorrect) in the onAdLoaded callback and when called with a future builder.
Demo video:
Hi,
Thank you for contacting the Mobile Ads SDK Support team.
I will raise this issue with the wider team and will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.
![]() |
Mobile Ads SDK Team |
[2025-04-30 12:39:43Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01pSunE:ref" (ADR-00299995)