RE: [google-admob-ads-sdk] Internal error code 0 in Google ad manager

2,478 views
Skip to first unread message
Message has been deleted
Message has been deleted

Mobile Ads SDK Forum Advisor

unread,
Jul 14, 2022, 6:39:15 AM7/14/22
to vietngu...@gmail.com, google-adm...@googlegroups.com

Hi Viet,

Thank you for reaching out to us.

With regard to the error 0 that you're getting, this indicates that something happened internally; for instance, an invalid response was received from the ad server. Newly created Ad Units can take upto 2 hours to become active (SpinUp Time). Any Ad requests from newly created Ad Units would also receive Error Code 0 in response to Ad requests until they are ready to serve live ads.

On the other hand, I've deleted your post as it contains private information. Below is the copy of your post with scrubbed information.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 

I have tested  sample app of Google ad manager but sometime had below error.
Can you explain why we have this error and solution ?
Thank you in advance.

2022-07-14 11:35:54.575 16517-16517/com.google.ads.rewardedvideoexample D/MyActivity: {

"Code": 0,
"Message": "Internal error.",

   "Domain": "com.google.android.gms.ads",

   "Cause": "null",

   "Response Info": {

    "Response ID": "J53PYqucOs2f8AKlkKOABQ",

    "Mediation Adapter Class Name": "",

    "Adapter Responses": [

     {

      "Adapter": "com.google.ads.mediation.admob.AdMobAdapter",

      "Latency": 4365,

      "Credentials": {

       "pubid": "ca-pub-xxxxxxxxxxxxxxxxxxxxxx\/\/6499\/example\/rewarded-video\/cak=no_cache&cadc=2b&caqid=J53PYvX3OIaX8AK10KCoCA"

      },

      "Ad Error": {

       "Code": 0,

       "Message": "Internal error.",

       "Domain": "com.google.android.gms.ads",

       "Cause": "null"

      }

     }

    ]

   }

  }



ref:_00D1U1174p._5004Q2cVwVZ:ref

việt nguyễn

unread,
Jul 14, 2022, 12:13:11 PM7/14/22
to Google Mobile Ads SDK Developers
Hi There,  
Thank you for your response.
I have checked with your ID test in sample app. it's not a new ad Unit ID.
so  as you  said  that was an error of server ad, right ?
When i create a new Ad Units  and after 2 hours. it will be ok right ?

Mobile Ads SDK Forum Advisor

unread,
Jul 14, 2022, 2:11:24 PM7/14/22
to vietngu...@gmail.com, google-adm...@googlegroups.com
Hi Việt,

I reproduced this with our Ad Manager sample and brought it to my team. We will get back to you as soon as possible.

Regards,

Google Logo
Aryeh
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2cVwVZ:ref

việt nguyễn

unread,
Jul 14, 2022, 11:20:07 PM7/14/22
to Google Mobile Ads SDK Developers
Hi Aryeh,
I would be very grateful to receive your response.
Regards,

neobie

unread,
Sep 7, 2022, 5:02:05 AM9/7/22
to Google Mobile Ads SDK Developers
Was getting such issue too.
Even for test ad: ca-app-pub-3940256099942544/2247696110

Mobile Ads SDK Forum Advisor

unread,
Sep 7, 2022, 2:39:47 PM9/7/22
to kaiya...@gmail.com, google-adm...@googlegroups.com
Hi Neobie,

Thank you for raising this. The team is currently investigating the issue. I'll update this thread the soonest the team share their feedback.

Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2cVwVZ:ref

alex...@gmail.com

unread,
Oct 6, 2022, 8:10:45 PM10/6/22
to Google Mobile Ads SDK Developers
This issue is happening on SDK: 21.2.0

see attached screenshot
Screen Shot 2022-10-06 at 7.09.38 PM.png

Mobile Ads SDK Forum Advisor

unread,
Oct 7, 2022, 3:04:54 AM10/7/22
to alex...@gmail.com, google-adm...@googlegroups.com

Hi Alex,

Thank you for reaching out to us.

In addition to what you've mentioned, can you also provide us a Charles log capturing the behavior privately? Once provided, we will share it to the rest of the team as additional information on this. You can provide the following details via Reply privately to author option.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2cVwVZ:ref

OneLouder Apps

unread,
Oct 7, 2022, 11:50:46 AM10/7/22
to Google Mobile Ads SDK Developers
We are seeing a lot of error code 0 and error code 2 when we updated to GAM 21.0.0 and 21.1.0
Error code 2 has been easily reproduced by changing network types...and even though it says
D/EventLog Metrics Reporter: AD_FAILED : {failure_code={
      "Code": 2,
      "Message": "Network error.",

      "Domain": "com.google.android.gms.ads",
      "Cause": "null",
      "Response Info": {
        "Response ID": "null",

        "Mediation Adapter Class Name": "",
        "Adapter Responses": [],
        "Response Extras": {}
      }


the network is just fine and other calls to other apis work fully as expected.
We are seeing a significant drop in successes with the GAM update.

Mobile Ads SDK Forum Advisor

unread,
Oct 9, 2022, 9:50:03 PM10/9/22
to onelou...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for reaching out to us.

Can you confirm if you only experience this error code 0 and error code 2 when you updated your SDK version to 21.1.0? Can you provide us privately your app id, ad unit id used, and Charles log capturing this behavior? 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=5004Q00002cVwVZQA0&entry.80707362=00114068

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.

Mobile Ads SDK Forum Advisor

unread,
Jan 16, 2023, 3:11:43 AM1/16/23
to vietngu...@gmail.com, google-adm...@googlegroups.com

Hi All,

 

I hope you're doing well.

 

I just want to circle back on this. The team mentioned that this is not reproducible in our end as it seems it was already resolved.  Feel free to reach back to us if you have any other concern.

Parmjeet Saharan

unread,
Sep 1, 2023, 2:46:59 PM9/1/23
to Google Mobile Ads SDK Developers
facing same issue
Reply all
Reply to author
Forward
0 new messages