Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WARNING] [KivMob ] Ads will not be shown. #136

Open
Mglt-b opened this issue Jun 25, 2023 · 0 comments
Open

[WARNING] [KivMob ] Ads will not be shown. #136

Mglt-b opened this issue Jun 25, 2023 · 0 comments

Comments

@Mglt-b
Copy link

Mglt-b commented Jun 25, 2023

Hello

Search help with KivMob, i'm new on this tool

Have this warning when run my python script :
(and no ad show up (android or windows python test)

[WARNING] [KivMob ] Ads will not be shown.

python code :


#import kivmob for ads
from kivmob import KivMob, TestIds

...

class GooFiberApp(App):

    def build(self):
        sm = ScreenManager()


        if valid_app == 1:

            sm.add_widget(MenuScreen(name='menu'))
            sm.add_widget(SettingsScreen(name='settings'))
            sm.add_widget(ColorScreen(name='colorfi'))
            sm.add_widget(ArcepEli(name='arcep_eli'))
            sm.add_widget(BilanOptique(name='bilan_optique'))
            sm.add_widget(Seuils(name='seuils'))
            sm.add_widget(LexiqueScreen(name='lexique_fibre'))


        if valid_app == 0:

            sm.add_widget(Error_vers(name='error_vers'))



        #ads
        self.ads = KivMob(TestIds.APP)
        self.ads.new_interstitial(TestIds.INTERSTITIAL)
        self.ads.request_interstitial()
        self.ads.show_interstitial()
        #####""


        return sm

buildozer.spec :


# (list) Permissions
# (See https://python-for-android.readthedocs.io/en/latest/buildoptions/#build-options-1 for all the supported syntaxes and properties)
android.permissions = android.permission.INTERNET, (name=android.permission.WRITE_EXTERNAL_STORAGE;maxSdkVersion=18), ACCESS_NETWORK_STATE

....

# (int) Target Android API, should be as high as possible.
android.api = 33

# (int) Minimum API your APK / AAB will support.
android.minapi = 21

# (int) Android SDK version to use
android.sdk = 33

# (str) Android NDK version to use
android.ndk = 25b

....

# (list) Gradle dependencies to add
android.gradle_dependencies = com.google.firebase:firebase-ads:21.4.0

....

# (list) Android application meta-data to set (key=value format)
# For test ads, use application ID ca-app-pub-3940256099942544~3347511713
android.meta_data = com.google.android.gms.ads.APPLICATION_ID=ca-app-pub-3940256099942544~3347511713

thanks for help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant