I have a huge problem with loading ads from AdMob on my Lumia 730. Currently, I have 4 different ads in my app (which is SILVERLIGHT 8.1, NOT 8.0, and not 8.1 WP) and unfortunately, I always get the same error from each page on which particular ad exists: "Failed to receive the ad with error NoFill"
I don't know what should I do, I think I tried everything, and now I'm out of ideas.... :(
As my ad didn't show on screen I created a new, blank app where I could test all the possibilities. That new app has only one element - Google Ad Baner...
What I tried:
1. Turned on all capabilities possible in this app.
By the way I can't find anywhere capabilities needed for Silverlight 8.1 app? Only info which I found was for Silverlight 8.0, but capabilities for 8.1 are completely different...
2.Tried to create a banner from code:
AdView bannerAd = new AdView
{
Format = AdFormats.Banner,
AdUnitID = "ca-app-pub-00000000000/000000000"
};
bannerAd.ReceivedAd += OnAdReceived;
bannerAd.FailedToReceiveAd += OnFailedToReceiveAd;
LayoutRoot.Children.Add(bannerAd);
AdRequest adRequest = new AdRequest();
bannerAd.LoadAd(adRequest);
Result: Emulator: OK Device: Failed to receive the ad with error NoFill
3. Tried to create a banner from XAML:
<GoogleAds:AdView AdUnitID="ca-app-pub-00000000000/000000000" Format="BANNER" FailedToReceiveAd="failToReceive"/>
Result: Emulator: OK, device: Failed to receive the ad with error NoFill
4.Tried to turn on ForceTesting option...
adRequest.ForceTesting = true;
Result: Emulator: OK
Device: Failed to receive the ad with error NoFill !?
This is really strange that ad does not appear even if the testing mode is turned on? My app is in Silverlight 8.1 so it should be supported. An interesting fact is that on my admob page I see the requests...but I also see IMPRESSIONS - probably after testing app in the emulator, as their ads are visible!!!
So I don't get it at all, why ads are visible in the emulator (which is Windows 8.1) and they are not visible on my phone (8.1 too)?
I'm totally confused...
Please, help me.
Luke