message  Send Feedback

AdsConsentFormOptions

The options used to show on the Google-rendered consent form. At least one of withAdFree, withPersonalizedAds and WithNonPersonalizedAds needs to be set to true.

Properties


Properties

privacyPolicy

privacyPolicy: string;

A fully formed HTTP or HTTPS privacy policy URL for your application.

Users will have the option to visit this web page before consenting to ads.


withAdFree

withAdFree?: undefined | false | true;

Set to true to provide the option for the user to choose an ad-free version of your app, defaults to false.

If the user chooses this option, you must handle it as required (e.g. navigating to a paid version of the app, or a subscribe view).


withNonPersonalizedAds

withNonPersonalizedAds?: undefined | false | true;

Set to true to provide the option for the user to accept being shown non-personalized ads, defaults to false.


withPersonalizedAds

withPersonalizedAds?: undefined | false | true;

Set to true to provide the option for the user to accept being shown personalized ads, defaults to false.


React Native Market

Looking for pre-built React Native apps to kick start your next project? Check out the React Native Market by Invertase.

Your purchases help support our open-source projects such as React Native Firebase. All items are currently 50% off to celebrate the release of React Native Firebase version 6.
shopping_cartVisit React Native Market