class YouTubeAnalytics extends Service (View source)

Service definition for YouTubeAnalytics (v2).

Retrieves your YouTube Analytics data.

For more information about this service, see the API Documentation

Constants

YOUTUBE

Manage your YouTube account.

YOUTUBE_READONLY

View your YouTube account.

YOUTUBEPARTNER

View and manage your assets and associated content on YouTube.

YT_ANALYTICS_MONETARY_READONLY

View monetary and non-monetary YouTube Analytics reports for your YouTube content.

YT_ANALYTICS_READONLY

View YouTube Analytics reports for your YouTube content.

Properties

$groupItems
$groups
$reports
$rootUrlTemplate

Methods

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

Constructs the internal representation of the YouTubeAnalytics service.

Details

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

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