Where are you from? Perhaps iAd is not available in your country!
Make sure your device is connected to the Internet (WiFi or 3G).
To implement iAd in your application, you need to import the iAd infrastructure into your project and # include it in the ".h" ViewController, where the ad will be displayed. For instance:
YourViewController.h
#import <UIKit/UIKit.h> #import <iAd/iAd.h>
source share