更新客户。返回操作状态。
抛出的错误列表:AuthenticationError AuthorizationError DatabaseError FieldMaskError HeaderError InternalError QuotaError RequestError UrlFieldError
HTTP 请求
POST https://googleads.googleapis.com/v17/customers/{customerId}:mutate
网址采用 gRPC 转码语法。
路径参数
参数 | |
---|---|
customerId |
必需。要修改的客户的 ID。 |
请求正文
请求正文中包含结构如下的数据:
JSON 表示法 |
---|
{ "operation": { object ( |
字段 | |
---|---|
operation |
必需。要对客户执行的操作 |
validateOnly |
如果为 true,则系统会验证该请求,但不会执行该请求。仅返回错误,不返回结果。 |
responseContentType |
回复内容类型设置。确定在变更后返回可变资源还是仅返回资源名称。 |
响应正文
客户 mutate 的响应消息。
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
---|
{
"result": {
object ( |
字段 | |
---|---|
result |
转变的结果。 |
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/adwords
如需了解详情,请参阅 OAuth 2.0 概览。