A partire dall'8 settembre 2025, ogni nuovo elemento pubblicitario dovrà dichiarare se pubblicherà o meno annunci politici dell'Unione Europea (UE). I caricamenti di API Display & Video 360 e SDF che non forniscono dichiarazioni non andranno a buon fine. Consulta la nostra pagina dei ritiri per ulteriori dettagli su come aggiornare l'integrazione per effettuare questa dichiarazione.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eThe Display & Video 360 API v1 has been sunset and this documentation details the v1 endpoint to retrieve an advertiser's invoice currency.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve the invoice currency for a specific month using the \u003ccode\u003einvoiceMonth\u003c/code\u003e query parameter in YYYYMM format.\u003c/p\u003e\n"],["\u003cp\u003eThe API requires authorization with specific OAuth scopes like \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/display-video-mediaplanning\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe response will provide the \u003ccode\u003ecurrencyCode\u003c/code\u003e in ISO 4217 format if the request is successful.\u003c/p\u003e\n"]]],["This document outlines the process for retrieving an advertiser's invoice currency using the Display & Video 360 API. The core action is a `GET` request to `https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/invoices:lookupInvoiceCurrency`. This requires the `advertiserId` path parameter and an optional `invoiceMonth` query parameter in YYYYMM format. The request body is empty. The successful response provides a `currencyCode` string in ISO 4217 format, and authorization needs display-video or display-video-mediaplanning scope.\n"],null,["# Method: advertisers.invoices.lookupInvoiceCurrency\n\n| Display \\& Video 360 API v1 has been sunset.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.LookupInvoiceCurrencyResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieves the invoice currency used by an advertiser in a given month.\n\n### HTTP request\n\n`GET https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/invoices:lookupInvoiceCurrency`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the advertiser to lookup currency for. |\n\n### Query parameters\n\n| Parameters ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------|\n| ``` { \"currencyCode\": string } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------|\n| `currencyCode` | `string` Currency used by the advertiser in ISO 4217 format. |\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/display-video`\n- `https://www.googleapis.com/auth/display-video-mediaplanning`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]