Bug: unable to get adChoicesInfo from some ad-networks properly for native ads

50 views
Skip to first unread message

Liran Barsisa

unread,
Oct 19, 2025, 5:12:42 AM (13 days ago)  Oct 19
to Google Mobile Ads SDK Developers
I use the adChoicesInfo in order to find their sizes, to avoid overlapping them in native ads.
https://developers.google.com/admob/android/reference/com/google/android/gms/ads/nativead/NativeAd#getAdChoicesInfo()

However, I've found that at least for Vungle/LiftOff, it just returns me null, so I can't know its size.
For now, I've added a workaround that if it's this ad-network, it's 20x20 dp. 
It's a workaround because I don't know for sure it's this size (I used an app to measure it) and I don't know if it will always appear, too.

Please fix this issue.

Sadly as many ad-networks fail to load test ads despite me following the guidelines, I don't know how many other ad-networks have this issue.
For example, for Mintegral:
https://developers.google.com/admob/android/mediation/mintegral#step_6_test_your_implementation
It says we can either use Admob test device method, and it doesn't work for me. It also says Mintegral suggests to use their own, but it doesn't explain how we can do it in Admob mediation environment... Why not add this to the adapter's code...
Please fix this as well.

Liran Barsisa

unread,
Oct 20, 2025, 5:16:52 PM (11 days ago)  Oct 20
to Google Mobile Ads SDK Developers
Another example of an ad-network that the API failed to get its ad-choices size is Pangle. It returned me null for it.
According to the layout inspector on Android Studio, tested on emulator, it's supposed to be 42x12dp

Mobile Ads SDK Forum Advisor

unread,
Oct 21, 2025, 10:10:24 AM (10 days ago)  Oct 21
to lbl...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK support team.

The adChoicesInfo returns null for mediated ads is expected behavior. For example, Liftoff ads display their own privacy icon at the top-right corner, as SDK Bidding participants are required to use a unique privacy icon and should not use Google's AdChoices icon.

Regarding Mintegral test ads not loading, Could you please share app ID and ad unit ID as our test ads don't include any mediation configurations, so we need this information to further investigate the issue.


Thanks,
Google Logo
Mobile Ads SDK Team

Feedback
How was our support today?

rating1 rating2 rating3 rating4 rating5
[2025-10-21 14:09:26Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vRERb:ref" (ADR-00335944)



Message has been deleted

Liran Barsisa

unread,
Oct 21, 2025, 4:15:03 PM (10 days ago)  Oct 21
to Google Mobile Ads SDK Developers
Actually LiftOff icon was added to the bottom-left as I chose in the ad-loading phase from Admob API, so it's weird that you say as if you have no control of it. You need to check again with your code as your claim doesn't make sense.
Admob SDK should know the size of it, because it's the one adding it.
How can I get the size of the icon that is used by the various ad-networks, that is added in the overlay, which is ad-choices (because it's being respected by what I request for the position) yet not really available as you say?
As I've mentioned above, this also occurs for Pangle which you didn't talk about. There I also get some content in the same position I requested from Admob.
About my app ID and ad-unit ID, please let's talk in private, and I can also send you a video of it happening.
Here's an example of Liftoff, and you can see its icon is at the bottom-left corner, as I've requested from Admob of where it should be:
unnamed (1).png

Liran Barsisa

unread,
Oct 21, 2025, 5:34:47 PM (10 days ago)  Oct 21
to Google Mobile Ads SDK Developers
The idea is to get the size of the icon to avoid important things being overlapped by it, such as here that it hides the text of "10,000+". 

Mobile Ads SDK Forum Advisor

unread,
Oct 21, 2025, 5:41:08 PM (10 days ago)  Oct 21
to lbl...@gmail.com, google-adm...@googlegroups.com

Hi,

Thanks for getting back to us.

The getAdChoicesInfo() attribute returns a list of images for the attribution. Possible entries in the list include an "AdChoices" logo or an "AdsByGoogle" logo. The returned list may also be empty, along with associated text. The AdMob SDK respects the position you request, but it does not expose the icon’s dimensions or size.

Could you please share a video demonstrating the issue? This will help us understand the problem better.

Kindly provide the requested details via Reply privately to the author option

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=500Ht00001vRERbIAO&entry.80707362=00335944

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.

Thanks,
Google Logo
Mobile Ads SDK Team

Feedback
How was our support today?

rating1 rating2 rating3 rating4 rating5

[2025-10-21 21:40:13Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vRERb:ref" (ADR-00335944)



Reply all
Reply to author
Forward
0 new messages