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

Time for action — sending the message


Out of the box, iAd Producer doesn't have an object or template that supports sending SMS; however, we can achieve this with the iAd JS Library, the framework that powers our iAd. We're able to send an SMS with just four lines of code; don't worry, it's very simple to add this to your ad.

Note

Remember: iAd Producer is an editor that manages most of the iAd JS library for us, although it currently doesn't support all the available features, so we occasionally have to modify and add some custom code.

  1. 1. We'll continue with our Coffee Beans project; if it isn't already open, open it now.

  2. 2. Let's create a button on the Menu page so our users can share our brand with their friends. Open the Menu page on the editing canvas and add a button object from the Objects library. Change the button text to something like Tell a friend, and then position the button on the bottom right of the screen. Change the button's styling. For example, try:

    • Setting the background...