Admob, iad integration!

Hi!

I have a question about integrating admob and iad and AdWhirl sdk corona. is this possible? if it did, there is a tutorial that explains its implementation for both iOS and Android?
Thanks for your response! :wink: [import]uid: 98258 topic_id: 34401 reply_id: 334401[/import]

Hello @aitor.10794.

Since you are on a trial subscription, the version of Corona SDK that you are running supports ads from InMobi and inneractive. As of daily build 992, iAds support has been formally added.

AdMob is frequently asked for, but as of now, we have not integrated it. There are several people who’ve managed to integrate it. I don’t know about AdWhirl. There is also 3rd party support from a company called Lunar Ads which lets you setup various ad services and run it through one set of code.

Finally, we have a product called Corona Enterprise, which lets you use native libraries and you could compile in your own SDK.

[import]uid: 199310 topic_id: 34401 reply_id: 136735[/import]

@Rob
In the sample code for the iAds, it says…
[lua]-- Replace with your own application ID
local appID = “com.company.product”[/lua]
I guess from the example that this means the bundle ID, and not the Apple ID. Is this correct?
Also, I have enabled iAds on the (in-progress) free version of my game but at the top of the screen it states that the changes won’t be in effect until the next version of my app is approved. I’m guessing that once I’ve finished coding it and submitted it then all will be fine?

[import]uid: 7841 topic_id: 34401 reply_id: 136764[/import]

@Appletreeman, the iAds support is pretty new to all of us, let me get you a definitive answer on this, but I believe that the appID would be the same as your bundle ID. I didn’t see anything in iTunes connect when I was setting up iAds that would let me specify something else.

[import]uid: 199310 topic_id: 34401 reply_id: 136782[/import]

Cheers Rob,
It seems to be working with the bundle ID, but it seems very hit or miss as to whether it displays the test ad or throws up an error. I’m guessing it would be pretty easy to get it to display something else if it throws a wobbly. Just catch the error and display an internal ad or suchlike. [import]uid: 7841 topic_id: 34401 reply_id: 136786[/import]

@Appletreeman,
Where was that? what page?
thank you! [import]uid: 98258 topic_id: 34401 reply_id: 136812[/import]

Do a platform query and if iPhone OS then show the iAd and if Android show inneractive or load something like Revmob.

Works fine but as it sits now… iads has a bug that when you click the ad in portrait on ipad it rotates to landscape and when you close the ad it doesn’t rotate correctly back…

Matt [import]uid: 18783 topic_id: 34401 reply_id: 136819[/import]

you have a tutorial that explains it step by step? [import]uid: 98258 topic_id: 34401 reply_id: 136914[/import]

Keep in mind iAds doesn’t have a great fill rate, so there will be times where you get no ad.

@aitor.10794, we are working on a tutorial.

[import]uid: 199310 topic_id: 34401 reply_id: 136926[/import]

@Rob any update on the workaround or fix for the iPad rotation issue with iAd?

don’t think anyone can submit an app with this api since it will get rejected in its current state. [import]uid: 18783 topic_id: 34401 reply_id: 137015[/import]

@mattchapman, have you reported this bug using the report a bug feature? The forums are not the best way to get bugs reported to the team. Also with most of the staff being away on holiday, I’m not sure that even if we knew of the bug, there has been any one to work on it.

It sounds like an Apple problem from your previous post, so are you feeling this is a Corona problem?

Thanks
Rob
[import]uid: 199310 topic_id: 34401 reply_id: 137018[/import]

It was originally posted in the forum Walter pointed us all to for monitoring issues with it if any came up. Corona Staff mentioned that a workaround was being worked on. Essentially if you run the iAd on iPad and click the ad it switches to landscape… so far so good… close the iAd Apple Test Ad and when it tries to switch your app back to portrait it breaks the screen layout real bad.

BTW: Nice to see you part of the staff… Very helpful to many I have noticed.

Matt
[import]uid: 18783 topic_id: 34401 reply_id: 137021[/import]

I seem to remember something about that. Everyone is away for the holidays, so I’ll let the team know and see if there is an update. Most everyone should be back tomorrow, so these things should get picked back up.

And thank you!
[import]uid: 199310 topic_id: 34401 reply_id: 137045[/import]

Hello @aitor.10794.

Since you are on a trial subscription, the version of Corona SDK that you are running supports ads from InMobi and inneractive. As of daily build 992, iAds support has been formally added.

AdMob is frequently asked for, but as of now, we have not integrated it. There are several people who’ve managed to integrate it. I don’t know about AdWhirl. There is also 3rd party support from a company called Lunar Ads which lets you setup various ad services and run it through one set of code.

Finally, we have a product called Corona Enterprise, which lets you use native libraries and you could compile in your own SDK.

[import]uid: 199310 topic_id: 34401 reply_id: 136735[/import]

@Rob
In the sample code for the iAds, it says…
[lua]-- Replace with your own application ID
local appID = “com.company.product”[/lua]
I guess from the example that this means the bundle ID, and not the Apple ID. Is this correct?
Also, I have enabled iAds on the (in-progress) free version of my game but at the top of the screen it states that the changes won’t be in effect until the next version of my app is approved. I’m guessing that once I’ve finished coding it and submitted it then all will be fine?

[import]uid: 7841 topic_id: 34401 reply_id: 136764[/import]

@Appletreeman, the iAds support is pretty new to all of us, let me get you a definitive answer on this, but I believe that the appID would be the same as your bundle ID. I didn’t see anything in iTunes connect when I was setting up iAds that would let me specify something else.

[import]uid: 199310 topic_id: 34401 reply_id: 136782[/import]

Cheers Rob,
It seems to be working with the bundle ID, but it seems very hit or miss as to whether it displays the test ad or throws up an error. I’m guessing it would be pretty easy to get it to display something else if it throws a wobbly. Just catch the error and display an internal ad or suchlike. [import]uid: 7841 topic_id: 34401 reply_id: 136786[/import]

@Appletreeman,
Where was that? what page?
thank you! [import]uid: 98258 topic_id: 34401 reply_id: 136812[/import]

Do a platform query and if iPhone OS then show the iAd and if Android show inneractive or load something like Revmob.

Works fine but as it sits now… iads has a bug that when you click the ad in portrait on ipad it rotates to landscape and when you close the ad it doesn’t rotate correctly back…

Matt [import]uid: 18783 topic_id: 34401 reply_id: 136819[/import]

you have a tutorial that explains it step by step? [import]uid: 98258 topic_id: 34401 reply_id: 136914[/import]