Hello. I don’t understand what I’m doing wrong since there are only like 5 lines of code…I feel like I’m retarded today.
http://www.coronalabs.com/blog/2013/01/01/using-iads-in-corona/
I followed that, but really there are only 5 lines of code or so…can someone tell me what I might be missing
ads = require( "ads" ) function adListener(event) msg = event.response if event.isError then audio.play( errorSound ) end end ads.init( "iads", "com.yourcompany.yourappid", adListener ) ads:setCurrentProvider("iads") ads.show( "banner", { x=0, y=0 } )
I understand that it follows my Bundle ID which I’m sure I got right. I do have a question though, I only accepted the iAds Terms of Service or whatevre recently and got approved. I have the iAds are Live green button, but I wanted to test on my iphone and can’t get it to work at all? I created a new distribution profile with Ad Hoc and the same bundle id as my app, is that why it’s not working? Help would be greatly appreciated.