Method: customers.mutate

고객을 업데이트합니다. 작업 상태가 반환됩니다.

발생한 오류 목록: AuthenticationError AuthorizationError DatabaseError FieldMaskError HeaderError InternalError QuotaError RequestError UrlFieldError

HTTP 요청

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

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

경로 매개변수

매개변수
customerId

string

필수 항목입니다. 수정되는 고객의 ID입니다.

요청 본문

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

JSON 표현
{
  "operation": {
    object (CustomerOperation)
  },
  "validateOnly": boolean,
  "responseContentType": enum (ResponseContentType)
}
필드
operation

object (CustomerOperation)

필수 항목입니다. 고객에 대해 수행할 작업입니다.

validateOnly

boolean

true인 경우 요청의 유효성이 검사되지만 실행되지는 않습니다. 결과는 아닌 오류만 반환됩니다.

responseContentType

enum (ResponseContentType)

응답 콘텐츠 유형 설정입니다. 변경 후 변경 가능한 리소스를 반환해야 하는지, 아니면 리소스 이름만 반환해야 하는지 결정합니다.

응답 본문

고객 변경에 대한 응답 메시지입니다.

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

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

object (MutateCustomerResult)

변경의 결과입니다.

승인 범위

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

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

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