A client user is created under a client buyer and has restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the associated client buyer.
Numerical account ID of the client buyer with which the user is associated; the buyer must be a client of the current sponsor buyer. The value of this field is ignored in an update operation.
[[["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 2024-09-18 UTC."],[[["\u003cp\u003eClientUsers are created under client buyers with restricted access based on their role and are created through email invitations.\u003c/p\u003e\n"],["\u003cp\u003eA ClientUser's status can be pending, active, or disabled, reflecting their current state within the system.\u003c/p\u003e\n"],["\u003cp\u003eClientUsers have unique numerical IDs and are associated with a specific client buyer account.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve, list, and update existing ClientUsers via available API methods.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts.clients.users\n\n- [Resource: ClientUser](#ClientUser)\n - [JSON representation](#ClientUser.SCHEMA_REPRESENTATION)\n- [UserStatus](#UserStatus)\n- [Methods](#METHODS_SUMMARY)\n\nResource: ClientUser\n--------------------\n\nA client user is created under a client buyer and has restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the associated client buyer.\n\nThe only way a new client user can be created is through accepting an [email invitation](/authorized-buyers/apis/reference/rest/v2beta1/accounts.clients.invitations#ClientUserInvitation) (see the [accounts.clients.invitations.create](/authorized-buyers/apis/reference/rest/v2beta1/accounts.clients.invitations/create#google.ads.adexchange.buyer.v2beta1.ClientUserInvitationService.CreateClientUserInvitation) method).\n\nAll fields are required unless otherwise specified.\n\n| JSON representation ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"userId\": string, \"clientAccountId\": string, \"status\": enum (/authorized-buyers/apis/reference/rest/v2beta1/accounts.clients.users#UserStatus), \"email\": string } ``` |\n\n| Fields ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `userId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The unique numerical ID of the client user that has accepted an invitation. The value of this field is ignored in an update operation. |\n| `clientAccountId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Numerical account ID of the client buyer with which the user is associated; the buyer must be a client of the current sponsor buyer. The value of this field is ignored in an update operation. |\n| `status` | `enum (`[UserStatus](/authorized-buyers/apis/reference/rest/v2beta1/accounts.clients.users#UserStatus)`)` The status of the client user. |\n| `email` | `string` User's email address. The value of this field is ignored in an update operation. |\n\nUserStatus\n----------\n\nValid user status.\n\n| Enums ||\n|---------------------------|------------------------------------------------------------------------|\n| `USER_STATUS_UNSPECIFIED` | A placeholder for an undefined user status. |\n| `PENDING` | A user who was already created but hasn't accepted the invitation yet. |\n| `ACTIVE` | A user that is currently active. |\n| `DISABLED` | A user that is currently disabled. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|\n| ### [get](/authorized-buyers/apis/reference/rest/v2beta1/accounts.clients.users/get) | Retrieves an existing client user. |\n| ### [list](/authorized-buyers/apis/reference/rest/v2beta1/accounts.clients.users/list) | Lists all the known client users for a specified sponsor buyer account ID. |\n| ### [update](/authorized-buyers/apis/reference/rest/v2beta1/accounts.clients.users/update) | Updates an existing client user. |"]]