Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Admob Interstitial not showing on iPhone. They are being replaced by normal banners.
Started by scrapee.net Jul 29 2013 12:04 PM

* * * * * 3 votes
29 replies to this topic
admob interstitial
[TOPIC CONTROLS]
Page 1 of 2 1 2
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

scrapee.net

[GLOBAL: userInfoPane.html]
scrapee.net
  • Enthusiast

  • 88 posts
  • Corona SDK

Hello. Today, I noticed that Admob Interstitial does not show on iPhone. That is strange, because they does on iPad and android.

 

On the iPhone, when call a interstitial, I get a normal banner instead.



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,922 posts
  • Enterprise

Can you print out the event.response in your call back for getting an ad from them?



[TOPIC: post.html]
#3

scrapee.net

[GLOBAL: userInfoPane.html]
scrapee.net
  • Enthusiast

  • 88 posts
  • Corona SDK

Can you print out the event.response in your call back for getting an ad from them?

Hello. I got: ERROR: ads.show() [AdMob] Interstitial ads are only available on iPad.

 

That is strange, because, admob shows interstitial on android device with resolution of 800x480. Maybe it's a normal behavior, but doesnt make much sense.



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,922 posts
  • Enterprise

We are looking into this further. 



[TOPIC: post.html]
#5

scrapee.net

[GLOBAL: userInfoPane.html]
scrapee.net
  • Enthusiast

  • 88 posts
  • Corona SDK

We are looking into this further. 

 

Hello Rob. Any news about this bug? Admob interstitials are one of the most rentable options. I'm making a lot on my Android game.

 

Please, fix this. I think it should be easy to be fixed.



[TOPIC: post.html]
#6

scrapee.net

[GLOBAL: userInfoPane.html]
scrapee.net
  • Enthusiast

  • 88 posts
  • Corona SDK

Hello. Why you are not paying attention to this issue. Admob very rentable. We are loosing or making more money due to this bug. thanks.



[TOPIC: post.html]
#7

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

Hi @scrapee.net,

This slipped a bit (sorry) but it was just bumped up today and should be available in a daily build soon.

 

Thanks,

Brent



[TOPIC: post.html]
#8

gmer76

[GLOBAL: userInfoPane.html]
gmer76
  • Observer

  • 23 posts
  • Corona SDK

Hi Brent.

 

Is this fix already available in the latest daily build? Or you are still working on it?

 

Regards,

George



[TOPIC: post.html]
#9

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

Hi George,

This is still in the queue, delayed because the focus has been on the latest public release, Graphics 2.0, etc. We are aware of the need, however, and will get to it as soon as possible.

 

Thanks,

Brent



[TOPIC: post.html]
#10

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

Hi George (and all),

 

UPDATE on this: apparently the fix has just been made, so please test it out on your side. Just be warned that the fill rate will likely be unacceptably low (this is an AdMob issue, not a Corona issue). However, it's now offered if you choose to use these.

 

Best regards,

Brent



[TOPIC: post.html]
#11

gmer76

[GLOBAL: userInfoPane.html]
gmer76
  • Observer

  • 23 posts
  • Corona SDK

Hi Brent,

 

Interstitial ads from AdMob seems to be working in latest Corona SDK build. But I  faced with another problem:

I have two different ids from Admob, first is for normal banner ad, second for interstitial.

So I init both of them in one module:

 

adsBanner = require "ads"
adsInterstitial = require "ads"
 
local appID1 = "my_id1"
local appID2 = "my_id2"
local provider = "admob"
 
adsBanner.init( provider, appID1, adListener )
adsInterstitial.init( provider, appID2, adListener1 )

 

But AdMob console tells me that all requests (banner and interstitial) go from the first ID.

 

Could you help me to resolve it?



[TOPIC: post.html]
#12

gmer76

[GLOBAL: userInfoPane.html]
gmer76
  • Observer

  • 23 posts
  • Corona SDK

It seems that I found the solution: probably I should use package.loaded["ads"] = nil between two 'require' calls to load ads module twice.



[TOPIC: post.html]
#13

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

Hi @gmer76,

This seems like a logical method, but I haven't tested it yet to confirm. You may also want to separate these two requires by a bit of time in your actual app, just in case the garbage collector needs a few cycles to clean up after itself before the next require on the same module.

 

Best regards,

Brent



[TOPIC: post.html]
#14

ubj3d.android

[GLOBAL: userInfoPane.html]
ubj3d.android
  • Contributor

  • 741 posts
  • Corona SDK

Can someone confirm the above method with two requires and  package.loaded["ads"] = nil between them works ?

 

