Stay organized with collections
Save and categorize content based on your preferences.
GoogleMobileAds.Ump.Api.ConsentRequestParameters
Parameters sent on updating user consent info.
Summary
Public attributes
ConsentDebugSettings
ConsentDebugSettings ConsentDebugSettings = new ConsentDebugSettings()
Debug settings for the request.
TagForUnderAgeOfConsent
bool TagForUnderAgeOfConsent
Determines whether the user is tagged for under the age of consent.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eConsentRequestParameters\u003c/code\u003e objects are used when updating user consent information in Google Mobile Ads.\u003c/p\u003e\n"],["\u003cp\u003eThese parameters include debug settings (\u003ccode\u003eConsentDebugSettings\u003c/code\u003e) and an option to tag users as under the age of consent (\u003ccode\u003eTagForUnderAgeOfConsent\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConsentDebugSettings\u003c/code\u003e allows for customized debugging during the consent update process.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTagForUnderAgeOfConsent\u003c/code\u003e, a boolean value, indicates whether the user should be treated as under the age of consent for data privacy purposes.\u003c/p\u003e\n"]]],["The `ConsentRequestParameters` class manages parameters for updating user consent information. It includes two key attributes: `ConsentDebugSettings`, which configures debugging for the consent request, and `TagForUnderAgeOfConsent`, a boolean to identify if a user is under the age of consent. These attributes control settings and user tagging related to consent requests within the Google Mobile Ads framework.\n"],null,["# GoogleMobileAds.Ump.Api.ConsentRequestParameters Class Reference\n\nGoogleMobileAds.Ump.Api.ConsentRequestParameters\n================================================\n\nParameters sent on updating user consent info.\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ConsentDebugSettings](#class_google_mobile_ads_1_1_ump_1_1_api_1_1_consent_request_parameters_1a99b7b58882a1cba2d731d18d5ab4aa4d)` = new ConsentDebugSettings()` | [ConsentDebugSettings](/admob/unity/reference/class/google-mobile-ads/ump/api/consent-debug-settings#class_google_mobile_ads_1_1_ump_1_1_api_1_1_consent_debug_settings) Debug settings for the request. |\n| [TagForUnderAgeOfConsent](#class_google_mobile_ads_1_1_ump_1_1_api_1_1_consent_request_parameters_1a033485994d05d5182e7a46faff9626ef) | `bool` Determines whether the user is tagged for under the age of consent. |\n\nPublic attributes\n-----------------\n\n### ConsentDebugSettings\n\n```c#\nConsentDebugSettings ConsentDebugSettings = new ConsentDebugSettings()\n``` \nDebug settings for the request. \n\n### TagForUnderAgeOfConsent\n\n```c#\nbool TagForUnderAgeOfConsent\n``` \nDetermines whether the user is tagged for under the age of consent."]]