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 ...

Get Learn Unity 4 for iOS Game Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.