# REST Resource: advertisers.manualTriggers

> [!WARNING]
> Display \& Video 360 API v1 has been sunset.

- [Resource: ManualTrigger](https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers#ManualTrigger)
  - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers#ManualTrigger.SCHEMA_REPRESENTATION)
- [State](https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers#State)
- [Methods](https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers#METHODS_SUMMARY)

## Resource: ManualTrigger

A single manual trigger in Display \& Video 360.

**Warning:** Line Items using manual triggers no longer serve in Display \& Video 360. This resource will sunset on August 1, 2023. Read our [feature deprecation announcement](https://developers.google.com/display-video/api/deprecations#features.manual_triggers) for more information.

| JSON representation |
|---|
| ``` { "name": string, "advertiserId": string, "triggerId": string, "displayName": string, "activationDurationMinutes": string, "latestActivationTime": string, "state": enum (`https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers#State`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The resource name of the manual trigger. |
| `advertiserId` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to. |
| `triggerId` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The unique ID of the manual trigger. |
| `displayName` | `string` Required. The display name of the manual trigger. Must be UTF-8 encoded with a maximum size of 240 bytes. |
| `activationDurationMinutes` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. The maximum duration of each activation in minutes. Must be between 1 and 360 inclusive. After this duration, the trigger will be automatically deactivated. |
| `latestActivationTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Output only. The timestamp of the trigger's latest activation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `state` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers#State`)`` Output only. The state of the manual trigger. Will be set to the `INACTIVE` state upon creation. |

## State

The state of a manual trigger.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Default value when state is not specified or is unknown in this version. |
| `INACTIVE` | The trigger is currently inactive and ready to be activated. |
| `ACTIVE` | The trigger is currently active (activated). |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers/activate` | Activates a manual trigger. |
| ### `https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers/create` | Creates a new manual trigger. |
| ### `https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers/deactivate` | Deactivates a manual trigger. |
| ### `https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers/get` | Gets a manual trigger. |
| ### `https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers/list` | Lists manual triggers that are accessible to the current user for a given advertiser ID. |
| ### `https://developers.google.com/display-video/api/reference/rest/v1/advertisers.manualTriggers/patch` | Updates a manual trigger. |