HaxeExtension / extension-admob

OpenFL extension for "Google AdMob" on iOS and Android.
Other
59 stars 24 forks source link

Listening for ad events, changing the unit ID #8

Closed anpShawn closed 8 years ago

anpShawn commented 9 years ago

Hi fbricker, thanks again for this extension. I had a few basic questions for you:

For example, right now I can basically only call AdMob.showInterstitial(0); and wait to see what happens. if the ad isn't loaded, nothing happens at all. Should I create my own 'Ad is loading' window, and time it out after X seconds? That way the user understands that the app at least tried to load an ad.

Thanks!

fbricker commented 9 years ago

Hi, about the loading events, I'll try to add them soon. Anyway, I've fixed one issue and now the interstitials loads when you call init the first time (this won't fix your case 100% but will help I guess).

About changing the AdUnit during runtime, I'm not sure if google will allow that. I've asked some people from AdMob support team and they've told me that AdMob allows just one Account per App (so you can have multiple ad units, but all of them needs to come from the same account).

I'm not sure if this is correct (since it's probably that the person who answered didn't understand the idea, or that he even didn't ask to the right person inside AdMob), but this is the information I had from Google about this (and that's why I didn't bother in allowing the extension to switch ad-units).

If you do have some information or anything from google saying that this is allowed, I'll modify the extension for sure :)

Thanks!

anpShawn commented 9 years ago

I spoke with my publisher today and they claimed they have already published several apps that make use of changing the AdUnits at runtime. Whether or not they are supposed to do it is another issue.

Worst case scenario they demand I implement this, can I just keep making new calls to init?

fbricker commented 8 years ago

Hi, sorry for the late response here. Are you still needing this? We can add this to the next release if it's useful :)

fbricker commented 8 years ago

I've closed the issue since I guess you no longer need this feature. If you need it, please re-open it.

anpShawn commented 8 years ago

Oh, sure thing. Sorry for not responding. Thanks!

On Sun, Apr 10, 2016 at 12:30 PM, Federico Bricker <notifications@github.com

wrote:

I've closed the issue since I guess you no longer need this feature. If you need it, please re-open it.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/openfl/extension-admob/issues/8#issuecomment-208011505