Kryex
Kryex

Reputation: 1

Admob in Android problem

I am currently developing an application and decided to try Admob ads.

Unfortunately, after following Admob's guide (pretty simple one, good job on that) I get no ad, whether I run it on the emulator or on my phone (HTC Desire). The weird part is that the ad has shown a couple of times (I really mean just a couple of times), in hundreds of tries. And checking my account on Admob I see that there are 6000 requests from this app.

I started a new application, from a blank slate, with no changes.

Any clues?

This is what I have done so far:

Upvotes: 0

Views: 1664

Answers (1)

user340145
user340145

Reputation:

Have you tried adding

AdManager.setTestDevices( new String[] {                 
        AdManager.TEST_EMULATOR 
});

to the Activity-class that is to show the ad?

If you're debugging using your phone you also need to add the ID of your phone to the array.

Upvotes: 1

Related Questions