MREC placed on wrong position on Samsung Devices when app is downscaled

78 views
Skip to first unread message

jo...@fm-games.com

unread,
Mar 16, 2022, 7:13:07 AM3/16/22
to Google Mobile Ads SDK Developers

In my application I have been noticing that the mrecs sometimes appear in the wrong position on Samsung devices. I am attaching 2 pictures to illustrate the problem. In both casesI am placing the mrec on the exact same position 452x306(that's the position in DP). The device is the same. 

What is happening in one of the pictures is that samsung is downscaling the app to a resolution of 1920x1200 (the default device resolution is 2560x1600). In both the downscaled and upscaled version the dp we are placing the mrec is the same. But in the downscaled version the mrec is positioned wrongly. Since the calculation of the mrec is happening in DP shouldn't it appear on the same position on both cases?

This is a super serious issue for us because these wrong calculations can lead to the mrec hiding UI elements and flag our app. 

Any input/ideas welcome.

I am also attaching the logs of the native display metrics of each case in case they help somehow:

Display metrics for unchanged resolution:
03-14 13:02:44.977 D/[DISP]  (18183): DisplayMetrics

03-14 13:02:44.977 D/[DISP]  (18183): density: 2.125

03-14 13:02:44.977 D/[DISP]  (18183): densityDpi: 340

03-14 13:02:44.977 D/[DISP]  (18183): scaledDensity: 2.125

03-14 13:02:44.977 D/[DISP]  (18183): widthPixels: 2560

03-14 13:02:44.977 D/[DISP]  (18183): heightPixels: 1498

03-14 13:02:44.977 D/[DISP]  (18183): xdpi: 274.594

03-14 13:02:44.977 D/[DISP]  (18183): ydpi: 275.525

Display metrics for downscaled resolution:

03-14 13:24:55.327 D/[DISP]  (31856): DisplayMetrics

03-14 13:24:55.327 D/[DISP]  (31856): density: 1.59375

03-14 13:24:55.327 D/[DISP]  (31856): densityDpi: 255

03-14 13:24:55.327 D/[DISP]  (31856): scaledDensity: 1.59375

03-14 13:24:55.327 D/[DISP]  (31856): widthPixels: 1920

03-14 13:24:55.328 D/[DISP]  (31856): heightPixels: 1124

03-14 13:24:55.328 D/[DISP]  (31856): xdpi: 206.0

03-14 13:24:55.328 D/[DISP]  (31856): ydpi: 207.0

Screenshot 2022-03-14 at 4.04.56 PM.pngScreenshot 2022-03-14 at 4.03.02 PM.png

jo...@fm-games.com

unread,
Mar 16, 2022, 7:17:40 AM3/16/22
to Google Mobile Ads SDK Developers
Forgot to mention that I am using the Admob SDK for Unity version 6.1.2

Mobile Ads SDK Forum Advisor

unread,
Mar 16, 2022, 10:52:28 AM3/16/22
to jo...@fm-games.com, google-adm...@googlegroups.com
Hello,

Thank you for reporting this to us.

For us to investigate this further, could you kindly provide the following details via Reply privately to 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=5004Q00002YlpmiQAB&entry.80707362=00097685

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.


Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2Ylpmi:ref
Reply all
Reply to author
Forward
0 new messages