type UserRecord (v202411)
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/v202411
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\u003eUsers must have a Google Account to be created within the system and their role is determined by a specific role ID.\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` (must have Google Account), `roleId` (unique, Google-created roles have negative IDs), and `roleName` (read-only). The `UserService` and `User` are under the namespace `https://www.google.com/apis/ads/publisher/v202411`. The user needs a Google account in order to be created.\n"],null,["# type UserRecord (v202411)\n\n**Service** \n**UserService** **Inheritance** \n**UserRecord** \n▼\n[User](/ad-manager/api/reference/v202411/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/v202411`\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. |"]]