type UserRecord (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
The UserRecord
represents the base class from which a User
is derived.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
id
|
xsd:long
The unique ID of the User . This attribute is readonly and is assigned by Google.
|
name
|
xsd:string
The name of the User . It has a maximum length of 128 characters.
|
email
|
xsd:string
The email or login of the User . In order to create a new user, you must already have a
Google Account.
|
roleId
|
xsd:long
The unique role ID of the User . Roles that are created by Google will have negative
IDs.
|
roleName
|
xsd:string
The name of the role assigned to the User . This attribute is readonly.
|
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\u003eUser\u003c/code\u003e object, derived from \u003ccode\u003eUserRecord\u003c/code\u003e, represents a user within the system and is managed by the \u003ccode\u003eUserService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eUser\u003c/code\u003e is uniquely identified by an ID assigned by Google and has attributes such as name, email, and associated role.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eUser\u003c/code\u003e must be linked to a pre-existing Google Account via the provided email address during creation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUser\u003c/code\u003e roles are identified by unique IDs, with Google-created roles having negative IDs, and the assigned role name is read-only.\u003c/p\u003e\n"]]],["`UserRecord` is the base class for `User`. Key `User` attributes include `id` (unique, assigned by Google), `name` (up to 128 characters), `email` (Google Account required for new users), `roleId` (unique, Google-created roles have negative IDs), and `roleName` (read-only). The information pertains to a service named `UserService` within the namespace `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type UserRecord (v202408)\n\n**Service** \n**UserService** **Inheritance** \n**UserRecord** \n▼\n[User](/ad-manager/api/reference/v202408/UserService.User)\n\nThe `UserRecord` represents the base class from which a `User` is derived.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `id` | ` `xsd:`long` The unique ID of the `User`. This attribute is readonly and is assigned by Google. |\n| ### `name` | ` `xsd:`string` The name of the `User`. It has a maximum length of 128 characters. |\n| ### `email` | ` `xsd:`string` The email or login of the `User`. In order to create a new user, you must already have a [Google Account](https://www.google.com/accounts/ManageAccount). |\n| ### `roleId` | ` `xsd:`long` The unique role ID of the `User`. Roles that are created by Google will have negative IDs. |\n| ### `roleName` | ` `xsd:`string` The name of the role assigned to the `User`. This attribute is readonly. |"]]