I am using the YouTube Reporting API, when the jobs were created it only generated reports for the past 30 days from the date of creation. What is the best way to go about gathering historical data past those 30 days to have a complete dataset?
Asked
Active
Viewed 274 times
1

Linda Lawton - DaImTo
- 106,405
- 32
- 180
- 449

Alejandro Valladares
- 31
- 1
-
Please provide enough code so others can better understand or reproduce the problem. – Community Oct 05 '22 at 06:58
1 Answers
1
If you check the documentation YouTube Reporting API - Data Model
This api only returns data for the last 30 days.
My advice would be to run the report once a month and store your data on your own system. YouTube analytics does not have any way of getting data more then thirty days old.

Linda Lawton - DaImTo
- 106,405
- 32
- 180
- 449
-
1Thank you, this is what I suspected. You would think YouTube would have some option for content creators that started using their API years/months after they start their channel. – Alejandro Valladares Oct 06 '22 at 12:33