AdMob Banner Ads Impacting Android Vitals: Seeking Solutions and Alternatives

591 views
Skip to first unread message

yanchen...@gmail.com

unread,
Oct 27, 2023, 4:14:18 PM10/27/23
to Google Mobile Ads SDK Developers
We are encountering the following Android vitals issues:

- Slow warm start (4%)
- Excessive frozen frames (12%)

These issues are more prevalent on devices with xhdpi screen density (DPI).

We believe the root cause is the banner ads from AdMob. When we disabled the banner ads from AdMob, we noticed a decline in these issues.

I suspect that AdMob might be using the WebView component for rendering, which is known to be resource-intensive and can affect performance.

AdMob accounts for 50% of our total revenue, so disabling it entirely would have a significant impact on our earnings. However, we also recognize the importance of Android vitals for our app's ranking in the Google Play store.

Has anyone else experienced similar problems with AdMob? And would switching to native ads potentially address these concerns?

Thank you.

Mobile Ads SDK Forum Advisor

unread,
Oct 30, 2023, 3:02:15 AM10/30/23
to yanchen...@gmail.com, google-adm...@googlegroups.com

Hi Yan,

Thank you for contacting the Mobile Ads SDK support team.

By reviewing your concern, I understand that you are encountering  Android vitals issues. Kindly provide the below information for further investigation so that we can have full visibility of your implementation:

  • app ID
  • ad unit ID
  • Mobile Ads SDK Version
  • Device/OS versions affected
  • Error Screenshots/video recording
  • Sample project reproducing the issue (if required) 

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=5004Q00002q8opPQAQ&entry.80707362=00207894

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. 

This message is in relation to case "ref:!00D1U01174p.!5004Q02q8les:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Juan BLASCO

unread,
Oct 30, 2023, 4:55:00 AM10/30/23
to Google Mobile Ads SDK Developers
We also are having problems with Admob causing ANR's on low end devices. How were you able to discern the culprits were the banners and not the interestitials?
Here we are using it as an adapter for Applovin and we tried to add the ad optimization like this:
The ANR decreased by a bit but not as expected. Lot's of people are having problems with Admob and ANR's but there is not a clear answer by de google team to fix this.

Mobile Ads SDK team, we can't reproduce the issue in our tests. How do we address that?

yanchen...@gmail.com

unread,
Nov 1, 2023, 12:25:08 AM11/1/23
to Google Mobile Ads SDK Developers
Because we only use banner ads, and not interstitial in our app.
Message has been deleted

yanchen...@gmail.com

unread,
Nov 1, 2023, 12:43:34 AM11/1/23
to Google Mobile Ads SDK Developers
This is the graph showing such an issue is caused by AdMob SDK banner ads.
xxx.png

Mobile Ads SDK Forum Advisor

unread,
Nov 1, 2023, 6:47:38 AM11/1/23
to yanchen...@gmail.com, google-adm...@googlegroups.com

Hi Yan,

Thank you for getting back to us.

