Method: advertisers.patch

  • 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.

Updates an existing advertiser. Returns the updated advertiser if successful.

HTTP request

PATCH https://displayvideo.googleapis.com/v3/advertisers/{advertiser.advertiserId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiser.advertiserId

string (int64 format)

Output only. The unique ID of the advertiser. Assigned by the system.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The mask to control which fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Advertiser.

Response body

If successful, the response body contains an instance of Advertiser.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video

For more information, see the OAuth 2.0 Overview.