Today is Nov 24th, 2020. I'm using this API:
https://developers.google.com/youtube/analytics/reference/reports/query
.
I set the query parameters as:
endDate=2020-11-24
(today),startDate=2020-11-20
(4 days ago),ids=channel==MINE
,dimensions=day
,sort=day
,metrics=views
.
This is what I get in return:
{
"kind": "youtubeAnalytics#resultTable",
"columnHeaders": [
{
"name": "day",
"columnType": "DIMENSION",
"dataType": "STRING"
},
{
"name": "views",
"columnType": "METRIC",
"dataType": "INTEGER"
}
],
"rows": [
[
"2020-11-20",
20
],
[
"2020-11-21",
23
]
]
}
As you can see, the data is missing for the dates 2020-11-22, 2020-11-23, and 2020-11-24.