Method: customers.accountLinks.create

创建账号关联。

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

HTTP 请求

POST https://googleads.googleapis.com/v17/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 概览