【发布时间】:2016-12-09 20:43:57
【问题描述】:
我正在使用 API 资源管理器来调用分析 API。 See here.
这些是填写的字段:
ids: channel==MINE
start date: 2016-01-01
end date: 2017-11-11
metrics: dislikes,likes, fields
fields: columnHeaders,kind,rows
它能够成功验证,并返回行头。但是,没有作为响应的一部分返回的指标(见下文)。 我在参数中遗漏了什么吗?
这篇文章说如果没有数据,则不会返回行 - ROWS not returning in Youtube Analytics API?。
但是,我确实有一个视频上传到我的频道。
{
"kind": "youtubeAnalytics#resultTable",
"columnHeaders": [
{
"name": "dislikes",
"columnType": "METRIC",
"dataType": "INTEGER"
},
{
"name": "likes",
"columnType": "METRIC",
"dataType": "INTEGER"
},
{
"name": "views",
"columnType": "METRIC",
"dataType": "INTEGER"
}
]
}
【问题讨论】:
-
我的回答有帮助吗?
标签: youtube-api