W przypadku każdego nowego elementu zamówienia musisz zadeklarować, czy będzie on wyświetlać reklamy polityczne w Unii Europejskiej (UE). Przesyłanie plików SDF i interfejsu Display & Video 360 API, które nie zawierają deklaracji, zakończy się niepowodzeniem. Więcej informacji znajdziesz na naszej stronie dotyczącej wycofywania.
Tworzy nowy aktywator ręczny. Jeśli operacja się uda, zwraca nowo utworzony wyzwalacz ręczny.
Ostrzeżenie: elementy zamówienia korzystające z ręcznych wywołań nie są już wyświetlane w Display & Video 360. Ta metoda zostanie wycofana 1 sierpnia 2023 r. Więcej informacji znajdziesz w ogłoszeniu o wycofaniu funkcji.
Żądanie HTTP
POST https://displayvideo.googleapis.com/v2/advertisers/{manualTrigger.advertiserId}/manualTriggers
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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)."]]