AdRequest
Targeting info per the AdMob API.
This class's properties mirror the native AdRequest API. See for example: AdRequest.Builder for Android.
Properties
-
content_url(Optional[str]) –URL string for a webpage whose content matches the app’s primary content.
-
extras(Optional[dict[str, str]]) –Extras to pass to the AdMob adapter.
-
http_timeout(Optional[int]) –A custom timeout (in milliseconds) for HTTPS calls during an ad request.
-
keywords(Optional[list[str]]) –Words or phrases describing the current user activity.
-
neighboring_content_urls(Optional[list[str]]) –URLs representing web content near an ad.
-
non_personalized_ads(Optional[bool]) –Non-personalized ads are ads that are not based on a user’s past behavior.
Properties#
content_url
class-attribute
instance-attribute
#
URL string for a webpage whose content matches the app’s primary content.
This webpage content is used for targeting and brand safety purposes.
extras
class-attribute
instance-attribute
#
Extras to pass to the AdMob adapter.
http_timeout
class-attribute
instance-attribute
#
A custom timeout (in milliseconds) for HTTPS calls during an ad request.
Note
This is only supported in Android. (ignored on iOS)
keywords
class-attribute
instance-attribute
#
Words or phrases describing the current user activity.
neighboring_content_urls
class-attribute
instance-attribute
#
URLs representing web content near an ad.
non_personalized_ads
class-attribute
instance-attribute
#
Non-personalized ads are ads that are not based on a user’s past behavior.
For more information: https://support.google.com/admob/answer/7676680?hl=en