type SegmentPopulationRequest (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
SegmentPopulationService
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
batchUploadId
|
xsd:long
|
segmentId
|
xsd:long
|
isDeletion
|
xsd:boolean
|
identifierType
|
IdentifierType
Enumerations
-
PUBLISHER_PROVIDED_IDENTIFIER
-
UNKNOWN
|
ids
|
xsd:string[]
|
consentType
|
ConsentType
Enumerations
-
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\u003eSegmentPopulationRequest\u003c/code\u003e object is used to manage segment memberships within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt allows for batch updates, specifying segment IDs, deletion flags, identifier types, user IDs, and consent information.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIdentifierType\u003c/code\u003e can be \u003ccode\u003ePUBLISHER_PROVIDED_IDENTIFIER\u003c/code\u003e or \u003ccode\u003eUNKNOWN\u003c/code\u003e, while \u003ccode\u003eConsentType\u003c/code\u003e includes options like \u003ccode\u003eGRANTED\u003c/code\u003e, \u003ccode\u003eDENIED\u003c/code\u003e, and \u003ccode\u003eUNSET\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request utilizes a namespace specific to the Google Ad Manager API version 202408.\u003c/p\u003e\n"],["\u003cp\u003eFields like \u003ccode\u003ebatchUploadId\u003c/code\u003e, \u003ccode\u003esegmentId\u003c/code\u003e, \u003ccode\u003eisDeletion\u003c/code\u003e, \u003ccode\u003eidentifierType\u003c/code\u003e, \u003ccode\u003eids\u003c/code\u003e, and \u003ccode\u003econsentType\u003c/code\u003e are key components of the request structure.\u003c/p\u003e\n"]]],["The `SegmentPopulationService` utilizes the `updateSegmentMemberships` function, which requires a `SegmentPopulationRequest`. This request includes `batchUploadId` and `segmentId` (both long integers), `isDeletion` (boolean), `identifierType` (either `PUBLISHER_PROVIDED_IDENTIFIER` or `UNKNOWN`), an array of `ids` (strings), and `consentType`. `consentType` can be `UNSET`, `GRANTED`, `DENIED`, or `UNKNOWN`. These fields dictate how segment memberships are modified, including defining consent, managing identifiers, and setting upload parameters.\n"],null,["# type SegmentPopulationRequest (v202408)\n\n**Service** \n**SegmentPopulationService** **Dependencies** \n[updateSegmentMemberships()](/ad-manager/api/reference/v202408/SegmentPopulationService#updateSegmentMemberships) \n▼\n**SegmentPopulationRequest**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `batchUploadId` | ` `xsd:`long` \u003cbr /\u003e |\n| ### `segmentId` | ` `xsd:`long` \u003cbr /\u003e |\n| ### `isDeletion` | ` `xsd:`boolean` \u003cbr /\u003e |\n| ### `identifierType` | ` `[IdentifierType](/ad-manager/api/reference/v202408/SegmentPopulationService.IdentifierType)` ` *** ** * ** *** **Enumerations** `PUBLISHER_PROVIDED_IDENTIFIER` : `UNKNOWN` : \u003cbr /\u003e |\n| ### `ids` | ` `xsd:`string[]` \u003cbr /\u003e |\n| ### `consentType` | ` `[ConsentType](/ad-manager/api/reference/v202408/SegmentPopulationService.ConsentType)` ` *** ** * ** *** **Enumerations** `UNSET` : `GRANTED` : `DENIED` : `UNKNOWN` : \u003cbr /\u003e |"]]