getVideoPlaythrough: Get play-through metrics for a list of videos

Description Usage Arguments Value Examples

View source: R/getVideoPlaythrough.R

Description

Get audience retention, a.k.a. play-through metrics for a list of videos

https://developers.google.com/youtube/analytics/metrics#Audience_Retention_Metrics

Usage

1
getVideoPlaythrough(token, contentOwner, from, to, videos, metrics = NULL)

Arguments

token

Access token

contentOwner

Content owner

from

Starting date

to

Ending date

videos

List of videos

metrics

List of audience retention metrics. Defaults to c("audienceWatchRatio")

Value

Returns a data.frame of results

Examples

1
2
3
4
5
## Not run: 
videoMetrics <- getVideoPlaythrough(token, contentOwner = "ContentOwner",
                               from = "2019-02-03", to = "2019-02-09", videos$video)

## End(Not run)

EricGoldsmith/rYouTube documentation built on Dec. 17, 2021, 7:21 p.m.