The iAd advertising platform provides developers and agencies new opportunities to generate revenue and promote their apps. You add banner or full-screen advertisements to your application’s user interface; Apple sells advertising space and delivers ads to fill these spaces. You earn revenue when users view or interact with ads displayed by your application.
The iAd framework was introduced in iOS 4.0, and does the work necessary to download advertisements from the iAd Network. Your primary responsibility is to design your user interface to accommodate space for advertisements.
Banner Views Use a Portion of the Screen to Display a Banner Ad
The ADBannerView class allows you to dedicate a portion of a user interface screen to display a banner ad. Once created, a banner view automatically downloads new advertisements to display to the user. A user taps a banner to interact with the ad’s content.
Full-Screen Ads Provide Larger Advertisements to iPad Applications
The ADInterstitialAd class allows you to display full-screen advertisements in your application. You can add a full-screen advertisement as a page of content alongside other pages of content provided by your application, or you can display a full-screen advertisement modally when your application transitions from one screen to another. As with a banner ad, a user taps a full-screen advertisement to launch the ad’s rich content.
Pause Nonessential Activities While Users Interact with Advertisements
When the user taps on an advertisement, iAd typically covers the screen and displays an interactive advertisement. Your application continues to run, but the user cannot see or interact with your application’s user interface. Instead, the user interacts with the rich media experience provided by the displayed advertisement. While an advertisement is displayed, your application’s activities should be scaled back, and features that require the user to see or hear your application’s user interface should be paused. Your application must respond to low-memory warnings and release objects that can be easily recreated after the user finishes interacting with the advertisement.
Canceling Advertising Negatively Impacts Your Application
While the user interacts with an advertisement, your application continues to receive events. Once the user finishes the advertising action, control returns to your application. However, if your application receives an event that requires the user’s immediate attention, your application can programmatically cancel the advertisement to restore its user interface. Your application should only cancel advertising when it urgently needs the user’s attention. Frequently canceling advertisements can reduce the revenue generated by your application. It may also affect the inventory of advertisements that are offered to your application.
Validate Your iAd Support Before Releasing Your Application
When you build and run your application in Xcode, iAd automatically serves test advertisements to your application. You should confirm that your application properly supports the guidelines and recommendations found in this programming guide as well as those found in the iOS Human Interface Guidelines.
Like this post?