Method: advertisers.manualTriggers.patch

  • Display & Video 360 API v2, including the method to update manual triggers, is sunsetting on August 1, 2023.

  • This documentation details the process for updating a manual trigger using the API, but this functionality will soon be unavailable.

  • The request requires specifying the advertiser and trigger IDs, along with an update mask to indicate the fields to modify.

  • Successful requests will return the updated ManualTrigger object.

  • Authorization requires the https://www.googleapis.com/auth/display-video scope.

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

Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our feature deprecation announcement for more information.

HTTP request

PATCH https://displayvideo.googleapis.com/v2/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.