Google Campaign Manager Advertiser Invoices API

The AdvertiserInvoices API from Google Campaign Manager — 1 operation(s) for advertiserinvoices.

GitHub OpenAPI

Operations 1

GET /dfareporting/v5/userprofiles/{userprofilesId}/advertisers/{advertisersId}/invoices List advertiserInvoices #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-campaign-manager:google-campaign-manager-advertiserinvoices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-campaign-manager-advertiserinvoices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Campaign Manager 360 Advertiser Invoices API
  version: v5
  description: Generated from Google's published Discovery document for Campaign Manager 360 API (dfareporting v5, revision 20261107). 1 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://dfareporting.googleapis.com
tags:
- name: AdvertiserInvoices
paths:
  /dfareporting/v5/userprofiles/{userprofilesId}/advertisers/{advertisersId}/invoices:
    get:
      operationId: dfareporting.advertiserInvoices.list
      summary: List advertiserInvoices
      description: Retrieves a list of invoices for a particular issue month. The api only works if the billing profile invoice level is set to either advertiser or campaign non-consolidated invoice level.
      parameters:
      - name: userprofilesId
        in: path
        required: true
        description: Resource name segment (userprofilesId).
        schema:
          type: string
      - name: advertisersId
        in: path
        required: true
        description: Resource name segment (advertisersId).
        schema:
          type: string
      - name: issueMonth
        in: query
        required: false
        description: Month for which invoices are needed in the format YYYYMM. Required field
        schema:
          type: string
      - name: maxResults
        in: query
        required: false
        description: Maximum number of results to return.
        schema:
          format: int32
          default: '1000'
          type: integer
      - name: pageToken
        in: query
        required: false
        description: Value of the nextPageToken from the previous result page.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdvertiserInvoicesListResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/dfatrafficking
      - apiKey: []
      tags:
      - AdvertiserInvoices
components:
  schemas:
    Invoice:
      properties:
        subtotalAmountMicros:
          format: int64
          type: string
          description: The pre-tax subtotal amount, in micros of the invoice's currency.
        kind:
          description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#invoice".'
          type: string
        invoiceType:
          type: string
          enum:
          - INVOICE_TYPE_UNSPECIFIED
          - INVOICE_TYPE_CREDIT
          - INVOICE_TYPE_INVOICE
          description: The type of invoice document.
        totalAmountMicros:
          description: The invoice total amount, in micros of the invoice's currency.
          type: string
          format: int64
        serviceEndDate:
          type: string
          description: The invoice service end date.
        purchaseOrderNumber:
          description: Purchase order number associated with the invoice.
          type: string
        id:
          type: string
          description: ID of this invoice.
        pdfUrl:
          type: string
          description: 'The URL to download a PDF copy of the invoice. Note that this URL is user specific and requires a valid OAuth 2.0 access token to access. The access token must be provided in an *Authorization: Bearer* HTTP header. The URL will only be usable for 7 days from when the api is called.'
        currencyCode:
          type: string
          description: Invoice currency code in ISO 4217 format.
        paymentsProfileId:
          type: string
          description: The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as *Billing ID*.
        serviceStartDate:
          description: The invoice service start date.
          type: string
        campaign_summaries:
          description: The list of summarized campaign information associated with this invoice.
          items:
            $ref: '#/components/schemas/CampaignSummary'
          type: array
        issueDate:
          description: The date when the invoice was issued.
          type: string
        dueDate:
          type: string
          description: The invoice due date.
        correctedInvoiceId:
          type: string
          description: The originally issued invoice that is being adjusted by this invoice, if applicable. May appear on invoice PDF as *Reference invoice number*.
        totalTaxAmountMicros:
          type: string
          format: int64
          description: The sum of all taxes in invoice, in micros of the invoice's currency.
        paymentsAccountId:
          type: string
          description: The ID of the payments account the invoice belongs to. Appears on the invoice PDF as *Billing Account Number*.
        replacedInvoiceIds:
          type: array
          items:
            type: string
          description: 'The originally issued invoice(s) that is being cancelled by this invoice, if applicable. May appear on invoice PDF as *Replaced invoice numbers*. Note: There may be multiple replaced invoices due to consolidation of multiple invoices into a single invoice.'
      description: Contains information about a single invoice
      type: object
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    CampaignSummary:
      description: Represents a summarized campaign information associated with this invoice.
      type: object
      properties:
        totalAmountMicros:
          description: The total amount of charges for this campaign, in micros of the invoice's currency.
          format: int64
          type: string
        taxAmountMicros:
          type: string
          format: int64
          description: The tax amount for this campaign, in micros of the invoice's currency.
        campaignId:
          format: int64
          description: Campaign ID.
          type: string
        billingInvoiceCode:
          description: Campaign billing invoice code.
          type: string
        preTaxAmountMicros:
          description: The pre-tax amount for this campaign, in micros of the invoice's currency.
          format: int64
          type: string
    AdvertiserInvoicesListResponse:
      description: Invoice List Response
      properties:
        nextPageToken:
          type: string
          description: Pagination token to be used for the next list operation.
        invoices:
          description: Invoice collection
          items:
            $ref: '#/components/schemas/Invoice'
          type: array
        kind:
          description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserInvoicesListResponse".'
          type: string
      type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/ddmconversions: Manage DoubleClick Digital Marketing conversions
            https://www.googleapis.com/auth/dfatrafficking: View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
            https://www.googleapis.com/auth/dfareporting: View and manage DoubleClick for Advertisers reports
externalDocs:
  url: https://developers.google.com/doubleclick-advertisers/
x-provenance:
  method: harvested
  publisher: Google
  source: https://dfareporting.googleapis.com/$discovery/rest?version=v5
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261107)