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 to update user consent information within the Google Mobile Ads Unity Plugin.\u003c/p\u003e\n"],["\u003cp\u003eThese parameters include debug settings (\u003ccode\u003eConsentDebugSettings\u003c/code\u003e) and an indicator for users under the age of consent (\u003ccode\u003eTagForUnderAgeOfConsent\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConsentDebugSettings\u003c/code\u003e enables you to control debugging behavior during the consent update request, while \u003ccode\u003eTagForUnderAgeOfConsent\u003c/code\u003e helps in managing user consent based on age.\u003c/p\u003e\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](/ad-manager/mobile-ads-sdk/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."]]