Page Summary
-
The
UserServiceis used to manage users of the system. -
Users are assigned at most one role per network, which determines their permissions.
-
The
Userobject inherits fromUserRecordand has fields such asid,name,email,roleId,roleName,isActive,externalId,isServiceAccount, andordersUiLocalTimeZoneId. -
User IDs are unique and assigned by Google, while roles created by Google have negative IDs.
-
An inactive user cannot log in or perform operations, and service account users are read-only and added via the UI.
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/v202411
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. |