Reputation: 1668
I'm not sure when it first happened, but the free version of my app no longer displays ads. In LogCat I see the following:
No fill from ad server. Scheduling ad refresh 60000 milliseconds from now Failed to load ad: 3 Ad is not visible. Not refreshing Ad
Here's my code (executes w/o throwing exception):
// Create an ad
adView = (AdView) context.findViewById(R.id.adView);
// Create an ad request. Check logcat output for the hashed device ID to get test ads on a physical device.
AdRequest adRequest = new AdRequest.Builder()
.addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
.addTestDevice("C159C2E9AAFBF1EF1788369DDBFCD344")
.build();
// Start loading the ad in the background.
adView.loadAd(adRequest);
Any suggestions?
Upvotes: 0
Views: 305
Reputation: 20196
This is a normal response. From time to time a device may not have an ad available, in which case your will receive 'No fill from ad server".
The best mitigation is to use mediation to iterate over a number of ad networks in case of no fill.
Upvotes: 1