Resource: Client
A client represents an agency, a brand, or an advertiser customer of the buyer. Based on the client's role, its client users will have varying levels of restricted access to the Marketplace and certain other sections of the Authorized Buyers UI.
JSON representation |
---|
{ "name": string, "role": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the client. Format: |
role |
Required. The role assigned to the client. Each role implies a set of permissions granted to the client. |
state |
Output only. The state of the client. |
displayName |
Required. Display name shown to publishers. Must be unique for clients without partnerClientId specified. Maximum length of 255 characters is allowed. |
sellerVisible |
Whether the client will be visible to sellers. |
partnerClientId |
Arbitrary unique identifier provided by the buyer. This field can be used to associate a client with an identifier in the namespace of the buyer, lookup clients by that identifier and verify whether an Authorized Buyers account of the client already exists. If present, must be unique across all the clients. |
ClientRole
Client role type controlling what actions users of the client can perform in the Markeptlace UI.
Enums | |
---|---|
CLIENT_ROLE_UNSPECIFIED |
A placeholder for an undefined client role. This value should never be specified in user input for create or update method, otherwise an error will be returned. |
CLIENT_DEAL_VIEWER |
Users associated with this client role can only view proposals and deals in the Marketplace UI. They cannot negotiate or approve proposals and deals sent from publishers or send RFP to publishers. |
CLIENT_DEAL_NEGOTIATOR |
Users associated with this client role can view and negotiate on the proposals and deals in the Marketplace UI sent from publishers and send RFP to publishers, but cannot approve the proposals and deals by themselves. The buyer can approve the proposals and deals on behalf of the client. |
CLIENT_DEAL_APPROVER |
Users associated with this client role can view, negotiate and approve proposals and deals in the Marketplace UI and send RFP to publishers. |
State
Client state.
Enums | |
---|---|
STATE_UNSPECIFIED |
A placeholder for an undefined client state. Should not be used. |
ACTIVE |
A client that is currently active and allowed to access the Authorized Buyers UI. |
INACTIVE |
A client that is currently inactive and not allowed to access the Authorized Buyers UI. |
Methods |
|
---|---|
|
Activates an existing client. |
|
Creates a new client. |
|
Deactivates an existing client. |
|
Gets a client with a given resource name. |
|
Lists all the clients for the current buyer. |
|
Updates an existing client. |