Bug 14142 - Android sample 'AdMob' not displaying banner.
Summary: Android sample 'AdMob' not displaying banner.
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: Samples ()
Version: 4.8.x
Hardware: PC Mac OS
: --- normal
Target Milestone: 4.8.2 (Android 18)
Assignee: Peter Collins
URL:
Depends on:
Blocks:
 
Reported: 2013-08-21 10:50 UTC by narayanp
Modified: 2013-08-21 12:43 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description narayanp 2013-08-21 10:50:40 UTC
Steps to reproduce this issue:
1. Open android sample 'AdMob'.
2. Debug or run the sample.

Actual Result: Application not displaying Add banner on emulator as well as on device.

Expected Result: Application should display add banner on emulator as well as on device.

Supplement info:
Application Output: https://gist.github.com/saurabh360/49e43bc021aebcac08b5
Logcat: https://gist.github.com/saurabh360/96bc838c1f8599ff43e3

Environment details:
All Mac
X.S 4.0.11(build 7)
Mono 3.2.2-0
X.Android 4.8.2-54

App Info:
monodroid sample-master/AdMob

Device info:
All Emulators and Physical devices

Regression Status:
This is working fine with stable X.Android 4.8.0-13
Comment 1 Peter Collins 2013-08-21 12:43:40 UTC
I was able to see the ad banner when deploying to both emulator and physical device.

Looks like the ad request timed out in the log you posted:
[Ads] AdLoader timed out after 60000ms while getting the URL.

https://developers.google.com/mobile-ads-sdk/kb/#whynoads

"we may not always have an ad available for every ad request. This can be especially common during development, when ad requests are typically made infrequently from a small number of users and devices. When apps are newly registered on AdMob it may also take some time and several requests before impressions are consistently delivered."

TL;DR:
AdMob usage can fail to load adds from time to time, especially during testing / development. Try to deploy a few times if the Banner fails to load on first deployment.