Iads On Corona Enterprise

I was able to build the sample code for iOs using xcode on Corona Enterprise. However, when I tried to build an app which implemented iAds from the ads api of Corona it gave me the following error during the launching of the app on the iOS simulator:

ERROR: Could not load provider (iads) due to the following reason: module ‘CoronaProvider.ads.iads’ not found:resource (CoronaProvider.ads.iads.lu) does not exist in archive

I also get this error message with build 1142. 

The following lines do not seem to work:

local ads = require “ads”

ads.init( “iads”, “com.example.name”, adListener )

Oops – I needed to edit build.settings: http://docs.coronalabs.com/daily/api/library/ads/index.html

(And if anyone else is confused, you leave com.coronalabs as is, and do not change it to your own publisher id. coronalabs is the publisher of the plugin)

It might be useful to mention that here: http://www.coronalabs.com/blog/2013/01/01/using-iads-in-corona/

I second that, it should obviously be mentioned in the ‘tutorial’ on using iAds.

Hi guys,

That tutorial was written well before iAds was implemented as a plugin, thus no mention of it. I’ve just added a reminder at the beginning of the tutorial to direct people to the ads guide here: http://docs.coronalabs.com/guide/monetization/adSupport/index.html

Thanks for mentioning this… it definitely needed to be clarified. :slight_smile:

Brent

I also get this error message with build 1142. 

The following lines do not seem to work:

local ads = require “ads”

ads.init( “iads”, “com.example.name”, adListener )

Oops – I needed to edit build.settings: http://docs.coronalabs.com/daily/api/library/ads/index.html

(And if anyone else is confused, you leave com.coronalabs as is, and do not change it to your own publisher id. coronalabs is the publisher of the plugin)

It might be useful to mention that here: http://www.coronalabs.com/blog/2013/01/01/using-iads-in-corona/

I second that, it should obviously be mentioned in the ‘tutorial’ on using iAds.

Hi guys,

That tutorial was written well before iAds was implemented as a plugin, thus no mention of it. I’ve just added a reminder at the beginning of the tutorial to direct people to the ads guide here: http://docs.coronalabs.com/guide/monetization/adSupport/index.html

Thanks for mentioning this… it definitely needed to be clarified. :slight_smile:

Brent