Coder Social home page Coder Social logo

KivMob Tutorial Requests about kivmob HOT 11 CLOSED

michaelstott avatar michaelstott commented on July 20, 2024
KivMob Tutorial Requests

from kivmob.

Comments (11)

MichaelStott avatar MichaelStott commented on July 20, 2024

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.

pretentious7 avatar pretentious7 commented on July 20, 2024

do I have to put he publisher ID anywhere?

from kivmob.

MichaelStott avatar MichaelStott commented on July 20, 2024

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.

pretentious7 avatar pretentious7 commented on July 20, 2024

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.

pretentious7 avatar pretentious7 commented on July 20, 2024

adb_logcat_diceroller.txt

from kivmob.

pretentious7 avatar pretentious7 commented on July 20, 2024

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.

MichaelStott avatar MichaelStott commented on July 20, 2024

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.

pretentious7 avatar pretentious7 commented on July 20, 2024

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.

MichaelStott avatar MichaelStott commented on July 20, 2024

Just create the banner ad like this:

ads.new_banner("BANNER-AD-ID", False)

from kivmob.

MichaelStott avatar MichaelStott commented on July 20, 2024

First draft of tutorials now included in the docs: http://kivmob.com

from kivmob.

Ayhancelik avatar Ayhancelik commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.