Google_Service_YouTubeAnalytics
extends Google_Service
in package
Service definition for YouTubeAnalytics (v2).
Retrieves your YouTube Analytics data.
For more information about this service, see the API Documentation
Tags
Table of Contents
- YOUTUBE = "https://www.googleapis.com/auth/youtube"
- Manage your YouTube account.
- YOUTUBE_READONLY = "https://www.googleapis.com/auth/youtube.readonly"
- View your YouTube account.
- YOUTUBEPARTNER = "https://www.googleapis.com/auth/youtubepartner"
- View and manage your assets and associated content on YouTube.
- YT_ANALYTICS_MONETARY_READONLY = "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
- View monetary and non-monetary YouTube Analytics reports for your YouTube content.
- YT_ANALYTICS_READONLY = "https://www.googleapis.com/auth/yt-analytics.readonly"
- View YouTube Analytics reports for your YouTube content.
- $availableScopes : mixed
- $batchPath : mixed
- $groupItems : mixed
- $groups : mixed
- $reports : mixed
- $resource : mixed
- $rootUrl : mixed
- $servicePath : mixed
- $version : mixed
- $client : mixed
- __construct() : mixed
- Constructs the internal representation of the YouTubeAnalytics service.
- createBatch() : Google_Http_Batch
- Create a new HTTP Batch handler for this service
- getClient() : Google_Client
- Return the associated Google_Client class.
Constants
YOUTUBE
Manage your YouTube account.
public
mixed
YOUTUBE
= "https://www.googleapis.com/auth/youtube"
YOUTUBE_READONLY
View your YouTube account.
public
mixed
YOUTUBE_READONLY
= "https://www.googleapis.com/auth/youtube.readonly"
YOUTUBEPARTNER
View and manage your assets and associated content on YouTube.
public
mixed
YOUTUBEPARTNER
= "https://www.googleapis.com/auth/youtubepartner"
YT_ANALYTICS_MONETARY_READONLY
View monetary and non-monetary YouTube Analytics reports for your YouTube content.
public
mixed
YT_ANALYTICS_MONETARY_READONLY
= "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"
YT_ANALYTICS_READONLY
View YouTube Analytics reports for your YouTube content.
public
mixed
YT_ANALYTICS_READONLY
= "https://www.googleapis.com/auth/yt-analytics.readonly"
Properties
$availableScopes
public
mixed
$availableScopes
$batchPath
public
mixed
$batchPath
$groupItems
public
mixed
$groupItems
$groups
public
mixed
$groups
$reports
public
mixed
$reports
$resource
public
mixed
$resource
$rootUrl
public
mixed
$rootUrl
$servicePath
public
mixed
$servicePath
$version
public
mixed
$version
$client
private
mixed
$client
Methods
__construct()
Constructs the internal representation of the YouTubeAnalytics service.
public
__construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
- $client : Google_Client
-
The client used to deliver requests.
- $rootUrl : string = null
-
The root URL used for requests to the service.
Return values
mixed —createBatch()
Create a new HTTP Batch handler for this service
public
createBatch() : Google_Http_Batch
Return values
Google_Http_Batch —getClient()
Return the associated Google_Client class.
public
getClient() : Google_Client