MichaelStott / KivMob

AdMob support for Kivy
MIT License
143 stars 38 forks source link

Ads not showing (support) #54

Closed Artotim closed 5 years ago

Artotim commented 5 years ago

Hello Michael, I'm trying to display some ads on my app, so i started running your example code. The thing is, I've managed to sohw the Test ads using the test IDs, the problem is when I try to use my IDs generated by AdMob. It shows nothing. Here's what I'm trying to do:

from kivmob import KivMob

from kivy.app import App
from kivy.uix.button import Button

class InterstitialTest(App):
""" Display an interstitial ad on button release.
"""

def build(self):
    self.ads = KivMob('ca-app-pub-XXXXXXXXXXXXXXXXX)
    self.ads.new_interstitial('ca-app-pub-XXXXXXXXXXXXXXXXX')
    self.ads.request_interstitial()
    return Button(text='Show Interstitial',
                  on_release=lambda a:self.ads.show_interstitial())

def on_resume(self):
    self.ads.request_interstitial()

if __name__ == "__main__":
    InterstitialTest().run()

I already double checked the buildozer.spec to match what you've said in your tutorial. Is there anything wrong with my code? Or the problem is with AdMob itself?

MichaelStott commented 5 years ago

Updated to remove your AdMob IDs. I believe the problem is with AdMob. It can take some time (as long as 24 hours) before AdMob begins serving live ads to your application. I would wait and try again later.

MichaelStott commented 5 years ago

Closing for now. Let me know if the issue persists.

Artotim commented 5 years ago

It's been more than 48h now and still nothing. But I've seen many users with the same problem with AdMob, so I'll try to contact them for a solution. Thanks for answering this and many thanks for you creating this lib.

Develp10 commented 4 years ago

@Artotim hi , did you find the solution ? i faced the same problem

Artotim commented 4 years ago

@Develp10 Yes, apparently they only start giving you some ads after there is some requests. So if you're showing the test ads then everything is fine. Just release your app and when it reach a certain amout of users the ads will start to pop. Also you can see if is there any resquests, even tho no ads are showing, in your google ad account.

senkux commented 2 years ago

@Artotim @MichaelStott In my case even test ads are not working........ Please can you help me....... I am using the Interstitials code example shown in the official documentation of kivmob...... here - http://kivmob.com/tutorials.html.............. Please can you help me!!!