Description Usage Arguments Details See Also
Retrieve your YouTube Analytics reports.
1 2 3  | 
id | 
 Identifies the YouTube channel or content owner for which you are retrieving YouTube Analytics data  | 
type | 
 channel or contentOwner  | 
start.date | 
 The start date for fetching YouTube Analytics data  | 
end.date | 
 The end date for fetching YouTube Analytics data  | 
metrics | 
 A character vector of YouTube metrics, such as   | 
currency | 
 The currency to which financial metrics should be converted  | 
dimensions | 
 A comma-separated list of YouTube Analytics dimensions, such as views or ageGroup,gender  | 
filters | 
 A list of filters that should be applied when retrieving YouTube Analytics data  | 
max.results | 
 The maximum number of rows to include in the response  | 
sort | 
 A comma-separated list of dimensions or metrics that determine the sort order for YouTube Analytics data  | 
start.index | 
 An index of the first entity to retrieve  | 
Authentication scopes used by this function are:
https://www.googleapis.com/auth/youtube
https://www.googleapis.com/auth/youtube.readonly
https://www.googleapis.com/auth/yt-analytics-monetary.readonly
https://www.googleapis.com/auth/yt-analytics.readonly
Look up possible metrics and dimensions here: metric and dimension reference
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.