Admob not showing any adverts on Windows Phone 8 Nokia Lumia 820 device

24 views
Skip to first unread message

Paul Marques

unread,
Nov 4, 2014, 4:56:59 PM11/4/14
to google-adm...@googlegroups.com
I recently added Admob to one of my applications #Notebox and although impressions seem to be coming thru I cannot see any on my test device (Lumia 820) using the production release of the app.  Also, during all development the test ads never showed, and I get an immediate InvalidRequest error on FailedToReceived eventhandler.  Anyone know whats going on?

My code matches the sample, see below:

            var _googleView = new AdView()
            {
                Format = AdFormats.SmartBanner,
#if DEBUG
                AdUnitID = "MY_AD_UNIT_ID"                
#else
                AdUnitID = "ca-app-pub-XXXXXXXXXXXX/XXXXXXX"                
#endif
            };
            _googleView.ReceivedAd += (sender, args) => Debug.WriteLine("Ad received - " + args.ToString());
            _googleView.FailedToReceiveAd += (sender, args) => Debug.WriteLine("Failed to received Ad - " + args.ErrorCode.ToString());

            var req = new AdRequest();
#if DEBUG
            req.ForceTesting = true;
#endif


            _googleView.SetValue(Grid.RowProperty, 2);
            LayoutRoot.Children.Add(_googleView);
            _googleView.LoadAd(req);

Paul Marques

unread,
Nov 7, 2014, 5:43:59 AM11/7/14
to google-adm...@googlegroups.com
So it seems that this issue is happening on ANY Window Phone 8.1 project.  Could it be that the current AdMob SDK only works properly with Windows Phone 8.0 ?

Reply all
Reply to author
Forward
0 new messages