Lists reporting jobs that have been scheduled for a channel or content owner.
get_report(
ids,
metrics,
start_date = NULL,
end_date = NULL,
currency = NULL,
dimensions,
filters,
historical_channel_data = NULL,
max_results = NULL,
sort = NULL,
start_index = NULL,
user_ip = NULL,
...
)
named list
Named vector with two potential names: channel or contentOwner If channel, potential values are: mine or channel_id If contentOwner, potential values are: owner_id of the content
String. Comma-separated list of YouTube Analytics metrics, such as views
or likes,dislikes
.
String. Must be in YYYY-MM-DD format.
String. Must be in YYYY-MM-DD format.
Optional. String. Default is USD. Specifies what earnings metrics like
earnings, adEarnings, grossRevenue, playbackBasedCpm, impressionBasedCpm
will be reported in.
String. Optional. Comma-separated list of YouTube Analytics dimensions, such as video
or ageGroup,gender
.
Named Vector. Optional. For instance, ``video==pd1FJh59zxQ,Zhawgd0REhA;country==IT
restricts the result set to include data for the given videos in Italy''
Boolean. Defaults is False. ``Whether the API response should include channels' watch time and view data from the time period prior to when the channels were linked to the content owner.''
Integer. Optional. The maximum number of rows to include in the response.
String. Optional A comma-separated list of dimensions or metrics that determine the sort order for YouTube
Integer. Optional. ``The 1-based index of the first entity to retrieve.''
``IP address of the end user for whom the API call is being made.''
Additional arguments passed to tubern_GET
.
https://developers.google.com/youtube/analytics/v1/reference/reports/query
if (FALSE) {
get_report(ids = "channel==MINE", metrics = "views",
start_date = "2010-04-01", end_date ="2017-01-01")
}
Run the code above in your browser using DataLab