class Accounts extends Resource (View source)

The "accounts" collection of methods.

Typical usage is:

 $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
 $accounts = $adexchangebuyerService->accounts;

Methods

get(int $id, array $optParams = [])

Gets one account by ID. (accounts.get)

listAccounts(array $optParams = [])

Retrieves the authenticated user's list of accounts. (accounts.listAccounts)

patch(int $id, Account $postBody, array $optParams = [])

Updates an existing account. This method supports patch semantics.

update(int $id, Account $postBody, array $optParams = [])

Updates an existing account. (accounts.update)

Details

Account get(int $id, array $optParams = [])

Gets one account by ID. (accounts.get)

Parameters

int $id

The account id

array $optParams

Optional parameters.

Return Value

Account

AccountsList listAccounts(array $optParams = [])

Retrieves the authenticated user's list of accounts. (accounts.listAccounts)

Parameters

array $optParams

Optional parameters.

Return Value

AccountsList

Account patch(int $id, Account $postBody, array $optParams = [])

Updates an existing account. This method supports patch semantics.

(accounts.patch)

Parameters

int $id

The account id

Account $postBody
array $optParams

Optional parameters.

Return Value

Account

Account update(int $id, Account $postBody, array $optParams = [])

Updates an existing account. (accounts.update)

Parameters

int $id

The account id

Account $postBody
array $optParams

Optional parameters.

Return Value

Account