class AdvertisersManualTriggers extends Resource (View source)

The "manualTriggers" collection of methods.

Typical usage is:

 $displayvideoService = new Google\Service\DisplayVideo(...);
 $manualTriggers = $displayvideoService->advertisers_manualTriggers;

Methods

activate(string $advertiserId, string $triggerId, ActivateManualTriggerRequest $postBody, array $optParams = [])

Activates a manual trigger. Each activation of the manual trigger must be at least 5 minutes apart, otherwise an error will be returned. 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. (manualTriggers.activate)

create(string $advertiserId, ManualTrigger $postBody, array $optParams = [])

Creates a new manual trigger. Returns the newly created 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.

deactivate(string $advertiserId, string $triggerId, DeactivateManualTriggerRequest $postBody, array $optParams = [])

Deactivates a manual trigger. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1,

  1. Read our feature deprecation announcement for more information.

get(string $advertiserId, string $triggerId, array $optParams = [])

Gets a manual trigger. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1,

  1. Read our feature deprecation announcement for more information.

listAdvertisersManualTriggers(string $advertiserId, array $optParams = [])

Lists manual triggers that are accessible to the current user for a given advertiser ID. The order is defined by the order_by parameter. A single advertiser_id is required. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1,

  1. Read our feature deprecation announcement for more information.

patch(string $advertiserId, string $triggerId, ManualTrigger $postBody, array $optParams = [])

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

Details

ManualTrigger activate(string $advertiserId, string $triggerId, ActivateManualTriggerRequest $postBody, array $optParams = [])

Activates a manual trigger. Each activation of the manual trigger must be at least 5 minutes apart, otherwise an error will be returned. 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. (manualTriggers.activate)

Parameters

string $advertiserId

Required. The ID of the advertiser that the manual trigger belongs.

string $triggerId

Required. The ID of the manual trigger to activate.

ActivateManualTriggerRequest $postBody
array $optParams

Optional parameters.

Return Value

ManualTrigger

ManualTrigger create(string $advertiserId, ManualTrigger $postBody, array $optParams = [])

Creates a new manual trigger. Returns the newly created 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.

(manualTriggers.create)

Parameters

string $advertiserId

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

ManualTrigger $postBody
array $optParams

Optional parameters.

Return Value

ManualTrigger

ManualTrigger deactivate(string $advertiserId, string $triggerId, DeactivateManualTriggerRequest $postBody, array $optParams = [])

Deactivates a manual trigger. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1,

  1. Read our feature deprecation announcement for more information.

(manualTriggers.deactivate)

Parameters

string $advertiserId

Required. The ID of the advertiser that the manual trigger belongs.

string $triggerId

Required. The ID of the manual trigger to deactivate.

DeactivateManualTriggerRequest $postBody
array $optParams

Optional parameters.

Return Value

ManualTrigger

ManualTrigger get(string $advertiserId, string $triggerId, array $optParams = [])

Gets a manual trigger. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1,

  1. Read our feature deprecation announcement for more information.

(manualTriggers.get)

Parameters

string $advertiserId

Required. The ID of the advertiser this manual trigger belongs to.

string $triggerId

Required. The ID of the manual trigger to fetch.

array $optParams

Optional parameters.

Return Value

ManualTrigger

ListManualTriggersResponse listAdvertisersManualTriggers(string $advertiserId, array $optParams = [])

Lists manual triggers that are accessible to the current user for a given advertiser ID. The order is defined by the order_by parameter. A single advertiser_id is required. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1,

  1. Read our feature deprecation announcement for more information.

(manualTriggers.listAdvertisersManualTriggers)

Parameters

string $advertiserId

Required. The ID of the advertiser that the fetched manual triggers belong to.

array $optParams

Optional parameters.

Return Value

ListManualTriggersResponse

ManualTrigger patch(string $advertiserId, string $triggerId, ManualTrigger $postBody, array $optParams = [])

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. (manualTriggers.patch)

Parameters

string $advertiserId

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

string $triggerId

Output only. The unique ID of the manual trigger.

ManualTrigger $postBody
array $optParams

Optional parameters.

Return Value

ManualTrigger