我有一个与YouTube分析报告有关的问题。流量来源详细信息报告的上限为25。
文档:https://developers.google.com/youtube/analytics/v1/channel_reports#traffic-source-reports。
而且响应中的下一页没有 token 来获取所有项目,而不仅仅是25。
请帮助大家将所有物品的数量提高到500。
最佳答案
Note: This report requires you to set the max-results parameter to a integer value of 25 or less. Unlike most other reports, this report also requires you to specify a value for the sort request parameter.
Google API并非全部都允许分页。在这种情况下,您最多可以看到25。
没有nextpagelink或pageid,那么现在就可以获取其他结果。
关于youtube - 洞察流量来源详细报告。 (Youube Analytics Api v.1),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49629388/