- HTTP 请求
- 路径参数
- 请求正文
- 响应正文
- 授权范围
- BatchJobOperation
<ph type="x-smartling-placeholder">
- </ph>
- JSON 表示法
- MutateBatchJobResult
<ph type="x-smartling-placeholder">
- </ph>
- JSON 表示法
- 试试看!
更改批量作业。
抛出的错误列表:AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError ResourceCountLimitExceededError
HTTP 请求
POST https://googleads.googleapis.com/v17/customers/{customerId}/batchJobs:mutate
网址采用 gRPC 转码语法。
路径参数
参数 | |
---|---|
customerId |
必需。要为其创建批量作业的客户 ID。 |
请求正文
请求正文中包含结构如下的数据:
JSON 表示法 |
---|
{
"operation": {
object ( |
字段 | |
---|---|
operation |
必需。要对单个批量作业执行的操作。 |
响应正文
BatchJobService.MutateBatchJob
的响应消息。
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
---|
{
"result": {
object ( |
字段 | |
---|---|
result |
mutate 的结果。 |
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/adwords
如需了解详情,请参阅 OAuth 2.0 概览。
BatchJobOperation
对批量作业的单个操作。
JSON 表示法 |
---|
{ // Union field |
字段 | |
---|---|
联合字段 operation 。Mutate 操作。operation 只能是下列其中一项: |
|
create |
创建操作:新的批量作业不需要资源名称。 |
remove |
移除操作:批量作业必须未曾运行过。已移除的批量作业的资源名称应如下所示:
|
MutateBatchJobResult
批量作业转变的结果。
JSON 表示法 |
---|
{ "resourceName": string } |
字段 | |
---|---|
resourceName |
批量作业的资源名称。 |