1

android interstitial ad is displaying for test device

AdRequest adRequest = new AdRequest.Builder()
         .addTestDevice("XXXXXXXXXXXXXX")
                .build();
        interstitial.loadAd(adRequest);

But after publishing(removed the "addTestDevice" line), I cannot see any ad. It always returns error code "ERROR_CODE_NO_FILL".(from logcat)

I searched a lot, but couldn't get a satisfactory answer. Is it one of the android's million bugs?

The below is my admob dashboard screenshot. It has some few requests, but no impression. This is not due to my code problem as I am displaying the ad, but loading itself fails after request : ERROR_CODE_NO_FILL

enter image description here

Sanmoy
  • 589
  • 2
  • 9
  • 23
  • 1
    See this: http://stackoverflow.com/questions/7093865/why-does-admob-return-no-fill – joao2fast4u Nov 21 '14 at 18:37
  • This question asked "Can anyone tell me what this errorcode means?".. I know what does this mean. I want to know how to overcome this error :-). Also, this question doesn't have any satisfactory answer. "I don't know if it is because I am not stationed in the US, but these two minutes often becomes at least 20 minutes if not several hours for me." I can't conclude anything from this. – Sanmoy Nov 21 '14 at 18:43

1 Answers1

0

NO_FILL is a standard response. It means that you made a request on the ad network and the ad network has no inventory for you.

The solution is to use mediation to hand off to other ad networks when the first doesn't have any fill. Admob provides a good out of the box mediation.

William
  • 20,150
  • 8
  • 49
  • 91