[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["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 |"]]