Skip to content

Commit 7c98eb9

Browse files
Fix method name for YouTube Analytics sample
1 parent a450030 commit 7c98eb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ruby/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ associated with a particular keyword.
3434

3535
### [Retrieve top 10 videos by viewcount](/youtube/api-samples/blob/master/ruby/yt_analytics_report.rb)
3636

37-
Method: youtube.playlists.insert<br>
37+
Method: youtubeAnalytics.reports.query<br>
3838
Description: This sample calls the API's <code>reports.query</code> method to retrieve YouTube Analytics data.
3939
By default, the report retrieves the top 10 videos based on viewcounts, and it returns several metrics for those
4040
videos, sorting the results in reverse order by viewcount. By setting command line parameters, you can use the same

0 commit comments

Comments
 (0)