iAd With Playmaker

Make sure you read the iAd setup section first.

With iAd, you can use two types of ad interstitial and banners.

1. Interstitial

There are two ways to use interstitial.

  • ISN_StartInterstisialAd action. Will start Ad load request as soon the ad loaded shows the interstitial ad.

  • Use ISN_LoadInterstisialAd to load the Ad content. SuccessEvent will be fired if content has been loaded successfully and failEvent if not. After content has been successfully loaded, you may use ISN_ShowInterstisialAd action to show the ad.

You should use one of those approaches every time you want to show the interstitial ad.

 

2. Banners

1) Create ad banner using ISN_CreateBanner action. If the banner is successfully created, SuccessEvent will be fired. Otherwise FailEvent will be fired.

Do not fill the banner Id section. It will be filled after banner is created. Store this id. It will be used to control a creation of a banner with the following playmaker  actions:

  • ISN_HideBanner - will hide the banner

  • ISN_ShowBanner - will show the banner

  • ISN_DestroyBanner - will destroy the banner