My application has been on the Google Play store for a month and everything was working fine. Two days ago I added it to the "Designed for families" category. I received acceptance and congratulations from the Google team. Since this, my Interstitials have stopped showing. I receive AdRequest.ERROR_CODE_NO_FILL
.
InterstitialAd interstitialAd;
Bundle extras = new Bundle();
extras.putBoolean("is_designed_for_families", true);
AdRequest adRequest = new AdRequest.Builder()
.addNetworkExtrasBundle(AdMobAdapter.class, extras)
.build();
interstitialAd = new InterstitialAd(this);
interstitialAd.setAdUnitId(InterstitialSample.AD_UNIT_ID);
interstitialAd.loadAd(adRequest);
interstitialAd.setAdListener(new AdListener() {
@Override
public void onAdLoaded() {
Log.d("Tim", "OK");
}
@Override
public void onAdFailedToLoad(int errorCode) {
String message = String.format("onAdFailedToLoad (%s)", InterstitialSample.getErrorReason(errorCode));
Log.d("Tim", message);
}
});
I didn't change the package name. Also, I tried changing the AD_UNIT_ID
with no success.
It is not a bug. Just a few ads has characteristics "for children 5 years" or "for children 8 years". Remove your app from "Design for families" category for showing ads or wait until there will be advertising with similar characteristics.