class AccountsSites extends Resource (View source)

The "sites" collection of methods.

Typical usage is:

 $adsenseService = new Google\Service\Adsense(...);
 $sites = $adsenseService->accounts_sites;

Methods

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

Gets information about the selected site. (sites.get)

listAccountsSites(string $parent, array $optParams = [])

Lists all the sites available in an account. (sites.listAccountsSites)

Details

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

Gets information about the selected site. (sites.get)

Parameters

string $name

Required. Name of the site. Format: accounts/{account}/sites/{site}

array $optParams

Optional parameters.

Return Value

Site

Exceptions

Exception

ListSitesResponse listAccountsSites(string $parent, array $optParams = [])

Lists all the sites available in an account. (sites.listAccountsSites)

Parameters

string $parent

Required. The account which owns the collection of sites. Format: accounts/{account}

array $optParams

Optional parameters.

Return Value

ListSitesResponse

Exceptions

Exception