Search Ads 360 Reporting API . customers . paymentsAccounts

Instance Methods

close()

Close httplib2 connections.

list(customerId, x__xgafv=None)

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]()

Method Details

close()
Close httplib2 connections.
list(customerId, x__xgafv=None)
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]()

Args:
  customerId: string, Required. The ID of the customer to apply the PaymentsAccount list operation to. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for PaymentsAccountService.ListPaymentsAccounts.
  "paymentsAccounts": [ # The list of accessible payments accounts.
    { # A payments account, which can be used to set up billing for an Ads customer.
      "currencyCode": "A String", # Output only. The currency code of the payments account. A subset of the currency codes derived from the ISO 4217 standard is supported.
      "name": "A String", # Output only. The name of the payments account.
      "payingManagerCustomer": "A String", # Output only. Paying manager of this payment account.
      "paymentsAccountId": "A String", # Output only. A 16 digit ID used to identify a payments account.
      "paymentsProfileId": "A String", # Output only. A 12 digit ID used to identify the payments profile associated with the payments account.
      "resourceName": "A String", # Output only. The resource name of the payments account. PaymentsAccount resource names have the form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}`
      "secondaryPaymentsProfileId": "A String", # Output only. A secondary payments profile ID present in uncommon situations, for example, when a sequential liability agreement has been arranged.
    },
  ],
}