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)
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 )
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
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…
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…
@ubj3d.android : Could you tell me where you read that AdMob requires 2 separate appID’s? I could not find mention of it. And it seems to work with using only one, no?.
This is true dimd.
Admob changed. If you migrated to the new admob, this is necessary.
Thanks for the info. So i guess i won’t migrate to the new admob, as it seems to be working properly for me with only 1 ID for both. But that is only temporary, i assume in the long run everyone will have to migrate to the new admob, so a fix is necessary.
I really recommend you to don’t migrate.
In the new admob, they also dont pay with paypal. Only wire transfer.
–
Guys… I find out, that the ads library doesn’t need to be loaded twice, to display an Interstitial and one normal banner.
I think this may be some new update.
Just do like this:
local ads = require “ads”
ads.init( “admob”,“ca-app-pub-INTERSTITIAL AD”)
ads.show( “interstitial”, { x=0, y=0 } )
ads.show( “banner”, { x=0, y=0,appId = “ca-app-pub-BANNER AD” })
Documentation about this, here: http://docs.coronalabs.com/legacy/plugin/ads-admob/show.html
@ubj3d.android : Could you tell me where you read that AdMob requires 2 separate appID’s? I could not find mention of it. And it seems to work with using only one, no?.
This is true dimd.
Admob changed. If you migrated to the new admob, this is necessary.
Thanks for the info. So i guess i won’t migrate to the new admob, as it seems to be working properly for me with only 1 ID for both. But that is only temporary, i assume in the long run everyone will have to migrate to the new admob, so a fix is necessary.
I really recommend you to don’t migrate.
In the new admob, they also dont pay with paypal. Only wire transfer.
–
Guys… I find out, that the ads library doesn’t need to be loaded twice, to display an Interstitial and one normal banner.
I think this may be some new update.
Just do like this:
local ads = require “ads”
ads.init( “admob”,“ca-app-pub-INTERSTITIAL AD”)
ads.show( “interstitial”, { x=0, y=0 } )
ads.show( “banner”, { x=0, y=0,appId = “ca-app-pub-BANNER AD” })
Documentation about this, here: http://docs.coronalabs.com/legacy/plugin/ads-admob/show.html
Ok, so i just realized that indeed something is wrong with using only one ID for both Banners and Interstitials. I have many interstitials requests but zero impression. So i guess i am on the new admob =( (or the old adMob had the same problem).
The strange thing is that interstitials actually work and show in the app, with adMob set to test or not, but it seems like it doesn’t record impressions.
Can someone confirm that it is possible and working fine to use 2 ID’s (one for banner and one for interstitial) ?
You can make sure in the “Reporting” tab of admob, there it shows both types of requests. (which seems odd, why does it show “Requests” and “Interstitials Requests” if it allows for only one at a time… Or maybe the issue is only with Corona…)
Thanks in advance,
Dim
Ok, so i just realized that indeed something is wrong with using only one ID for both Banners and Interstitials. I have many interstitials requests but zero impression. So i guess i am on the new admob =( (or the old adMob had the same problem).
The strange thing is that interstitials actually work and show in the app, with adMob set to test or not, but it seems like it doesn’t record impressions.
Can someone confirm that it is possible and working fine to use 2 ID’s (one for banner and one for interstitial) ?
You can make sure in the “Reporting” tab of admob, there it shows both types of requests. (which seems odd, why does it show “Requests” and “Interstitials Requests” if it allows for only one at a time… Or maybe the issue is only with Corona…)
Thanks in advance,
Dim