- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- PaymentsAccount
- Try it!
Returns all payments accounts associated with all managers between the login customer ID and specified serving customer in the hierarchy, inclusive.
List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError PaymentsAccountError QuotaError RequestError
HTTP request
GET https://googleads.googleapis.com/v17/customers/{customerId}/paymentsAccounts
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
Required. The ID of the customer to apply the PaymentsAccount list operation to. |
Request body
The request body must be empty.
Response body
Response message for PaymentsAccountService.ListPaymentsAccounts
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"paymentsAccounts": [
{
object ( |
Fields | |
---|---|
paymentsAccounts[] |
The list of accessible payments accounts. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
PaymentsAccount
A payments account, which can be used to set up billing for an Ads customer.
JSON representation |
---|
{ "resourceName": string, "paymentsAccountId": string, "name": string, "currencyCode": string, "paymentsProfileId": string, "secondaryPaymentsProfileId": string, "payingManagerCustomer": string } |
Fields | |
---|---|
resourceName |
Output only. The resource name of the payments account. PaymentsAccount resource names have the form:
|
paymentsAccountId |
Output only. A 16 digit ID used to identify a payments account. |
name |
Output only. The name of the payments account. |
currencyCode |
Output only. The currency code of the payments account. A subset of the currency codes derived from the ISO 4217 standard is supported. |
paymentsProfileId |
Output only. A 12 digit ID used to identify the payments profile associated with the payments account. |
secondaryPaymentsProfileId |
Output only. A secondary payments profile ID present in uncommon situations, for example, when a sequential liability agreement has been arranged. |
payingManagerCustomer |
Output only. Paying manager of this payment account. |