Tutorial :What to do to fix “no qualified ads found for this request” on iAd?



Question:

Somehow I got this error message when testing iAd on the device.

"no qualified ads found for this request"  

What to do to fix it? Anyone has any idea? On the simulator there is no error, it succeeds to show the "Test Advertisement"

UPDATE:

The real problem here is that the delegate to raise the error IS NOT BEING CALLED, on the simulator it works, and on the iPhone it does not. That is the issue.

More details here:

This function is being called in the Simulator:

- (void)bannerViewDidLoadAd:(ADBannerView *)banner  

While this function is being called in the device:

- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error  

I did enable the iAd in the developer's portal and other apps that I test on the device DO show the Test Advertisement.


Solution:1

This is not really an error to be fixed, but an expected response when no iAd inventory is available. This may be due to many factors, but the most likely one is that there just aren't a lot of ads in the system right now, seeing as how the service only launched six days ago. According to Apple:

If you have dedicated a section of your app for an iAd, it's important to incorporate a banner view delegate that will handle common events, including errors. Having the proper delegate to handle errors maintains the visual experience customers have with ads in your app by preventing a blank banner from being displayed when ads are not available. In addition, if your app displays a blank banner when advertisements are not being displayed, your app will be returned to you by the App Review Team for modification before it can be posted to the App Store.

Apple provides boilerplate code for handling this in the "Working with Banner Views" section of the iAd Programming Guide. See also the discussion around this question.


Solution:2

That's an expected error.

The only way to change it is to file bug reports.


Solution:3

This is the error from iTunesConnect when iAd was set without specifying bundleIdentifier. Contact the iTunesConnect team solves the issue.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »