enum ConsentType (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
SegmentPopulationService
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
UNSET
|
|
GRANTED
|
|
DENIED
|
|
UNKNOWN
|
|
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-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eConsentType\u003c/code\u003e enumeration, within the \u003ccode\u003eSegmentPopulationService\u003c/code\u003e, categorizes the consent status of users related to data usage.\u003c/p\u003e\n"],["\u003cp\u003eThis service utilizes the \u003ccode\u003eSegmentPopulationRequest\u003c/code\u003e for managing and querying user segments based on their consent.\u003c/p\u003e\n"],["\u003cp\u003ePossible consent types include \u003ccode\u003eUNSET\u003c/code\u003e, \u003ccode\u003eGRANTED\u003c/code\u003e, \u003ccode\u003eDENIED\u003c/code\u003e, and \u003ccode\u003eUNKNOWN\u003c/code\u003e, reflecting different levels of user consent or its absence.\u003c/p\u003e\n"],["\u003cp\u003eIt falls under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e within the Google Ad Manager API.\u003c/p\u003e\n"]]],["The `SegmentPopulationService` depends on `SegmentPopulationRequest`, which includes `ConsentType`. This `ConsentType` enumeration, within the namespace `https://www.google.com/apis/ads/publisher/v202408`, defines four possible values: `UNSET`, `GRANTED`, `DENIED`, and `UNKNOWN`. These values likely represent different states of user consent.\n"],null,["# enum ConsentType (v202408)\n\n**Service** \n**SegmentPopulationService** **Dependencies** \n[SegmentPopulationRequest](/ad-manager/api/reference/v202408/SegmentPopulationService.SegmentPopulationRequest) \n▼\n**ConsentType**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|-------------|-------------|\n| `UNSET` | |\n| `GRANTED` | |\n| `DENIED` | |\n| `UNKNOWN` | |"]]