Regarding ANR in admob ads

143 views
Skip to first unread message

srikanth ramisetti

unread,
Feb 14, 2023, 5:27:21 AM2/14/23
to Google Mobile Ads SDK Developers

Google Play has recently instituted a new policy where developers need to stay under a certain ANR threshold or else be punished by Google Play (your app  becomes less discoverable on Google Play because it is considered lower quality). ANR stands for “Application Not Responding” and instances of this are reported on the Google Play Console. Currently, my APP that use AdMob have ANRs that are above the threshold that Google considers “bad behavior”. The problem is that I can’t do anything about it because the majority of my ANRs appear to be from AdMob ads. Many of these have to do with “android.os.MessageQueue.nativePollOnce” and Webview in google ads which, from the research I have done, is not within my control and is an AdMob thing.

Note that I’m using the most up to date ad SDK and I’m even using a new advanced Beta feature from AdMob that is supposed to optimize initialization and loading of ads (see manifest code below), yet I’m still seeing ANRs.

        <meta-data

            android:name="com.google.android.gms.ads.flag.OPTIMIZE_INITIALIZATION"

            android:value="true"/>

        <meta-data

            android:name="com.google.android.gms.ads.flag.OPTIMIZE_AD_LOADING"

            android:value="true"/>

 

Any help you can give me is much appreciated.

Mobile Ads SDK Forum Advisor

unread,
Feb 14, 2023, 11:49:06 AM2/14/23
to ramisetti...@gmail.com, google-adm...@googlegroups.com

Hi Srikanth,

 

Thank you for reaching out to us.

 

For us to further check this ANR that is happening in your app, can you provide us the following information below privately?

 

  • Sample app (if reproducible)
  • Steps to replicate
  • Full stack trace
  • Affected Device
  • App ID
  • SDK version

 

You can provide the following details via reply privately to author option or directly provide it to the link below.

 

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=5004Q00002izyO3QAI&entry.80707362=00167195

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
Princess Pamela
Mobile Ads SDK Team
 


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