Class User
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class User : IMessage<User>, IEquatable<User>, IDeepCloneable<User>, IBufferMessage, IMessage
Constructors
User()
Declaration
User(User)
Declaration
Parameters
Type |
Name |
Description |
User |
other |
|
Properties
Active
Output only. Specifies whether or not the User is active. An inactive user
cannot log in to the system or perform any operations.
Declaration
public bool Active { get; set; }
Property Value
DisplayName
Required. The name of the User. It has a maximum length of 128 characters.
Declaration
public string DisplayName { get; set; }
Property Value
Email
Required. The email or login of the User. In order to create a new user,
you must already have a Google Account.
Declaration
public string Email { get; set; }
Property Value
ExternalId
Optional. An identifier for the User that is meaningful to the publisher.
This attribute has a maximum length of 255 characters.
Declaration
public string ExternalId { get; set; }
Property Value
Name
Identifier. The resource name of the User.
Format: networks/{network_code}/users/{user_id}
Declaration
public string Name { get; set; }
Property Value
OrdersUiLocalTimeZone
Optional. The IANA Time Zone Database time zone, e.g. "America/New_York",
used in the orders and line items UI for this User. If not provided, the UI
then defaults to using the Network's timezone. This setting only affects
the UI for this user and does not affect the timezone of any dates and
times returned in API responses.
Declaration
public string OrdersUiLocalTimeZone { get; set; }
Property Value
Role
Required. The unique Role ID of the User. Roles that are created by Google
will have negative IDs.
Declaration
public string Role { get; set; }
Property Value
RoleAsRoleName
Declaration
public RoleName RoleAsRoleName { get; set; }
Property Value
ServiceAccount
Output only. Whether the user is an OAuth2 service account user.
Service account users can only be added through the UI.
Declaration
public bool ServiceAccount { get; set; }
Property Value
UserId
Declaration
public long UserId { get; set; }
Property Value
UserName
Declaration
public UserName UserName { get; set; }
Property Value