I tried but it seems always the first listener is called :(



[TOPIC: post.html]
#15

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,922 posts
  • Enterprise

Not to the the one to play difficult here, but I just used the AdMob sample app and put in this block of code:
local function changeAds()     ads.hide()     ads.show("interstitial", {x = 0, y = 0} )end

hmmmm cut off the rest of my answer. Then at the bottom where it called it's showAd function:

	showAd( "banner" )
        timer.performWithDelay(15000, changeAds, 1)

I got a banner, then 15 seconds later It hid and I got the interstitial. One AppID, one inclusion of the ads module. Am I missing something? I don't remember seeing anything in the AdMob portal where I selected what ad type to get. This looks like it works like it supposed to.

Rob

[TOPIC: post.html]
#16

ubj3d.android

[GLOBAL: userInfoPane.html]
ubj3d.android
  • Contributor

  • 741 posts
  • Corona SDK

Rob,

 

admob requires to have a separate AppID for banner and for interstitial.

So we have to be able to call the ads.init twice.



[TOPIC: post.html]
#17

gmer76

[GLOBAL: userInfoPane.html]
gmer76
  • Observer

  • 23 posts
  • Corona SDK

Can someone confirm the above method with two requires and  package.loaded["ads"] = nil between them works ?

 

I tried but it seems always the first listener is called :(

 

I use this workaround and It works for me. In AdMob console I have different requests for two AppIDs.



[TOPIC: post.html]
#18

ubj3d.android

[GLOBAL: userInfoPane.html]
ubj3d.android
  • Contributor

  • 741 posts
  • Corona SDK

I use this workaround and It works for me. In AdMob console I have different requests for two AppIDs.

 

Thank you for confirming.

 

Does the banner and interstitial call two separate listeners? (this seems not working for me)



[TOPIC: post.html]
#19

ubj3d.android

[GLOBAL: userInfoPane.html]
ubj3d.android
  • Contributor

  • 741 posts
  • Corona SDK

Is this the right way? Still can't get two listeners to work.

 

 

 

adsBanner = require "ads"
package.loaded["ads"] = nil
adsFull = require "ads"

adsBanner.init( "admob", "ca-app-pub-xxxx", adListenerNative )
adsFull.init( "admob", "ca-app-pub-yyyy", adListenerNativeFull )
 


[TOPIC: post.html]
#20

gmer76

[GLOBAL: userInfoPane.html]
gmer76
  • Observer

  • 23 posts
  • Corona SDK

Sorry, I didn't check listeners in my case. Just checked admob impressions.



[TOPIC: post.html]
#21

ubj3d.android

[GLOBAL: userInfoPane.html]
ubj3d.android
  • Contributor

  • 741 posts
  • Corona SDK

Sorry, I didn't check listeners in my case. Just checked admob impressions.

I would like to implement a fall-back strategy if there is no ads from admob.

 

But if same listener is always called, there is no way to determine if the banner or interstitial failed :(



[TOPIC: post.html]
#22

ubj3d.android

[GLOBAL: userInfoPane.html]
ubj3d.android
  • Contributor

  • 741 posts
  • Corona SDK

Sorry, I didn't check listeners in my case. Just checked admob impressions.

 

Another question:

 

Does the app has to be live to get data in the admob dashboard ?



[TOPIC: post.html]
#23

ubj3d.android

[GLOBAL: userInfoPane.html]
ubj3d.android
  • Contributor

  • 741 posts
  • Corona SDK

Another question:

 

Does the app has to be live to get data in the admob dashboard ?

 

To answer myself: No.

 

I got the request/impression data but only for banner. Obviously the interstitial is sent with the banner AppID :(

 

Why is this not working for me? Any idea, please...



[TOPIC: post.html]
#24

gmer76

[GLOBAL: userInfoPane.html]
gmer76
  • Observer

  • 23 posts
  • Corona SDK

Unfortunatelly the method I  mentioned above (using package.loaded["ads"] = nil) doesn't work.

 

After publishing the app I discovered that all requests go to the second AppId of AdMob.

So the question is still open.

 

Dear Corona guys, do you have plans to fix this issue? Thank you.



[TOPIC: post.html]
#25

ubj3d.android

[GLOBAL: userInfoPane.html]
ubj3d.android
  • Contributor

  • 741 posts
  • Corona SDK

Unfortunatelly the method I  mentioned above (using package.loaded["ads"] = nil) doesn't work.

 

After publishing the app I discovered that all requests go to the second AppId of AdMob.

So the question is still open.

 

Dear Corona guys, do you have plans to fix this issue? Thank you.

 

Thank you for this info. I was thinking I am doing something wrong.

 

Yes, this is a BIG issue, not being able to use banners and interstitials togehter for admob.

 

I am afraid we will not get a fix soon...




[topic_controls]
Page 1 of 2 1 2
 
[/topic_controls]