Method: assets.insert
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
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):2025-08-21。
[[["易于理解","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):2025-08-21。"],[],["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"]]