ADMOB, integrate both banner and interstitual issue

Hi all,

We just updated the AdMob plugin. The ads.show() function now accepts a new value for the “params” table: “appId”. You can read more about it in the documentation:

http://docs.coronalabs.com/daily/plugin/ads-admob/show.html

This should be effective immediately (no need to wait for a daily build rollout). Please test it out and report if you have any unexpected issues with it.

Thanks,

Brent

Seems a while ago since I started this thread but as usual you guys deliver the goods.

Great job works a treat !

its still has some problems, or i just cant implement it. so, the banner is shown, then i hide it and show the interstitial (and it works) but when im trying to show the banner again it doesnt work. however, if i try to show another interstitial later, it works. so the question is why the banner shows only the first time?

if this is just me, can somebody help me implementing it on multi-file project? (i have main.lua, menu.lua (where i call the interstitial) and play.lua(where i show the banner))

thanks

Thank you for this improvement but this still does not solve the problem of recognizing in the listener what triggered the event (the banner or the interstitial).

This is essential for implementing a fall-back strategy.

Could you further enhance it so we get a new property in the event table, identifying the source (banner or interstitial) ?

@ubj3d.android are you trying to show both at the same time?  if you know you’re requesting one or the other set a flag:

lastAdType = “banner”

Then in your listener look to see what your last request was for.  That should work.

Rob, I am showing both.

Why to close the banner every time showing the interstitial?

Because the interstitial is supposed to be the only thing on the screen.  It’s for “in-between” things.  I would hide the banner, show the interstitial, then show the banner again when ready. 

If you show the interstitial (without hiding the banner), the banner is not visible, that is OK.

That way you don’t have to “worry” about showing and hiding the banner.

In your approach, how would I know the interstitial is closed (I think there is no event for that) to show the banner?

ok, it isn’t really cool to reply to myself, but i fixed this. my bad, i forgot the “appId=” part inside the ads.show(“banner”), that’s why it didn’t showed up. so, i can confirm that everything works fine. but still i have another small request: can you make a way to preload admob ads? because the interstitial takes some time to show up.

anyway, thank you for this fix

Hi Rob,

There is also one big problem, that I’m surprised that so far nobody encountered it.

In Landscape mode right half of the banner ad is not clickable, so in case of Admob you can’t open ad because Download button is on right side.

I opened ticket for this issue 20 days ago (Case 26618), but nobody answered it. I can not upload my game because of this issue. Can you please take a look at it? 

Example code is attached to case.

Thank you

Anyone managed to get banner and interstitials work together?

Hello, 

Is there a solution for this problem already?

No.

Hi guys,

We are discussing this at the moment (this week). I just don’t know what the resolution is going to be yet. Your patience is definitely appreciated.

Thanks,

Brent

Great news, thank you.

Hi, can you just make a duplicate plugin with name admob1 as a workaround while you think of permanent solution?

We could use 2 plugins and just switch ad provider when needed?

Please consider returning a value in the error which would be used to determine if the error is from banner or interstitial.

Now there is no way to have that info.

Hi all,

We just updated the AdMob plugin. The ads.show() function now accepts a new value for the “params” table: “appId”. You can read more about it in the documentation:

http://docs.coronalabs.com/daily/plugin/ads-admob/show.html

This should be effective immediately (no need to wait for a daily build rollout). Please test it out and report if you have any unexpected issues with it.

Thanks,

Brent

Seems a while ago since I started this thread but as usual you guys deliver the goods.

Great job works a treat !

its still has some problems, or i just cant implement it. so, the banner is shown, then i hide it and show the interstitial (and it works) but when im trying to show the banner again it doesnt work. however, if i try to show another interstitial later, it works. so the question is why the banner shows only the first time?

if this is just me, can somebody help me implementing it on multi-file project? (i have main.lua, menu.lua (where i call the interstitial) and play.lua(where i show the banner))

thanks