Chapter 14. Integrating iAds

WHAT'S IN THIS CHAPTER?

  • What the iAd Network offers

  • Steps to join the iAd Network

  • How to incorporate iAds into your application

When Apple introduced the iTunes App Store for purchasing music, television shows, and movies, it set the standard for others to follow. The entire shopping experience is a relatively easy process. Now, with the introduction of iOS 4, Apple has once again streamlined another process: implementing advertising within your own applications.

Using the iAd Network, it takes only a few short steps to provide a space for banner ads in your application. In addition, you inherit a complete marketing network that supplies ads, as well as a robust infrastructure that can create an additional source of revenue for you.

The iAd Network web page is located at https://developer.apple.com/iphone/appstore/iad/.

After you join and integrate iAds into your application, you can follow your revenue stream from https://iad.apple.com/itcportal/.

In this chapter, you will build an application that connects to the iAd Network and displays the result of the connection by displaying a test banner view and the status of the network connection.

Note

You can test this application without joining the iAd Network, but you must be a registered member of the iPhone Developer Program and have joined the iAd Network for ads to operate properly in your application submitted to the iTunes App Store.

JOINING THE IAD NETWORK

Joining the iAd program is a three-step process:

  1. Setting ...

Get Professional iPhone® and iPad™ Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.