Hi,
I'm searching for a solution to get testads on my Android device for aabout 2 weeks. I tried almost all solutions i found, no one is working...
The problem ist, i can't get admob testads on my device. I found out that this is because my system language is not english.... If i set it to english it works without any problems.
Code:
adView = new AdView(this);
adView.setAdUnitId("ca-app-pub-xxxxxxxxxxxxxxxxxxxxxxxx");
adView.setAdSize(AdSize.BANNER);
LinearLayout layout = (LinearLayout)findViewById(R.id.ad_catalog_layout);
// Add the adView to it.
layout.addView(adView);
// Initiate a generic request.
AdRequest adRequest = new AdRequest.Builder().addTestDevice(AdRequest.DEVICE_ID_EMULATOR).addTestDevice("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx").build();
// Load the adView with the ad request.
adView.loadAd(adRequest);
adView.loadAd(adRequest);
The Log is saying that the GPS resources couldn't be found.
And this two lines are also in the Log:
02-09 14:40:44.087: I/Ads(10627): No fill from ad server.
02-09 14:40:44.097: W/Ads(10627): Failed to load ad: 3
Any solution?
Thanks!
Ben