Admob black banner

Monkey Targets Forums/Android/Admob black banner

cgrossi(Posted 2016) [#1]
Hi, you all.

Does anyone can help me? I'm using an admob on my game but it just shows a black banner. I've created the ad unit on admob and, with the ad unit id, I've compiled the game, but it keep showing a black f#$% banner!!

The game is, on google play, under a developer account email and the admob is under a different email... Don't know if it has something to do with it..

I'm using Monkey-X V85.

EDIT: Now I compile on Monkey-X V87a and the black banner remains...


Soap(Posted 2016) [#2]
Make sure your publisher id / ad id is set up correctly?


cgrossi(Posted 2016) [#3]
Yes, Soap. It's is set up correctly. The ad was showed once only.

The e-mail I use to publish the game on google play account is disabled in admob, so I'm using another e-mail to create the ad on admob. Does it has anything to do?


cgrossi(Posted 2016) [#4]
Oh, if you could, please, install POPIXEL DEMO on an android device and tell me if the ad appears..


Xaron(Posted 2016) [#5]
I'll try it at home!

I've updated my apps with the latest Monkey version and my ads are displayed even though it takes a while for the first time.


York(Posted 2016) [#6]
Hey,

I played your game and only saw a black banner.

1) Did you receive test ads?
2) Did you receive a warning/message in the output console from admob?
3) Try to use Smartbanner instead of the old banner.

Maybe it has anything to do with an old Admob Version? I am using the GooglePlay Service with Admob ( Monkey 83c ) and have no trouble?


cgrossi(Posted 2016) [#7]
Thank you, Xaron. Let me know the results..

Hi, York.
1) No, I didn't
2) No warnings or messages at all..
3) I will try that. Thanks

My biggest concern is to know that I can't use different email accounts (one for admob and another for publishing on google play) or it has nothing to do with it..


cgrossi(Posted 2016) [#8]
York, no smartbanner either...


Soap(Posted 2016) [#9]
Post all of your admob related code so we can see for any possible problems.


Xaron(Posted 2016) [#10]
Just for info, I have a black banner, so no banner at all.

Here's the working code I use:

in config.monkey:
#ADMOB_PUBLISHER_ID="ca-app-pub-0000000000000000/0000000000"


It is IMPORTANT, that there is no space after or before that number, so "ca-app-pub-0000000000000000/0000000000 " would probably not work but can happen quite easily if you copy and paste the publisher id. It MUST be the new one with ca-app-pub in the beginning not the deprecated one!



That's it. Works with the latest Monkey version. Plus you need the internet access stuff but as I've seen it you already have it.


Soap(Posted 2016) [#11]
Here is another important point: make sure your ad unit ID is a banner and not interstitial.

If in doubt create a new ID.

When it works you'll see this




cgrossi(Posted 2016) [#12]
Hello, guys. Thanks for the incredible help you are giving me.

The thing is: my code is like yours, Xaron. But I tried yours and it worked with my ad unit id. I noted that the config.monkey should be updated with ad unit it. But when I compile and run my app it doesn't work. My app (POPixel) is on Google Play with the same account that was disabled on Admob.com. Does it has any relation?


Xaron(Posted 2016) [#13]
Ah so you have a disabled admob account? If so there is no way to create a working second one. Once you're out if Google Admob you are out forever. Sorry to say that but I don't know a single developer who was able to rejoin the program. Sure you can create a second Admob account but Google will always track you down.


cgrossi(Posted 2016) [#14]
Well, I have a second admob account and created an ad unit id linked with my app (popixel demo) wich is under google play by my disabled account. And with this ad unit id your code worked fine...


cgrossi(Posted 2016) [#15]
The point is: if the ad unit id worked with other app, why it's not working with my app, since the ad unit id is linked to my app anyway?


Xaron(Posted 2016) [#16]
The thing is you are not allowed to have a second Admob account. As soon as Google finds out it will be gone anyway. So whatever you do to make it work, it will be temporarily.

In case your first admob account is disabled because Google did due to fraud (however they define that) you will have to look for other solutions.


cgrossi(Posted 2016) [#17]
Even if the other account isn't in my name?


cgrossi(Posted 2016) [#18]
And can I lose my Google Play account, in case I can put the ads working again?


cgrossi(Posted 2016) [#19]
Xaron, it makes no sense, since it works with your code and doesn't work with mine....I can't understand that... :(


Soap(Posted 2016) [#20]
Can you confirm you have a banner ad created in your admob account?


cgrossi(Posted 2016) [#21]
Yes, I have.

Never mind. I give up. It's better this way, before anything goes wrong with my Google Play account.

I very thankful for all the messages and help! :)


Xaron(Posted 2016) [#22]
Well you won't lose your Google Play account. It just can happen that they shut down your second admob account. That my code works and yours not doesn't make sense. There must be a difference, could you show your code please?


cgrossi(Posted 2016) [#23]
Hi, @Xaron.

I think I (we) solved the problem. Now the ads are appearing on my app too. I believe that the problem was with my package's name. Don't know why, but I changed it and it worked. I can even sign the app. Do you have any idea why this problem with the package's name?


Xaron(Posted 2016) [#24]
Interesting. Never heard of that. I can't imagine that there is a relation but obviously there is...


cgrossi(Posted 2016) [#25]
anyway, thank you - and all - for the help. any new informations I'll post here...