class AccountsClientsUsers extends Resource (View source)

The "users" collection of methods.

Typical usage is:

 $adexchangebuyer2Service = new Google\Service\AdExchangeBuyerII(...);
 $users = $adexchangebuyer2Service->accounts_clients_users;

Methods

get(string $accountId, string $clientAccountId, string $userId, array $optParams = [])

Retrieves an existing client user. (users.get)

listAccountsClientsUsers(string $accountId, string $clientAccountId, array $optParams = [])

Lists all the known client users for a specified sponsor buyer account ID.

update(string $accountId, string $clientAccountId, string $userId, ClientUser $postBody, array $optParams = [])

Updates an existing client user. Only the user status can be changed on update. (users.update)

Details

ClientUser get(string $accountId, string $clientAccountId, string $userId, array $optParams = [])

Retrieves an existing client user. (users.get)

Parameters

string $accountId

Numerical account ID of the client's sponsor buyer. (required)

string $clientAccountId

Numerical account ID of the client buyer that the user to be retrieved is associated with. (required)

string $userId

Numerical identifier of the user to retrieve. (required)

array $optParams

Optional parameters.

Return Value

ClientUser

Exceptions

Exception

ListClientUsersResponse listAccountsClientsUsers(string $accountId, string $clientAccountId, array $optParams = [])

Lists all the known client users for a specified sponsor buyer account ID.

(users.listAccountsClientsUsers)

Parameters

string $accountId

Numerical account ID of the sponsor buyer of the client to list users for. (required)

string $clientAccountId

The account ID of the client buyer to list users for. (required) You must specify either a string representation of a numerical account identifier or the - character to list all the client users for all the clients of a given sponsor buyer.

array $optParams

Optional parameters.

Return Value

ListClientUsersResponse

Exceptions

Exception

ClientUser update(string $accountId, string $clientAccountId, string $userId, ClientUser $postBody, array $optParams = [])

Updates an existing client user. Only the user status can be changed on update. (users.update)

Parameters

string $accountId

Numerical account ID of the client's sponsor buyer. (required)

string $clientAccountId

Numerical account ID of the client buyer that the user to be retrieved is associated with. (required)

string $userId

Numerical identifier of the user to retrieve. (required)

ClientUser $postBody
array $optParams

Optional parameters.

Return Value

ClientUser

Exceptions

Exception