Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Fluid banner getPlatformAdSize() returns wrong height (Android only!)

85 views
Skip to first unread message

Lorenzo VS

unread,
Apr 15, 2025, 5:00:37 AMApr 15
to Google Mobile Ads SDK Developers
Hello,
I come from here:

Step 1: Describe your environment

Flutter 3.27.4 on MacOS silicon. Android 35 emulator.
Flutter doctor output bellow.

Plugin Version

Flutter: google_mobile_ads

sha256: "a4f59019f2c32769fb6c60ed8aa321e9c21a36297e2c4f23452b3e779a3e7a26"
version: "6.0.0"

GMA Android dependency to 24.1.0

Android UMP SDK version 3.2.0.

Google Play Services in the emulator:
23.18.18 (190400-535401451)

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.

429887805-f03cbdc0-2630-4e07-a36b-9b1b72677305.png

Steps to Reproduce

  1. Run the minimal example in android
  2. Go down the ListView
  3. Go up again

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:

https://private-user-images.githubusercontent.com/32130278/429905532-de306bf9-58ff-4589-aa24-aa98e7f762ab.mov?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQ3MDY3MjUsIm5iZiI6MTc0NDcwNjQyNSwicGF0aCI6Ii8zMjEzMDI3OC80Mjk5MDU1MzItZGUzMDZiZjktNThmZi00NTg5LWFhMjQtYWE5OGU3Zjc2MmFiLm1vdj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDE1VDA4NDAyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZlYjU3NTZjYTc5ZDllN2EzZWJkNGNhMGQ2MWJiYjE2NDdhNjRiNmYxZmJlMTA3Yjk3YTdhYjRmZjMzZDVlYzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.c6hRtYMFKlCx9VHZ3PEIPQpnDarFuTLNUFisFovlIFM


I made a PoC code and I show the request and logs in the github issue where I come from:

Lorenzo VS

unread,
Apr 21, 2025, 4:03:56 AMApr 21
to Google Mobile Ads SDK Developers
Hello,
I made this post a week ago and I still did not receive an answer from anyone. I see that everyone else is getting replies.
Is this post public? Is it not in the right place?

Thanks for the help!

Lorenzo VS

unread,
Apr 28, 2025, 11:36:10 PMApr 28
to Google Mobile Ads SDK Developers
Can someone please check this? Fluid ads are completely useless currently.

Mobile Ads SDK Forum Advisor

unread,
Apr 30, 2025, 8:40:43 AMApr 30
to google-adm...@googlegroups.com

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.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-04-30 12:39:43Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01pSunE:ref" (ADR-00299995)



Lorenzo VS

unread,
May 12, 2025, 5:28:31 AM (13 days ago) May 12
to Google Mobile Ads SDK Developers
Hello,
Any updates?

Thanks!

Lorenzo VS

unread,
May 23, 2025, 1:10:24 PM (2 days ago) May 23
to Google Mobile Ads SDK Developers
Fluid ads are still completely useless.
Is there something I can do to fix it?
Reply all
Reply to author
Forward
0 new messages