class YouTubeReporting extends Service (View source)

Service definition for YouTubeReporting (v1).

Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.

For more information about this service, see the API Documentation

Constants

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

$jobs
$jobs_reports
$media
$reportTypes
$rootUrlTemplate

Methods

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

Constructs the internal representation of the YouTubeReporting service.

Details

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

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