I'm developing first person shooter and want to integrate iAD (and maybe AdMob later). The problem is that all the ad systems that I know use simple UIView's for that and are based on tapping them. I want to use real 3d game objects as triggers, i.e. when you shot some special character an ad is invoked. The user would be notified about that (so if you don't want ads, just don't shot those objects).
I know how to do that from the technical point of view. But is it legal to do that from the ad provider point of view (and from the Apple review team POV)?
p.s. Or maybe someone knows ad system that could be integrated into my game like that.
preguntado el 24 de agosto de 12 a las 09:08
You can trigger a popup, bannner or full screen ad by hooking your object to a button press with the RevMob SDK. Their ads tends to be of the 'download a free game' variety.
I don't see how you can do this with Admob or especially iAd as they require the banner ad to be shown on the screen so that they can serve ads. Triggering them like this may be against their terms of service.
I agree to FiddleMeRagged that you can use RevMob for this purpose. You can show a fullscreen ad whenever the user shoots wrong object.
However you can't use Admob for the same purpose. Since they clearly forbid any such activities in their política de uso. They ask you to put maximum one banner ad per screen
Similarly iAd also doesn't allow this kind of ad display.
Apple doesn't seem to have any problem with this, since our game already passed with this kind of functionality. I'll try to find some documentation regarding this.
Editar: recién encontrado este enlace on Revmob site, which recommends displaying multiple fullscreen ads.
the existing answers basically cover this, but to clarify regarding iAd:
iAd is based on presenting an ADBannerView, and having that ADBannerView do the work to fetch and display the ad, and then allowing the user to click through to get the full-screen ad.
Apple's documentation on this topic says that if you obscure or hide ads while they are loaded, the ads that your app gets fed will be affected, and your revenue will thus be affected. (it also says that the ADBannerView itself must conform to certain characteristics.)
in the end … i don't think you'll be able to trigger the full-screen iAd by something in your game being shot, since you won't be able to affect the ADBannerView doing what it needs to do to process the user-click for the click-through. (well, ok, you maybe could fake this, but it would probably involve the guts of ADBannerView in a way that apple would reject.)
RevMob has an ad unit called adLink, this can be called inside you code and will open the iTunes with the advertised game. You can use the following code:
RevMobAds *revmob = [RevMobAds revmob]; ;
You can find more documentation on their site: RevMob API documentation