I have been trying for at least 6 hours how to declare an admob banner. The banner is simply visible in the graphical representation of activity_main.xml. There it shows a blank text: Ads from Google. If I start it on a real device, nothing will appear even in the box, and you will not be able to click it. My LogCat output:
01-21 18:59:26.768: I/Ads(26882): Use AdRequest.Builder.addTestDevice("7DC393B415BE44EB0BBB77E514CE33C3") to get test ads on this device.
01-21 18:59:26.778: I/Ads(26882): Starting ad request.
01-21 18:59:26.898: W/(26882): init htc webcore
01-21 19:00:27.168: W/Ads(26882): Timed out waiting for ad response.
01-21 19:00:27.178: I/Ads(26882): Scheduling ad refresh 60000 milliseconds from now.
01-21 19:00:27.183: W/Ads(26882): Failed to load ad: 2
01-21 19:01:27.208: I/Ads(26882): Starting ad request.
01-21 19:02:27.363: W/Ads(26882): Timed out waiting for ad response.
01-21 19:02:27.413: I/Ads(26882): Scheduling ad refresh 60000 milliseconds from now.
01-21 19:02:27.418: W/Ads(26882): Failed to load ad: 2
01-21 19:01:27.363: E/GooglePlayServicesUtil(26882): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
I am sure that I have included all the right things, but if you have any ideas, then what I did is false, just say it.
Therefore, I hope someone can help me with admob.
source
share