Book Image

iAd Production Beginner's Guide

By : Ben Collier
Book Image

iAd Production Beginner's Guide

By: Ben Collier

Overview of this book

Think of an iAd as a micro-app contained within an app on a user's iPhone or iPad that they've downloaded from the App Store. When the user taps your advert's banner it bursts into life filling the entire screen of their device. iAd Beginner's Guide takes you through the start to finish process of building rich, compelling, interactive iAds. You will learn to create beautiful multi-page ads with store finders, social sharing, 3D images and video galleries. You will create ads that utilize the powerful technologies in the iPhone to make your brand shine. Once you have engaged the user you can carry out targeted advertising campaigns with location-based coupons, store finders and social engagement. Using the iTunes Store you will see how it's even possible to add one-click digital content purchasing right within your ad. Learn how iAd producer manages all the HTML5, JavaScript, and CSS3 behind your iAd. You will be creating emotive, gripping and effective mobile advertising campaigns in no time.
Table of Contents (18 chapters)
iAd Production
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Chapter 10. Adding iAds into Your App

Now that we've seen how awesome iAds can be for your brand, we'll take a look at adding them into your existing application to add an additional revenue stream.

In this chapter, you'll learn how to:

  • Set up an empty placeholder iPhone application, in case you don't currently have an app and its source code

  • Add the iAd banner view to an application

  • Update the banner to handle device rotations

  • Hide the banner when no adverts are available

If you haven't created an iPhone application before or don't have experience with iOS development, don't worry; we'll give you the full code required to add this into an app. In fact, you're able to add the basic iAd banner into an app without any programming experience at all. With that said, the less adventurous may prefer to pass this information onto their app development team.

Setting up the base project

If you've not already got an application but would still like to try adding iAd into an app, we can make a quick single...