YouTube has a very powerful API, but it is pretty complicated. Here is how to pull in your top 10 most watched videos.
Log in to your Grow dashboard and click Add Metric. Select YouTube from the list of data sources and connect your account. From there, select Add Custom Metric.
Click the Metrics button and add the following three metrics:
views , and
Then click the Dimensions button and add the
Set the date range to whatever time frame you want to view.
In the Max Results field, enter the number
10. This will show the top 10 videos. If you want to view more, you can set this to any number less than 200.
In the Dimensions to Sort By field, enter
-views. Note: It will not work without the dash.
Here is what the whole collection of settings looks like:
At the bottom of the left-hand panel, click the blue Connect button. Make sure that it is pulling in the correct data, then press the blue Continue button.
Once in the Edit Metric screen, add the data series you want to make your table chart.
Press Save and add it to your dashboard.
And that's it!
If you have any questions please email email@example.com or chat in on the site.