class AnalyticsReporting extends Service (View source)

Service definition for AnalyticsReporting (v4).

Accesses Analytics report data.

For more information about this service, see the API Documentation

Constants

ANALYTICS

View and manage your Google Analytics data.

ANALYTICS_READONLY

See and download your Google Analytics data.

Properties

$reports
$userActivity
$rootUrlTemplate

Methods

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

Constructs the internal representation of the AnalyticsReporting service.

Details

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

Constructs the internal representation of the AnalyticsReporting 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.