class Accounts extends Resource (View source)

The "accounts" collection of methods.

Typical usage is:

 $admobService = new Google\Service\AdMob(...);
 $accounts = $admobService->accounts;

Methods

get(string $name, array $optParams = [])

Gets information about the specified AdMob publisher account. (accounts.get)

listAccounts(array $optParams = [])

Lists the AdMob publisher account that was most recently signed in to from the AdMob UI. For more information, see https://support.google.com/admob/answer/10243672. (accounts.listAccounts)

Details

PublisherAccount get(string $name, array $optParams = [])

Gets information about the specified AdMob publisher account. (accounts.get)

Parameters

string $name

Resource name of the publisher account to retrieve. Example: accounts/pub-9876543210987654

array $optParams

Optional parameters.

Return Value

PublisherAccount

Exceptions

Exception

ListPublisherAccountsResponse listAccounts(array $optParams = [])

Lists the AdMob publisher account that was most recently signed in to from the AdMob UI. For more information, see https://support.google.com/admob/answer/10243672. (accounts.listAccounts)

Parameters

array $optParams

Optional parameters.

Return Value

ListPublisherAccountsResponse

Exceptions

Exception