Method: customers.experiments.endExperiment

立即结束实验,更改实验所安排的结束日期,而不必等到实验结束。结束日期会更新为请求的时间。

抛出的错误列表:AuthenticationError AuthorizationError ExperimentError HeaderError InternalError QuotaError RequestError

HTTP 请求

POST https://googleads.googleapis.com/v15/{experiment=customers/*/experiments/*}:endExperiment

网址采用 gRPC 转码语法。

路径参数

参数
experiment

string

必需。要结束的广告系列实验的资源名称。

请求正文

请求正文中包含结构如下的数据:

JSON 表示法
{
  "validateOnly": boolean
}
字段
validateOnly

boolean

如果为 true,则对请求进行验证,但不会执行该请求。系统只会返回错误,不会返回结果。

响应正文

如果成功,则响应正文为空。

授权范围

需要以下 OAuth 作用域:

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

有关详情,请参阅 OAuth 2.0 概览