O'Reilly logo

Learn Unity 4 for iOS Game Development by Philip Chu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter     15

iAd: Banner Ads and Interstitial Ads

Frankly, in these freemium days, it’s not easy to get a lot of people to pay for an app. So an alternative is to incorporate ads. iAd is not the only mobile ad product available, but it is the official ad service for iOS, paying developers 70% of revenue, the same as the revenue share for paid app sales. And, conveniently, Unity has scripting support for iAd. In this chapter we’ll incorporate the two ad types offered by iAd—banner ads and interstitial (full-screen) ads—into our bowling game.

The project project for this chapter on http://learnunity4.com/ includes the iAd scripts developed in this chapter and is sufficient to demonstrate iAd functionality. However, even if you start with the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required