Class AccountsResource.ClientsResource
The "clients" collection of methods.
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class AccountsResource.ClientsResource
Constructors
ClientsResource(IClientService)
Constructs a new resource.
Declaration
public ClientsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Invitations
Gets the Invitations resource.
Declaration
public virtual AccountsResource.ClientsResource.InvitationsResource Invitations { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ClientsResource.InvitationsResource |
Users
Gets the Users resource.
Declaration
public virtual AccountsResource.ClientsResource.UsersResource Users { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ClientsResource.UsersResource |
Methods
Create(Client, long)
Creates a new client buyer.
Declaration
public virtual AccountsResource.ClientsResource.CreateRequest Create(Client body, long accountId)
Parameters
Type | Name | Description |
---|---|---|
Client | body | The body of the request. |
long | accountId | Unique numerical account ID for the buyer of which the client buyer is a customer; the sponsor buyer to create a client for. (required) |
Returns
Type | Description |
---|---|
AccountsResource.ClientsResource.CreateRequest |
Get(long, long)
Gets a client buyer with a given client account ID.
Declaration
public virtual AccountsResource.ClientsResource.GetRequest Get(long accountId, long clientAccountId)
Parameters
Type | Name | Description |
---|---|---|
long | accountId | Numerical account ID of the client's sponsor buyer. (required) |
long | clientAccountId | Numerical account ID of the client buyer to retrieve. (required) |
Returns
Type | Description |
---|---|
AccountsResource.ClientsResource.GetRequest |
List(long)
Lists all the clients for the current sponsor buyer.
Declaration
public virtual AccountsResource.ClientsResource.ListRequest List(long accountId)
Parameters
Type | Name | Description |
---|---|---|
long | accountId | Unique numerical account ID of the sponsor buyer to list the clients for. |
Returns
Type | Description |
---|---|
AccountsResource.ClientsResource.ListRequest |
Update(Client, long, long)
Updates an existing client buyer.
Declaration
public virtual AccountsResource.ClientsResource.UpdateRequest Update(Client body, long accountId, long clientAccountId)
Parameters
Type | Name | Description |
---|---|---|
Client | body | The body of the request. |
long | accountId | Unique numerical account ID for the buyer of which the client buyer is a customer; the sponsor buyer to update a client for. (required) |
long | clientAccountId | Unique numerical account ID of the client to update. (required) |
Returns
Type | Description |
---|---|
AccountsResource.ClientsResource.UpdateRequest |