YouTube Apps Script API only runnable by accounts without a YouTube channel?

后端 未结 2 741
南笙
南笙 2020-12-20 06:40

This is such a strange issue and there seems to be no documentation of it anywhere online.

Whenever I try to execute a script that requires authorization to access a

2条回答
  •  一整个雨季
    2020-12-20 07:15

    Make sure that you are using the right scope for this. To retrieve the information about a specific reporting job that has been scheduled for a channel or content owner, you must use the following authorization scopes:

    • https://www.googleapis.com/auth/yt-analytics.readonly
      • View YouTube Analytics reports for your YouTube content. This scope provides access to user activity metrics, like view counts and rating counts.
    • https://www.googleapis.com/auth/yt-analytics-monetary.readonly
      • View YouTube Analytics monetary reports for your YouTube content. This scope provides access to user activity metrics and to estimated revenue and ad performance metrics.

    Check this link for more information.

提交回复
热议问题