Class Client
A client resource represents a client buyer—an agency, a brand, or an advertiser customer of the sponsor buyer. Users associated with the client buyer have restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the client buyer. All fields are required unless otherwise specified.
Implements
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1.Data
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class Client : IDirectResponseSchema
Properties
ClientAccountId
The globally-unique numerical ID of the client. The value of this field is ignored in create and update operations.
Declaration
[JsonProperty("clientAccountId")]
public virtual long? ClientAccountId { get; set; }
Property Value
Type | Description |
---|---|
long? |
ClientName
Name used to represent this client to publishers. You may have multiple clients that map to the same entity,
but for each client the combination of clientName
and entity must be unique. You can specify this field as
empty. Maximum length of 255 characters is allowed.
Declaration
[JsonProperty("clientName")]
public virtual string ClientName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityId
Numerical identifier of the client entity. The entity can be an advertiser, a brand, or an agency. This identifier is unique among all the entities with the same type. The value of this field is ignored if the entity type is not provided. A list of all known advertisers with their identifiers is available in the advertisers.txt file. A list of all known brands with their identifiers is available in the brands.txt file. A list of all known agencies with their identifiers is available in the agencies.txt file.
Declaration
[JsonProperty("entityId")]
public virtual long? EntityId { get; set; }
Property Value
Type | Description |
---|---|
long? |
EntityName
The name of the entity. This field is automatically fetched based on the type and ID. The value of this field is ignored in create and update operations.
Declaration
[JsonProperty("entityName")]
public virtual string EntityName { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityType
An optional field for specifying the type of the client entity: ADVERTISER
, BRAND
, or AGENCY
.
Declaration
[JsonProperty("entityType")]
public virtual string EntityType { get; set; }
Property Value
Type | Description |
---|---|
string |
PartnerClientId
Optional arbitrary unique identifier of this client buyer from the standpoint of its Ad Exchange sponsor buyer. This field can be used to associate a client buyer with the identifier in the namespace of its sponsor buyer, lookup client buyers by that identifier and verify whether an Ad Exchange counterpart of a given client buyer already exists. If present, must be unique among all the client buyers for its Ad Exchange sponsor buyer.
Declaration
[JsonProperty("partnerClientId")]
public virtual string PartnerClientId { get; set; }
Property Value
Type | Description |
---|---|
string |
Role
The role which is assigned to the client buyer. Each role implies a set of permissions granted to the
client. Must be one of CLIENT_DEAL_VIEWER
, CLIENT_DEAL_NEGOTIATOR
or CLIENT_DEAL_APPROVER
.
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
The status of the client buyer.
Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type | Description |
---|---|
string |
VisibleToSeller
Whether the client buyer will be visible to sellers.
Declaration
[JsonProperty("visibleToSeller")]
public virtual bool? VisibleToSeller { get; set; }
Property Value
Type | Description |
---|---|
bool? |