AI-generated Key Takeaways
-
This endpoint retrieves the invoice currency used by a specified advertiser for a given month using an HTTP GET request.
-
The request requires an
advertiserId
as a path parameter and optionally accepts aninvoiceMonth
in YYYYMM format as a query parameter. -
If successful, the response returns the currency code in ISO 4217 format within a JSON object.
-
To use this endpoint, you need authorization with either the
https://www.googleapis.com/auth/display-video
orhttps://www.googleapis.com/auth/display-video-mediaplanning
OAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Retrieves the invoice currency used by an advertiser in a given month.
HTTP request
GET https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/invoices:lookupInvoiceCurrency
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
advertiserId |
Required. The ID of the advertiser to lookup currency for. |
Query parameters
Parameters | |
---|---|
invoiceMonth |
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 |
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.