Comments (11)
I need to finish and post the sphinx documentation for this. Hopefully will have some free time in the near future to wrap that up. (#21)
As far as your code goes, you should request the banner ad before calling show (request_banner before show_banner).
from kivmob.
do I have to put he publisher ID anywhere?
from kivmob.
No, just the app and banner ids. You'll also have to include the app id in the buildozer.spec file:
android.meta_data = com.google.android.gms.ads.APPLICATION_ID=ca-app-pub-####
from kivmob.
the ad is still not showing, here's the logcat, admob says I'm ready to serve ads, so idk what's going on.
6 01:28:57.951 18199 18253 I python : [INFO ] [Factory ] 184 symbols loaded
07-06 01:28:58.561 18199 18253 I python : [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
07-06 01:28:58.630 18199 18253 I python : [INFO ] [Text ] Provider: sdl2
07-06 01:29:00.309 18199 18253 I python : [INFO ] [KivMob ] init called.
07-06 01:29:00.310 18199 18253 I python : [INFO ] [KivMob ] Android platform detected.
07-06 01:29:00.355 18199 18253 I python : [INFO ] [KivMob ] new_banner() called.
07-06 01:29:00.364 18199 18253 I python : [INFO ] [KivMob ] request_banner() called.
07-06 01:29:00.368 18199 18253 I python : [INFO ] [KivMob ] show_banner() called.
07-06 01:29:00.486 18199 18253 I python : [INFO ] [Window ] Provider: sdl2
07-06 01:29:00.537 18199 18253 I python : [INFO ] [GL ] Using the "OpenGL ES 2" graphics system
07-06 01:29:00.540 18199 18253 I python : [INFO ] [GL ] Backend used
07-06 01:29:00.541 18199 18253 I python : [INFO ] [GL ] OpenGL version <b'OpenGL ES 3.2 v1.r20p0-01rel0.9a7fca3f7dd712a473937294a8ae24b1'>
07-06 01:29:00.542 18199 18253 I python : [INFO ] [GL ] OpenGL vendor <b'ARM'>
07-06 01:29:00.543 18199 18253 I python : [INFO ] [GL ] OpenGL renderer <b'Mali-T830'>
07-06 01:29:00.544 18199 18253 I python : [INFO ] [GL ] OpenGL parsed version: 3,
from kivmob.
from kivmob.
I notice that it says something about firebase and having to add a test device, and that the ad failed to load. What should I do about that exactly?
also should i make a new thread for this?
from kivmob.
This thread is fine. Your ad failed to load with error code 3, this means that the ad request was correct, but the there was a lack of ad inventory. I find this sometimes occurs after creating new app and ad ids. Wait about a couple hours to a day and then try again.
from kivmob.
Ah ok. Yep I tested with the test banner and that worked. Thank you!
How can I move the ad to the bottom of the screen?
from kivmob.
Just create the banner ad like this:
ads.new_banner("BANNER-AD-ID", False)
from kivmob.
First draft of tutorials now included in the docs: http://kivmob.com
from kivmob.
Hi Michael First of all, thank you.
I have prepared and published an application called Password Builder.
He's testing it right now. Even though I put my own number in the code.
Should I wait for a while or is there something wrong?
self.ads = KivMob(TestIds.APP)
self.ads.new_banner(TestIds.BANNER, top_pos= False)
self.ads.request_banner()
self.ads.show_banner()
Do I need a change in code?
As your tutorials like
I Have added my application id to the spec file .
https://play.google.com/store/apps/details?id=com.passwordbuilder.passwordbuilder
from kivmob.
Related Issues (20)
- Test banner ads not showing HOT 6
- Test ads not showing HOT 2
- app rejected by the google play store HOT 6
- Cannot call instance method 'addContentView' on class 'org/kivy/android/PythonActivity' HOT 9
- android.gradle_dependencies issue HOT 2
- KivMob android.ndk version HOT 10
- Importing KivMob twice HOT 11
- android.gradle_dependencies and API 33 HOT 3
- gradlew failed issue
- Interstitial ad and Banner ad don't show up HOT 10
- Multiple Logcat Errors (Kimob=Master, Api 33, Ver=com.google.firebase:firebase-ads:21.4.0) HOT 6
- I can't add KivMob HOT 2
- Interstitial Ads Not Working HOT 5
- .
- Google Play Console Ad_Id HOT 4
- [Feature Request]
- 'AndroidBridge' object has no attribute '_interstitial' HOT 14
- 'AndroidBridge' object has no attribute '_interstitial' HOT 3
- [WARNING] [KivMob ] Ads will not be shown.
- AttributeError: 'AndroidBridge' object has no attribute '_test_devices' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kivmob.