AI-generated Key Takeaways
-
Display & Video 360 API v3 has sunset, and users should use v4 instead.
-
This page describes how to retrieve the invoice currency for an advertiser in a given month using the v3 API, despite its sunset.
-
The API request uses a GET method with path and optional query parameters, but an empty request body.
-
The response body contains the currency code in ISO 4217 format if successful.
-
The request requires specific OAuth scopes for authorization.
- 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.