Method: advertisers.patch

  • This document details how to update an existing advertiser using the Display & Video 360 API v2 PATCH method.

  • The request uses the URL https://displayvideo.googleapis.com/v2/advertisers/{advertiser.advertiserId} and requires an advertiser.advertiserId as a path parameter and an updateMask as a required query parameter.

  • The request and response bodies contain an instance of an Advertiser object.

  • Authorization for this action 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/v2/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.