YouTube Analytics API 403错误品牌帐户

发布于 2025-01-25 20:02:14 字数 1154 浏览 3 评论 0 原文

我已经尝试使用我的主要帐户运行分析/报告API(使用本地计算机的终端来运行Python脚本从 yt api github ),并提出了我的品牌帐户,我最终在尝试通过OAuth Autheration Flow授权时出现了403 org_internal。

我还尝试按照此处制定的步骤:

​。

​授权(我不使用服务帐户),范围等不应该有问题...

我可以将我的主帐户用于API授权。

第二次编辑:这是我使用的参数的OAuth查询: https:/ https:/ https:///deploveers.google.google.google.google.google. 。 3A%22channel%3D%3DMINE%22%2C%22metrics%22%3A%22estimatedMinutesWatched%2Cviews%2Clikes%2CsubscribersGained%22%2C%22sort%22%3A%22day%22%2C%22startDate%22%3A%222022- 03-31%22%7d

I've tried running the analytics/reporting APIs with my main account (using my local machine's terminal to run python scripts from the YT API Github), and came up with my brand accounts, I end up with an error 403 org_internal when trying to authorize via OAuth authentication flow.

I've also tried following the steps laid out here:

YouTube APIs - Access mutiple youtube channels (Brand Accounts) using Google Admin account

Once I get to step 6, I get the following error:

error 403 org_internal

and of course the request details are all fulfilled; there shouldn't be a problem with authorization (I'm not using a service account), scopes, etc...

I can use my main account for the API authorization.

2nd edit: Here is the OAuth query with the parameters I'm using: https://developers.google.com/youtube/analytics/reference/reports/query?apix_params=%7B%22dimensions%22%3A%22day%22%2C%22endDate%22%3A%222022-04-30%22%2C%22ids%22%3A%22channel%3D%3DMINE%22%2C%22metrics%22%3A%22estimatedMinutesWatched%2Cviews%2Clikes%2CsubscribersGained%22%2C%22sort%22%3A%22day%22%2C%22startDate%22%3A%222022-03-31%22%7D

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文