Method: customers.paymentsAccounts.list

返回与登录客户 ID 和层次结构中指定的服务客户之间的所有经理相关联的所有付款帐号(包括该客户 ID)。

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

HTTP 请求

GET https://googleads.googleapis.com/v15/customers/{customerId}/paymentsAccounts

网址采用 gRPC 转码语法。

路径参数

参数
customerId

string

必需。要应用 PaymentsAccount 列表操作的客户的 ID。

请求正文

请求正文必须为空。

响应正文

PaymentsAccountService.ListPaymentsAccounts 的响应消息。

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

JSON 表示法
{
  "paymentsAccounts": [
    {
      object (PaymentsAccount)
    }
  ]
}
字段
paymentsAccounts[]

object (PaymentsAccount)

可访问的付款帐号的列表。

授权范围

需要以下 OAuth 作用域:

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

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

PaymentsAccount

付款帐号,可用于为 Google Ads 客户设置结算信息。

JSON 表示法
{
  "resourceName": string,
  "paymentsAccountId": string,
  "name": string,
  "currencyCode": string,
  "paymentsProfileId": string,
  "secondaryPaymentsProfileId": string,
  "payingManagerCustomer": string
}
字段
resourceName

string

仅供输出。付款帐号的资源名称。PaymentsAccount 资源名称采用以下格式:

customers/{customerId}/paymentsAccounts/{paymentsAccountId}

paymentsAccountId

string

仅供输出。用于标识付款帐号的 16 位数字 ID。

name

string

仅供输出。付款帐号的名称。

currencyCode

string

仅供输出。付款账号的币种代码。支持源自 ISO 4217 标准的货币代码子集。

paymentsProfileId

string

仅供输出。用于标识与付款帐号相关联的付款资料的 12 位数字 ID。

secondaryPaymentsProfileId

string

仅供输出。在不常见的情况(例如,签订了顺序责任协议时)下出现的二级付款资料 ID。

payingManagerCustomer

string

仅供输出。此付款账号的付款经理账号。