Method: advertisers.invoices.lookupInvoiceCurrency

  • This page provides documentation for the lookupInvoiceCurrency method, which retrieves the invoice currency for an advertiser in a specific month.

  • The method uses a GET HTTP request with a path parameter for the advertiser ID and an optional query parameter for the invoice month.

  • The request body must be empty, and a successful response includes the currency code in ISO 4217 format.

  • Authorization requires specific OAuth scopes related to display video.

Retrieves the invoice currency used by an advertiser in a given month.

HTTP request

GET https://displayvideo.googleapis.com/v4/advertisers/{advertiserId}/invoices:lookupInvoiceCurrency

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the advertiser to lookup currency for.

Query parameters

Parameters
invoiceMonth

string

Month for which the currency is needed. If not set, the request will return existing currency settings for the advertiser.

Must be in the format YYYYMM.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "currencyCode": string
}
Fields
currencyCode

string

Currency used by the advertiser in ISO 4217 format.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/display-video
  • https://www.googleapis.com/auth/display-video-mediaplanning

For more information, see the OAuth 2.0 Overview.