As requested earlier kindly provide the below information for further investigation so that we can have full visibility of your implementation:

    • Mobile Ads SDK Version
    • Device/OS versions affected
    • Sample project reproducing the issue (if required) 
    Message has been deleted

    yanchen...@gmail.com

    unread,
    Nov 1, 2023, 2:50:51 PM11/1/23
    to Google Mobile Ads SDK Developers
    Thank you for looking into this issue.

    This are the ads related libraries which we are using

        implementation 'com.google.android.ads.consent:consent-library:1.0.8'

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

    It is affecting all devices/ OS. But, such a problem is more obvious in low end devices (Phone with lower DPI display). I attach few screenshots to compare across different DPI display.

    The below is the Excessive frozen frames for different screen density.

    xxxhdpi = 2.62%
    xxhdpi = 6.48%
    xhdpi = 24.93%
    hdpi = 35.58%
    mdpi = 39.57%

    Take note that, you will notice drop in every graph. This is because few weeks ago, we have remove admob ads sdk completely from our app.
    hdpi.png
    xhdpi.png
    xxhdpi.png
    mdpi.png
    xxxhdpi.png

    Trong Nguyen

    unread,
    Nov 6, 2023, 5:57:06 AM11/6/23
    to Google Mobile Ads SDK Developers

    I also have this problem in Unity. I have reproduced the issue:

    Reproduce project:
    https://github.com/jacattrongnlh/AdmobAdaptiveBanner

    Steps:

    • Build the APK from the repo. (or download the build from Releases tab)
    • Run it on a device.
    • Wait a few seconds for Admob initialization.
    • Tap on the button "Adaptive Banner" to load an adaptive banner.
    • Drag and hold the Scroll View (as in keep your finger down and drag it, do not lift the finger up when scrolling).
    • Tap on the button "Default Banner" to load the default size banner.
    • Drag and hold the Scroll View.

    Comparing the framerate of the Scroll View before and after loading the adaptive banner, you can see that the Scroll View was smooth and responsive before the banner was shown. After the banner is shown, the Scroll View becomes very laggy when you drag it.

    The framerate of the game is unaffected, it's the rate of UI's responsiveness that is affected.

    Attaching Android Studio to profile the performance, you can see the CPU usage is significantly high when the animated Adaptive banner is displayed. When a static default banner is displayed, the CPU usage is not as high.

    Profiler Screenshot: https://drive.google.com/file/d/1PMpr7BfkEkYLCFPDUJGb1MixbHUlKFqB/view?usp=sharing

    Video recorded showing the problem: https://drive.google.com/file/d/1KX3ht2Exx9SYfDN7ZUpx6cf0zXaX986Q/view?usp=drive_link

    Mobile Ads SDK Forum Advisor

    unread,
    Nov 7, 2023, 12:19:24 AM11/7/23
    to tron...@jacat.games, google-adm...@googlegroups.com
    Hi, 


    Thank you for getting back to us.

    We couldn’t reproduce the lag in our device, can you please let us know which device you are facing the issue with.

    yanchen...@gmail.com

    unread,
    Nov 10, 2023, 1:18:15 AM11/10/23
    to Google Mobile Ads SDK Developers
    The affected devices are mostly with screen density XHDPI

    They are
    1. samsung a3core (Galaxy A03 Core)
    2. samsung a02 (Galaxy A02)
    3. motorola hawaiip (moto g22)
    4. samsung a10 (Galaxy A10)
    5. samsung a21s (Galaxy A21s)
    Please refer to the attached screenshots.
    Screenshot 2023-11-10 at 2.07.38 PM.png
    Screenshot 2023-11-10 at 2.07.54 PM.png

    yanchen...@gmail.com

    unread,
    Nov 10, 2023, 1:20:16 AM11/10/23
    to Google Mobile Ads SDK Developers
    Are you saying, using standard banner ads size has less performance impact, compared to using adaptive banner ads size? Thanks.

    Mobile Ads SDK Forum Advisor

    unread,
    Nov 14, 2023, 5:46:12 AM11/14/23
    to yanchen...@gmail.com, google-adm...@googlegroups.com
    Hello Yan,

    Thanks for the additional information provided.

    The memory usage and CPU usage between using adaptive and standard banner ads shouldn't vary much.

    While we are investigating on the issue, can you provide a video recording that captures the CPU/memory changes when the adaptive banner ads are being displayed?


    Regards,
    Joshua

    ref:!00D1U01174p.!5004Q02q8les:ref

    yanchen...@gmail.com

    unread,
    Nov 14, 2023, 8:55:12 PM11/14/23
    to Google Mobile Ads SDK Developers

    Hi Joshua,

    I'm currently limited to using an emulator on an M1 MacBook, as I don't have access to any of the affected real devices. Given this situation, is a video recording from the emulator still necessary?

    I've been considering some workarounds to address the issue, especially considering its impact on our revenue. I'd like to get your opinion on whether any of the following approaches might help reduce the issue on XHDPI devices:

    1. Using native ads instead of banner ads. My theory is that avoiding the resource-heavy webview component might be beneficial.
    2. Disabling video ads from the AdMob console. Do you think this could be effective?

    I'd really value your thoughts on these potential solutions.

    Thank you for your time and insights.

    Juan Blasco

    unread,
    Nov 15, 2023, 3:15:35 AM11/15/23
    to yanchen...@gmail.com, Google Mobile Ads SDK Developers
    We are experiencing the very same problem with lowend Android devices.
    Currently we are using the latest adapters 22.5.0.0 of google ad manager and google admob.
    ANR's when using webviews from google are a big problem for lowend devices.
    Any hint would be appreciated.

    --

    ---
    You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/94cce6b8-af11-44e8-ba66-c0e3f4e2439en%40googlegroups.com.


    --

    Juan  Blasco

    Senior Unity Developer

    Homa Games

    mobilePhone
    +34618899460
    emailAddress
    juan....@homagames.com

    Reply all
    Reply to author
    Forward
    0 new messages