class AdSensePlatform extends Service (View source)

Service definition for AdSensePlatform (v1).

For more information about this service, see the API Documentation

Constants

ADSENSE

View and manage your AdSense data.

ADSENSE_READONLY

View your AdSense data.

Properties

$platforms_accounts
$platforms_accounts_events
$platforms_accounts_sites
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the AdSensePlatform service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the AdSensePlatform service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.