Method: customers.mutate

顧客を更新します。オペレーションのステータスが返されます。

スローされるエラーのリスト: AuthenticationError AuthorizationError DatabaseError FieldMaskError HeaderError InternalError QuotaError RequestError UrlFieldError

HTTP リクエスト

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

この URL は gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
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 の概要をご覧ください。