Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
Method: assets.insert
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
插入具有指定元数据的资产。插入资产后,您可以设置其所有权数据��匹配政策。
无法使用 API 创建艺术曲目资源 (art_track_video),并且会返回 ART_TRACK_NOT_SUPPORTED 错误。通过 DDEX 或 CSV Feed 提交 Art Track 元数据和媒体文件。
HTTP 请求
POST https://youtubepartner.googleapis.com/youtube/partner/v1/assets
网址采用 gRPC 转码语法。
查询参数
| 参数 |
onBehalfOfContentOwner |
string
onBehalfOfContentOwner 参数用于标识用户所代表的内容所有者。此参数支持账号与多个内容所有者相关联的用户。
|
响应正文
如果成功,响应正文将包含一个新创建的 Asset 实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/youtubepartner
如需了解详情,请参阅 OAuth 2.0 Overview。
保留所有权利。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-09-16。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-09-16。"],[],["This document details the process of inserting an asset via a `POST` request to `https://youtubepartner.googleapis.com/youtube/partner/v1/assets`. The request uses gRPC Transcoding. Key components include the `onBehalfOfContentOwner` query parameter, for specifying the content owner. The request and response body both utilize the `Asset` resource. This operation requires `https://www.googleapis.com/auth/youtubepartner` authorization scope. After inserting, users can set ownership data and match policies.\n"]]