Method: customers.accountLinks.create

创建账号关联。

抛出的错误列表:AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError MutateError QuotaError RequestError ThirdPartyAppAnalyticsLinkError

HTTP 请求

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

网址采用 gRPC 转码语法。

路径参数

参数
customerId

string

必需。为其创建账号关联的客户的 ID。

请求正文

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

JSON 表示法
{
  "accountLink": {
    object (AccountLink)
  }
}
字段

响应正文

AccountLinkService.CreateAccountLink 的响应消息。

如果成功,响应正文将包含结构如下的数据:

JSON 表示法
{
  "resourceName": string
}
字段
resourceName

string

如果操作成功,系统会返回此错误代码。账号关联的资源名称。

授权范围

需要以下 OAuth 作用域:

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

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