AI-generated Key Takeaways
-
The
UserServiceis used to manage users in the system and has dependencies such asUserPage,createUsers(),getCurrentUser(), andupdateUsers(). -
A
Userrepresents a system user and inherits fromUserRecord. -
Users must be assigned at most one
Roleper network to perform operations, and without a role, they cannot take any actions. -
Key fields for a User include a unique read-only
id, anamewith a maximum length of 128 characters, anemaillinked to a Google Account, a uniqueroleId, a read-onlyroleName, a read-onlyisActivestatus, an optionalexternalId, a read-onlyisServiceAccountstatus, and an optionalordersUiLocalTimeZoneId.
Represents a user of the system.
Users may be assigned at most one Role per network. Each role provides a user with permissions to perform specific operations. Without a role, they will not be able to perform any actions.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
Field |
|
|---|---|
UserRecord (inherited)
|
|
|
The unique ID of the |
|
The name of the |
|
The email or login of the |
|
The unique role ID of the |
|
The name of the role assigned to the |
User
|
|
|
Specifies whether or not the |
|
An identifier for the |
|
Whether the user is an OAuth2 service account user. This attribute is read-only. Service account users can only be added through the UI. |
|
The long format timezone id (e.g. "America/Los_Angeles") used in
the orders and line items UI for this This setting only affects the UI for this user and does not in particular affect the timezone of any dates and times returned in API responses. |