Method: customers.batchJobs.mutate

일괄 작업을 변경합니다.

발생한 오류 목록: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError ResourceCountLimitExceededError

HTTP 요청

POST https://googleads.googleapis.com/v14/customers/{customerId}/batchJobs:mutate

URL은 gRPC 트랜스코딩 구문을 사용합니다.

경로 매개변수

매개변수
customerId

string

필수 항목입니다. 일괄 작업을 만들 고객의 ID입니다.

요청 본문

요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.

JSON 표현
{
  "operation": {
    object (BatchJobOperation)
  }
}
필드
operation

object (BatchJobOperation)

필수 항목입니다. 개별 일괄 작업에서 수행할 작업입니다.

응답 본문

BatchJobService.MutateBatchJob의 응답 메시지입니다.

성공할 경우 응답 본문에 다음 구조의 데이터가 포함됩니다.

JSON 표현
{
  "result": {
    object (MutateBatchJobResult)
  }
}
필드
result

object (MutateBatchJobResult)

변경의 결과입니다.

승인 범위

다음 OAuth 범위가 필요합니다.

  • https://www.googleapis.com/auth/adwords

자세한 내용은 OAuth 2.0 개요를 참고하세요.

BatchJobOperation

일괄 작업에 대한 단일 작업

JSON 표현
{

  // Union field operation can be only one of the following:
  "create": {
    object (BatchJob)
  },
  "remove": string
  // End of list of possible types for union field operation.
}
필드
통합 필드 operation. 변경 연산입니다. operation은 다음 중 하나여야 합니다.
create

object (BatchJob)

만들기 작업: 새 일괄 작업에는 리소스 이름이 필요하지 않습니다.

remove

string

작업 삭제: 일괄 작업은 실행된 적이 없어야 합니다. 삭제된 일괄 작업의 리소스 이름은 다음 형식으로 예상됩니다.

customers/{customerId}/batchJobs/{batch_job_id}

MutateBatchJobResult

일괄 작업 변경의 결과입니다.

JSON 표현
{
  "resourceName": string
}
필드
resourceName

string

일괄 작업의 리소스 이름입니다.