Cada línea de pedido nueva debe declarar si publicará anuncios políticos de la Unión Europea (UE). Las cargas de la API de Display & Video 360 y del SDF que no proporcionen declaraciones fallarán. Consulta nuestra página de bajas para obtener más detalles.
Crea un activador manual nuevo. Muestra el activador manual recién creado si se ejecuta correctamente.
Advertencia: Las líneas de pedido que usan activadores manuales ya no se publican en Display & Video 360. Este método dejará de estar disponible el 1 de agosto de 2023. Lee nuestro anuncio de baja de funciones para obtener más información.
Solicitud HTTP
POST https://displayvideo.googleapis.com/v1/advertisers/{manualTrigger.advertiserId}/manualTriggers
[null,null,["Última actualización: 2025-07-25 (UTC)"],[[["\u003cp\u003eDisplay & Video 360 API v1 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, including the request and response formats.\u003c/p\u003e\n"],["\u003cp\u003eThe API requires specific authorization scopes for access and utilizes gRPC Transcoding syntax for the URL.\u003c/p\u003e\n"],["\u003cp\u003eManual triggers, despite the creation functionality, are no longer served in Display & Video 360.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should refer to the feature deprecation announcement for further information and alternative solutions.\u003c/p\u003e\n"]]],["The document outlines the process of creating a new manual trigger using the Display & Video 360 API v1, which is now sunset. The HTTP request is a POST to a specific URL including the advertiser's ID. The request body requires a `ManualTrigger` instance, and a successful response returns a newly created `ManualTrigger` instance. Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope. This method no longer function since it was sunset on August 1, 2023.\n"],null,["# Method: advertisers.manualTriggers.create\n\n| Display \\& Video 360 API v1 has been 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/v1/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/v1/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/v1/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)."]]