Method: advertisers.manualTriggers.patch

  • This page details how to update a manual trigger using a PATCH request to the specified URL, requiring an advertiser ID and trigger ID as path parameters.

  • The update mask is a required query parameter used to specify which fields of the manual trigger should be updated.

  • The request and response bodies both contain an instance of a ManualTrigger resource.

  • Authorization to perform this action requires the https://www.googleapis.com/auth/display-video OAuth scope.

Updates a manual trigger. Returns the updated manual trigger if successful.

HTTP request

PATCH https://displayvideo.googleapis.com/v1beta2/advertisers/{manualTrigger.advertiserId}/manualTriggers/{manualTrigger.triggerId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
manualTrigger.advertiserId

string (int64 format)

Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to.

manualTrigger.triggerId

string (int64 format)

Output only. The unique ID of the manual trigger.

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

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.