Re: admob test not working

1,209 views
Skip to first unread message

Eric Leichtenschlag

unread,
Oct 15, 2012, 12:53:41 PM10/15/12
to google-adm...@googlegroups.com
There is currently an issue on test ads on our end. We're working on fixing it.

On Mon, Oct 15, 2012 at 8:29 AM, Carmelo Presicce <carmelo....@gmail.com> wrote:
I've setup a view as suggested in the guide and set the emulator and my device id as test devices:

<com.google.ads.AdView android:id="@+id/adv_result"

                         android:layout_width="fill_parent"

                         android:layout_height="wrap_content"

                         ads:adUnitId="a1507b569044626"

                         ads:adSize="BANNER"

                         ads:testDevices="TEST_EMULATOR, 5159A4CE6735E7375280F3CB25888A9A"

                         ads:loadAdOnCreate="true"/>


Anyway I get this error running on the test device or emulator: Ad request successful, but no ad returned due to lack of ad inventory. Instead, removing the attribute "testDevices" the realt advertising is working correctly.

Other people have recently experienced this, see: http://stackoverflow.com/questions/12881062/admob-test-ads-not-working-only-the-real-ones-are-showing-android

Are there some problems on your servers or am I missing something?

I include my log below,
thanks!

Carmelo


10-15 17:20:59.022: I/Ads(607): adRequestUrlHtml: <html><head><script src="http://media.admob.com/sdk-core-v40.js"></script><script>AFMA_buildAdURL({"kw":[],"preqs":1,"session_id":"1700580337704681083","u_sd":1.5,"seq_num":"2","slotname":"a1507b569044626","u_w":320,"msid":"com.appsolutely.quizpatente","simulator":1,"cap":"m,a","adtest":"on","js":"afma-sdk-a-v6.1.0","toar":0,"isu":"B3EEABB8EE11C2BE770B684D95219ECB","cipa":0,"format":"320x50_mb","net":"ed","app_name":"1.android.com.appsolutely.quizpatente","hl":"en","u_h":533,"carrier":"310260","ptime":30878,"u_audio":4});</script></head><body></body></html>
10-15 17:21:00.812: I/Ads(607): onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory.)

--
 
 
  


Eric Leichtenschlag

unread,
Oct 15, 2012, 1:00:40 PM10/15/12
to google-adm...@googlegroups.com
Test ads should be working again.

Thanks,
Eric

snotrac...@gmail.com

unread,
Oct 28, 2013, 8:38:11 AM10/28/13
to google-adm...@googlegroups.com
I have the same problem now with the test adds, real adds are ok. Is there any problem?

Thank you

Eric Leichtenschlag

unread,
Oct 29, 2013, 7:34:43 PM10/29/13
to google-adm...@googlegroups.com
I haven't seen an issue with test ads in the last few weeks. Which ad format are you using?

A couple other checks to make:
1. In the logcat, do you see a message saying "to get test ads on this device, call adrequest.addTestDevice("your hashed device id")? If so, you'll need to add that ID.
2. Another check you can make to see if your request made it as a test request is to look for adtest=on in the ad request url.

Thanks,
Eric

Cristian Perez

unread,
Dec 12, 2013, 10:15:45 PM12/12/13
to google-adm...@googlegroups.com
I'm getting "Use AdRequest.Builder.addTestDevice("XXXX") to get test ads on this device." message in logcat, but I already did that, and test ads are not showing. Real ads work. BANNER size (the smallest one). What could be the problem?

Amy Quispe (AdMob SDK Team)

unread,
Dec 16, 2013, 5:24:32 PM12/16/13
to google-adm...@googlegroups.com
Do you get test ads on your emulator?

Amy Quispe

Kurt Müller

unread,
Dec 29, 2013, 11:19:50 AM12/29/13
to google-adm...@googlegroups.com
I'm also having the same problem (already since months) on real devices like my tablet (on emulator everything works fine).

Although if i do a stupid workaround and change the adSize from "SMART_BANNER" to "BANNER" for the meantime, the test ads are working.

As soon as i change back to "SMART_BANNER" i can see following message in the logcat:
12-29 17:18:47.590: I/Ads(22755): onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory.)

...

Ricky

unread,
Feb 5, 2014, 1:18:07 AM2/5/14
to google-adm...@googlegroups.com
I still encounter this problem in last few weeks.

I can see real ads, but I cannot see test ads in my language setting: Chinese/Japanese
adSize is BANNER.

It's okay to show real, test ads if I set language to English (United States).

Thanks.
Ricky.


Eric Leichtenschlag於 2013年10月30日星期三UTC+8上午7時34分43秒寫道:

Łukasz

unread,
Mar 21, 2014, 11:53:40 AM3/21/14
to google-adm...@googlegroups.com
I agree, in my native language (Polish) test ads dont show, but after i switched to english it starts working. On my emulator ads dont show at all. 
Reply all
Reply to author
Forward
0 new messages