YouTube 数据 API - 使用经理帐户将视频上传到 youtube 品牌帐户的频道 [英] YouTube Data API - Upload video to youtube Brand Account's channel using manager account

查看:27
本文介绍了YouTube 数据 API - 使用经理帐户将视频上传到 youtube 品牌帐户的频道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用经理帐号将视频上传到品牌帐号的频道.我在此处找到了工作流程.当我尝试生成刷新令牌 使用 OAuthTokenGenerator 我出现错误此客户端仅限其组织内的用户使用.".需要提到的是,我们要求我们的客户是内部的,所以我们不能把它变成外部的.

I'm trying to upload videos using manager account to Brand Account's channel. I found workflow how it could be done here. When I've tried to generate refresh token using OAuthTokenGenerator I've got an error "This client is restricted to users within its organization.". Need to mention that we have requirement for our client to be internal so we can't make it external.

我发现我们品牌帐户的主要所有者电子邮件位于不同的域中.我们更改了我们品牌帐户的主要所有者在我们的组织内.但这并没有帮助我们仍然收到相同的错误此客户端仅限于其组织内的用户."还应该做些什么来解决这个问题?

I found that our Brand Account's primary owner email is in the different domain. We changed our Brand Account's primary owner to be within our organization. But it doesn't help we still receiving the same error "This client is restricted to users within its organization." What else should be done to solve this issue?

推荐答案

我遇到了同样的问题.

显然无法将 YouTube 品牌帐户关联到 GSuite,这意味着您永远无法以品牌帐户所有者的身份使用 Application Type = Internal 对 YouTube API 进行身份验证.所以这是一个死胡同:只有在您的组织中拥有 Google 帐户的用户才能授予对此应用请求的范围的访问权限."

Apparently there is no way to link a YouTube Brand Account to GSuite which means you will never be able to authenticate the YouTube API with Application Type = Internal, as a Brand Account owner. So this is a dead end: "Only users with a Google Account in your organization can grant access to the scopes requested by this app."

您有三个选择:

选项 1:公开您的 OAuth 应用(并点击身份验证弹出窗口中的安全警告).

Option 1: Make your OAuth app public (and clickthrough the security warning in the auth popup).

选项 2:成为内容合作伙伴并尝试使用onBehalfOfContentOwner"参数.https://developers.google.com/youtube/v3/docs/channels/列表

Option 2: Become a Content Partner and try the 'onBehalfOfContentOwner' param. https://developers.google.com/youtube/v3/docs/channels/list

选项 3:将您的视频迁移到非品牌 YouTube 频道,由您的 G Suite 组织的用户之一控制.

Option 3: Migrate your videos to a non-Brand YouTube channel over which one of your GSuite org's users has control.

不幸的是,这是它的工作方式,尤其是当 Google 可以毫不费力地匹配电子邮件地址时(如果 GSuite 用户是品牌帐户的所有者或主要所有者,他们应该能够以该品牌帐户的身份进行身份验证到 内部应用模式中的 YouTube API).

Rather unfortunate that this is the way it works, especially when the email addresses could be matched by Google effortlessly (if a GSuite user is the Owner or Primary Owner of a Brand Account, they should be able to authenticate as that Brand Account to the YouTube API in Internal App mode).

这篇关于YouTube 数据 API - 使用经理帐户将视频上传到 youtube 品牌帐户的频道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