1

我正在尝试使用 start-index 参数对数据进行分页,我正在增加循环结构中的 start-index 值,它适用于第一个和第二个循环,但每次都在 3 个循环上失败(我知道有更多视频)。

我分页错了吗?

请求https://www.googleapis.com/youtube/analytics/v1/reports?sort=-views&max-results=99&dimensions=video&start-date=2014-05-29&start-index=199&ids=channel%3D%3DUCNHqb1IRxQ5WBsWtO53JL2g&metrics时出现 HttpError 400 =views%2Ccomments%2Clikes%2Cdislikes%2CvideosAddedToPlaylists%2CvideosRemovedFromPlaylists%2Cshares%2CfavoritesAdded%2CfavoritesRemoved%2CestimatedMinutesWatched%2CaverageViewDuration%2CaverageViewPercentage%2CannotationClickThroughRate%2CannotationCloseRate%2CannotationImpressions%2CannotationClickableImpressions%2CannotationClosableImpressions%2CannotationClicks%2CannotationCloses%2CsubscribersGained%2CsubscribersLost&alt=json&end-date=2015-10 -07

返回“不支持该查询。请查看https://developers.google.com/youtube/analytics/v1/available_reports上的文档以获取支持的查询列表。”

4

0 回答 0