À partir du 8 septembre 2025, chaque nouvelle ligne devra indiquer si elle diffusera ou non des annonces à caractère politique dans l'Union européenne (UE). Les importations de fichiers SDF et les appels à l'API Display & Video 360 qui ne fournissent pas de déclarations échoueront. Pour savoir comment mettre à jour votre intégration afin d'effectuer cette déclaration, consultez notre page sur les abandons de compatibilité.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 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)."]]