"There was a problem getting an ad response. ErrorCode: 0"

3,817 views
Skip to first unread message

Grdykopląs Namorzyn

unread,
Oct 2, 2014, 9:55:36 AM10/2/14
to google-adm...@googlegroups.com
Hi,

I am trying to test AdMob ads, here's my code:

        adView = new AdView(getActivity());
        adView.setAdSize(AdSize.BANNER);
        adView.setAdUnitId("ca-app-pub-my_ad_unit_id");
       
        my_main_view_here.addView(adView);
       
        AdRequest adRequest = new AdRequest.Builder()
        .addTestDevice("my_device_hash_here")
        .build();

        adView.loadAd(adRequest);
        adView.bringToFront();

When I enable layout borders from developer options, the banner is clearly there, properly sized. The logcat, though says:

10-02 14:40:46.125: W/Ads(12119): There was a problem getting an ad response. ErrorCode: 0
10-02 14:40:46.185: W/Ads(12119): Failed to load ad: 0

"0" begin "INTERNAL ERROR". Not very helpful...

How can I debug it further?

Eric Leichtenschlag

unread,
Oct 6, 2014, 7:58:21 PM10/6/14
to google-adm...@googlegroups.com
I was getting this error earlier today, but I'm getting ads back fine right now. Can you try again?

David Ife

unread,
Oct 11, 2014, 8:48:20 PM10/11/14
to google-adm...@googlegroups.com
I have been getting this error code intermittently ever since I upgraded to the latest admob SDK (i.e. the one built into Google Play Services library, I am now using version 5.0.89). It seems to happen more frequently when the wifi link is weak, or when accessing the internet over the mobile network. Has anyone a clue why this is happening? I did not get this Errorcode: 0 with older versions of the admob SDK.

David Ife
Havos Ltd

test test

unread,
Aug 17, 2016, 8:38:03 AM8/17/16
to Google Mobile Ads SDK Developers, ssu...@gmail.com
Reply all
Reply to author
Forward
0 new messages