返回与层次结构中的登录客户 ID 和指定服务客户(含边界值)之间的所有经理相关联的所有付款账号。
抛出的错误的列表:AuthenticationError AuthorizationError HeaderError InternalError PaymentsAccountError QuotaError RequestError
HTTP 请求
GET https://googleads.googleapis.com/v17/customers/{customerId}/paymentsAccounts
网址采用 gRPC 转码语法。
路径参数
参数 | |
---|---|
customerId |
必需。要应用 PaymentsAccount 列出操作的客户 ID。 |
请求正文
请求正文必须为空。
响应正文
PaymentsAccountService.ListPaymentsAccounts
的响应消息。
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
---|
{
"paymentsAccounts": [
{
object ( |
字段 | |
---|---|
paymentsAccounts[] |
可访问的付款账号列表。 |
授权范围
需要以下 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 |
仅限输出。付款账号的资源名称。PaymentsAccount 资源名称采用以下格式:
|
paymentsAccountId |
仅限输出。用于标识付款账号的 16 位数字 ID。 |
name |
仅限输出。付款账号的名称。 |
currencyCode |
仅限输出。付款账号的货币代码。支持派生自 ISO 4217 标准的部分货币代码。 |
paymentsProfileId |
仅限输出。一个 12 位数的 ID,用于标识与付款账号相关联的付款资料。 |
secondaryPaymentsProfileId |
仅限输出。在不常见的情况下(例如签订了顺序责任协议时)出现的二级付款资料 ID。 |
payingManagerCustomer |
仅限输出。此付款账号的付款经理账号。 |