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.
Crea un nuovo trigger manuale. Restituisce il trigger manuale appena creato in caso di esito positivo.
Avviso:gli elementi pubblicitari che utilizzano trigger manuali non vengono più pubblicati in Display & Video 360. Questo metodo verrà ritirato il 1° agosto 2023. Per saperne di più, leggi il nostro annuncio sul ritiro della funzionalità.
Richiesta HTTP
POST https://displayvideo.googleapis.com/v2/advertisers/{manualTrigger.advertiserId}/manualTriggers
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003eDisplay & Video 360 API v2 has been sunset and manual triggers will sunset on August 1, 2023.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation details how to create a new manual trigger using the API, returning the trigger if successful.\u003c/p\u003e\n"],["\u003cp\u003eThe API request utilizes an HTTP POST method with specific path parameters and requires authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both use the ManualTrigger object, and further details can be found in linked documentation.\u003c/p\u003e\n"],["\u003cp\u003eFor authentication, the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e OAuth scope is necessary.\u003c/p\u003e\n"]]],[],null,["# Method: advertisers.manualTriggers.create\n\n| Display \\& Video 360 API v2 has sunset.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a new manual trigger. Returns the newly created manual trigger if successful.\n\n**Warning:** Line Items using manual triggers no longer serve in Display \\& Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation announcement](/display-video/api/deprecations#features.manual_triggers) for more information.\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v2/advertisers/{manualTrigger.advertiserId}/manualTriggers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `manualTrigger.advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to. |\n\n### Request body\n\nThe request body contains an instance of [ManualTrigger](/display-video/api/reference/rest/v2/advertisers.manualTriggers#ManualTrigger).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [ManualTrigger](/display-video/api/reference/rest/v2/advertisers.manualTriggers#ManualTrigger).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]