Errores de iAd pero los anuncios parecen estar mostrando bien

Estoy cargando anuncios publicitarios en la parte inferior de los controlleres de vista. Cargan el post publicitario conectado a la networking iAd

pero recibiendo posts de error en la parte inferior de la pantalla de xcode

2014-07-20 11:21:38.515 WeddingsAndMore[30983:60b] Reachability Flag Status: -R ------- networkStatusForFlags 2014-07-20 11:21:38.768 WeddingsAndMore[30983:60b] Error receive ad: Error Domain=ADErrorDomain Code=7 "The operation couldn't be completed. Ad was unloaded from this banner" UserInfo=0x10db25db0 {ADInternalErrorCode=7, NSLocalizedFailureReason=Ad was unloaded from this banner, ADInternalErrorDomain=ADErrorDomain} 2014-07-20 11:21:38.971 WeddingsAndMore[30983:60b] [AppDeveloper] ADBannerView: Unhandled error (no delegate or delegate does not implement didFailToReceiveAdWithError:): Error Domain=ADErrorDomain Code=3 "The operation couldn't be completed. Ad inventory unavailable" UserInfo=0x10d87e570 {ADInternalErrorCode=3, NSLocalizedFailureReason=Ad inventory unavailable, ADInternalErrorDomain=ADErrorDomain} 2014-07-20 11:21:39.972 WeddingsAndMore[30983:60b] [AppDeveloper] ADBannerView: Unhandled error (no delegate or delegate does not implement didFailToReceiveAdWithError:): Error Domain=ADErrorDomain Code=5 "The operation couldn't be completed. Banner view is visible but does not have content" UserInfo=0x10d9272b0 {ADInternalErrorCode=5, NSLocalizedFailureReason=Banner view is visible but does not have content, ADInternalErrorDomain=ADErrorDomain} 

y cuanto más lo mantenga abierto en el simulador, más obtendré

código de la siguiente manera

file .h

 #import <UIKit/UIKit.h> #import <iAd/iAd.h> @interface DMKPickViewController : UIViewController <ADBannerViewDelegate> @property (strong, nonatomic) IBOutlet ADBannerView *bannerView; @end 

file .m

 #import "DMKPickViewController.h" #import "DMKAppDelegate.h" @interface DMKPickViewController () @end @implementation DMKPickViewController - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; if (self) { // Custom initialization } return self; } - (void)viewDidLoad { _bannerView = [[ADBannerView alloc] initWithFrame:CGRectZero]; _bannerView.delegate = self; _bannerView.hidden = NO; [self.view addSubview:_bannerView]; [super viewDidLoad]; // Do any additional setup after loading the view. } - (void)bannerViewDidLoadAd:(ADBannerView *)banner { NSLog(@"bannerViewDidLoadAd"); CGRect bannerFrame = CGRectMake(0.0, (self.view.frame.size.height - 50), 0.0, 0.0); [self.bannerView setFrame:bannerFrame]; self.bannerView.hidden = NO; } -(void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error { NSLog(@"Error receive ad: %@", error); self.bannerView.hidden = YES; } - (BOOL)bannerViewActionShouldBegin:(ADBannerView *)banner willLeaveApplication:(BOOL)willLeave { return YES; } - (void)bannerViewActionDidFinish:(ADBannerView *)banner { } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (void)viewDidAppear:(BOOL)animated { } 

esta es la primera vez que implementé iAd, así que soy nuevo en esto

Si se mueve a una pantalla en la que no se puede ver el anuncio, se recomienda desactivar el anuncio. Entonces no debería tener ninguna posibilidad de no recibirlo. Retírelo de la supervisión, establezca el delegado en cero y suéltelo. Créalo nuevamente cuando se vuelva a ver.