react-native-google-mobile-ads
    Preparing search index...

    Interface RequestConfiguration

    The RequestConfiguration used when setting global ad settings via setRequestConfiguration.

    interface RequestConfiguration {
        ageRestrictedTreatment?: AgeRestrictedTreatment;
        maxAdContentRating?: MaxAdContentRating;
        publisherPrivacyPersonalizationState?: "enabled" | "disabled" | "unset";
        tagForChildDirectedTreatment?: boolean;
        tagForUnderAgeOfConsent?: boolean;
        testDeviceIdentifiers?: string[];
    }
    Index
    ageRestrictedTreatment?: AgeRestrictedTreatment

    The age treatment to apply to ad requests. Consult your own legal counsel to determine the age treatment settings for your users based on your legal and regulatory requirements. For more information on this setting, review https://developers.google.com/admob/ios/targeting#set_the_age_treatment

    By setting this property, you certify that this notification is accurate and you are authorized to act on behalf of the owner of the app. You understand that abuse of this setting may result in termination of your Google account.

    maxAdContentRating?: MaxAdContentRating

    The maximum ad content rating for all ads. Google Mobile Ads returns ads at or below the specified level.

    Ratings are based on the digital content label classifications.

    publisherPrivacyPersonalizationState?: "enabled" | "disabled" | "unset"

    Publisher privacy personalization state for ad requests.

    tagForChildDirectedTreatment?: boolean

    Use ageRestrictedTreatment instead. If true, indicates that you want your content treated as child-directed for purposes of COPPA.

    For purposes of the Children's Online Privacy Protection Act (COPPA), there is a setting called "tag for child-directed treatment". By setting this tag, you certify that this notification is accurate and you are authorized to act on behalf of the owner of the app. You understand that abuse of this setting may result in termination of your Google account.

    tagForUnderAgeOfConsent?: boolean

    Use ageRestrictedTreatment instead. If true, indicates that you want the ad request to be handled in a manner suitable for users under the age of consent.

    You can mark your ad requests to receive treatment for users in the European Economic Area (EEA) under the age of consent. This feature is designed to help facilitate compliance with the General Data Protection Regulation (GDPR).

    See the Google Mobile SDK docs for more information.

    testDeviceIdentifiers?: string[]

    An array of test device IDs to add to the allowlist.

    Emulators and simulators are automatically treated as test devices on iOS and Android (classic and Next-Gen). You usually do not need to list them.

    The string EMULATOR (or TestDeviceIds.EMULATOR) is a classic-Android-only convenience that maps to AdRequest.DEVICE_ID_EMULATOR. On Android Next-Gen it is stripped before reaching the SDK; on iOS it has no special meaning.

    Physical devices must use the hashed id the Google Mobile Ads SDK logs when an ad is requested — look for a logcat / Xcode line like Use RequestConfiguration.Builder.setTestDeviceIds(Arrays.asList("<hash>")) and pass that hash here.