YouTube Analytics API Access Now Forbidden

一曲冷凌霜 提交于 2019-12-21 02:41:48

问题


I have a few reports using the YouTube Analytics API in a Google Spreadsheet. I have made no changes recently.

These reports do have a trigger that run daily. On 1/10. they stopped working.

Usage Report: http://i.imgur.com/8BRhBZd.png

I see at least four similar issues here. I am posting this in hopes to raise more awareness in case there is an bigger issue at hand, than some user error I cannot ID.

Spreadsheet reports the following error:

[16-01-20 08:55:01:935 PST] Execution failed: Forbidden (line 45, file "yt-sources") [0.83 seconds total runtime]

Line 45 is:

var analyticsResponse = YouTubeAnalytics.Reports.query(

I have the same issue across two accounts (using different YouTube accounts).

I also recreated them, and tried the sample report (https://developers.google.com/youtube/analytics/v1/code_samples/apps-script#export_youtube_analytics_data_to_google_sheets), which my reports are based off of.

I am still able to pull data via the Analytics API Explorer.

来源:https://stackoverflow.com/questions/34906034/youtube-analytics-api-access-now-forbidden

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!