Method: advertisers.patch

  • Display & Video 360 API v1 is sunset and this documentation details the update method for existing advertisers.

  • The API endpoint for updating an advertiser is PATCH https://displayvideo.googleapis.com/v1/advertisers/{advertiser.advertiserId} and utilizes gRPC Transcoding.

  • To update specific advertiser fields, provide a updateMask query parameter with a comma-separated list of field names.

  • The request body should contain the updated advertiser data as defined in the Advertiser resource, and a successful response will return 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/v1/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.