Method: advertisers.patch
Aktualizuje istniejącego reklamodawcę. W razie powodzenia zwraca zaktualizowany rekord reklamodawcy.
Żądanie HTTP
PATCH https://displayvideo.googleapis.com/v3/advertisers/{advertiser.advertiserId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
advertiser.advertiserId |
string (int64 format)
Tylko dane wyjściowe. Unikalny identyfikator reklamodawcy. Przypisany przez system.
|
Parametry zapytania
Parametry |
updateMask |
string (FieldMask format)
Wymagany. Maska określająca, które pola mają zostać zaktualizowane. Jest to lista pełnych nazw pól rozdzielona przecinkami. Przykład: "user.displayName,photo" .
|
Treść żądania
Treść żądania zawiera wystąpienie elementu Advertiser
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Advertiser
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/display-video
Więcej informacji znajdziesz w OAuth 2.0 Overview.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-02-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-02-25 UTC."],[[["This operation updates an existing advertiser using an HTTP PATCH request to the specified URL."],["You need to provide the advertiser ID as a path parameter and specify the fields to update using the `updateMask` query parameter."],["The request body should contain the updated advertiser details as defined in the `Advertiser` resource."],["Upon success, the API returns the updated `Advertiser` resource."],["Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["This describes updating an advertiser using a PATCH request to a specified URL. The request requires the advertiser's unique ID in the path and an `updateMask` in the query to indicate which fields to modify. The request body contains the updated `Advertiser` data. A successful response returns the modified `Advertiser`. The process requires OAuth scope authorization. The URL follows gRPC Transcoding syntax. The advertiser id is provided by the system.\n"]]