customers

GET /v23/customers/{customersId}/invoices

Returns all invoices associated with a billing setup, for a given month. List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError InvoiceError QuotaError RequestError

Request

  • Base URL
    https://searchads360.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/doubleclicksearch
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/doubleclicksearch
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

customersIdstring required

Query parameters

billingSetupstring

Required. The billing setup resource name of the requested invoices. customers/{customer_id}/billingSetups/{billing_setup_id}

includeGranularLevelInvoiceDetailsboolean

Optional. When true, the response will include more granular level invoice details such as campaign level cost breakdown, itemized regulatory costs and adjustments. The default value is false.

issueMonth'UNSPECIFIED' | 'UNKNOWN' | 'JANUARY' | 'FEBRUARY' | 'MARCH' | 'APRIL' | 'MAY' | 'JUNE' | 'JULY' | 'AUGUST' | 'SEPTEMBER' | 'OCTOBER' | 'NOVEMBER' | 'DECEMBER'

Required. The issue month to retrieve invoices.

issueYearstring

Required. The issue year to retrieve invoices, in yyyy format. Only invoices issued in 2019 or later can be retrieved.

Response

Successful response

Changes

No recorded changes to this operation across all 4 revisions of this API.