AI-generated Key Takeaways
-
Display & Video 360 API v2 has sunset.
-
This document provides information on how to retrieve the invoice currency used by an advertiser in a given month.
-
The request uses a GET HTTP method and requires an
advertiserId
path parameter and an optionalinvoiceMonth
query parameter. -
A successful response will contain a JSON object with a
currencyCode
field indicating the currency used by the advertiser. -
Authorization requires one of the specified OAuth scopes.
- 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/v2/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.