且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用 *** Data API 使我的视频在上传时成为私密视频

更新时间:2023-10-28 11:47:40

根据谷歌支持的文章 视频被锁定为私有,您描述的问题是故意的:

According to Google support's article Videos locked as private, the issue that you've described happens by design:

对于因通过未经验证的 API 服务上传而被锁定为私有的视频,您将无法提出申诉.您需要通过经过验证的 API 服务或 *** 应用/网站重新上传视频.未经验证的API服务也可以申请API审核.

For videos that have been locked as private due to upload via an unverified API service, you will not be able to appeal. You’ll need to re-upload the video via a verified API service or via the *** app/site. The unverified API service can also apply for an API audit.

为确保您的视频不会再次被锁定为私密,请勿发布以下内容:

To ensure your video isn’t locked private again, don’t post content that:

  • [...]
  • 已由未经验证的第三方 API 服务上传.

不幸的是,在您的应用获得 Google 批准之前,如果需要公开视频内容,您别无选择,只能通过 *** 的 Web UI 手动上传该内容(或使用访问该 UI 以编程方式;但据我所知,TOS 文档禁止此类活动).

As unfortunate as it is, until your app gets approved by Google, if needing to make video content publicly available, you have no other option than to upload that content manually by means of ***'s Web UI (or use a tool that accesses that UI programmatically; but, as far as I know, this kind of activity is forbidden by the TOS docs).

Videos.insert的官方文档 API 端点指定了与上述完全相同的要求:

The official document of the Videos.insert API endpoint specifies the very same requirement as above:

通过 videos.insert 端点从 2020 年 7 月 28 日之后创建的未经验证的 API 项目上传的所有视频都将被限制为私人观看模式.要解除此限制,每个 API 项目都必须接受审核以验证是否符合服务条款.有关详细信息,请参阅 API 修订历史记录.

All videos uploaded via the videos.insert endpoint from unverified API projects created after 28 July 2020 will be restricted to private viewing mode. To lift this restriction, each API project must undergo an audit to verify compliance with the Terms of Service. Please see the API Revision History for more details.


与此问题相关的API Revision History的条目内容如下:

2020 年 7 月 28 日之后创建的未经验证的 API 项目通过 videos.insert 端点上传的所有视频都将被限制为私人观看模式.要解除此限制,每个项目都必须接受审核以验证是否符合服务条款.

All videos uploaded via the videos.insert endpoint from unverified API projects created after 28 July 2020 will be restricted to private viewing mode. To lift this restriction, each project must undergo an audit to verify compliance with the Terms of Service.

使用未经验证的 API 客户端上传视频的创作者将收到一封电子邮件,说明他们的视频已被锁定为私有,并且他们可以通过使用官方或经过审核的客户端来避免限制.

Creators who use an unverified API client to upload video will receive an email explaining that their video is locked as private, and that they can avoid the restriction by using an official or audited client.

在 2020 年 7 月 28 日之前创建的 API 项目目前不受此更改的影响.但是,我们强烈建议所有开发者完成其项目的合规性审核,以确保继续访问 *** API 服务.

API projects created prior to 28 July 2020 are not currently affected by this change. However, we strongly recommend that all developers complete a compliance audit for their projects to ensure continued access to the *** API Services.