Skip to content

How to make sure ad requests are not made when the screen is off? [Banner] #141

@mecrayavcin

Description

@mecrayavcin

ADMOB document:
https://support.google.com/admob/answer/2936217?hl=en&sjid=9995763664355807083-EU

Refreshing ads
We recommend that you have ads persist for 60 seconds or longer, depending on the functionality of your app. Our internal tests have shown that this ensures users have enough time to engage with ads, providing the best performance for both advertisers and publishers. Furthermore, these tests have shown that refreshing ads more often can hurt fill rate for our publishers.

If your app is automatically refreshing ads, make sure ad requests are not made when the screen is off. Also, if users navigate to and from pages with ads in an app over a short period of time, a new ad request should not be made sooner than the recommended 60 second rate.

I use this codes:

from kivmob import KivMob, TestIds

from kivy.app import App
from kivy.uix.label import Label

class BannerTest(App):
    """ Displays a banner ad at top of the screen.
    """

    def build(self):
        self.ads = KivMob(TestIds.APP)
        self.ads.new_banner(TestIds.BANNER, top_pos=True)
        self.ads.request_banner()
        self.ads.show_banner()
        return Label(text='Banner Ad Demo')

if __name__ == "__main__":

So i see ads in top of each screen!

Questions:

  1. Does Kivmob cut ad requests when when the screen is off?
  2. How can i check ad request with adb logcat -s python ? What is the right (exact) code for this
  3. If we are not sure, should i use "Admob's Automatic refresh for 60 seconds"

Thanks very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions