Class AdvertisersResource.ManualTriggersResource
The "manualTriggers" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class AdvertisersResource.ManualTriggersResource
Constructors
ManualTriggersResource(IClientService)
Constructs a new resource.
Declaration
public ManualTriggersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Activate(ActivateManualTriggerRequest, long, long)
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.
Declaration
public virtual AdvertisersResource.ManualTriggersResource.ActivateRequest Activate(ActivateManualTriggerRequest body, long advertiserId, long triggerId)
Parameters
Type | Name | Description |
---|---|---|
ActivateManualTriggerRequest | body | The body of the request. |
long | advertiserId | Required. The ID of the advertiser that the manual trigger belongs. |
long | triggerId | Required. The ID of the manual trigger to activate. |
Returns
Type | Description |
---|---|
AdvertisersResource.ManualTriggersResource.ActivateRequest |
Create(ManualTrigger, long)
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.
Declaration
public virtual AdvertisersResource.ManualTriggersResource.CreateRequest Create(ManualTrigger body, long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
ManualTrigger | body | The body of the request. |
long | advertiserId | Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to. |
Returns
Type | Description |
---|---|
AdvertisersResource.ManualTriggersResource.CreateRequest |
Deactivate(DeactivateManualTriggerRequest, long, long)
Deactivates a manual trigger. 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.
Declaration
public virtual AdvertisersResource.ManualTriggersResource.DeactivateRequest Deactivate(DeactivateManualTriggerRequest body, long advertiserId, long triggerId)
Parameters
Type | Name | Description |
---|---|---|
DeactivateManualTriggerRequest | body | The body of the request. |
long | advertiserId | Required. The ID of the advertiser that the manual trigger belongs. |
long | triggerId | Required. The ID of the manual trigger to deactivate. |
Returns
Type | Description |
---|---|
AdvertisersResource.ManualTriggersResource.DeactivateRequest |
Get(long, long)
Gets a manual trigger. 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.
Declaration
public virtual AdvertisersResource.ManualTriggersResource.GetRequest Get(long advertiserId, long triggerId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser this manual trigger belongs to. |
long | triggerId | Required. The ID of the manual trigger to fetch. |
Returns
Type | Description |
---|---|
AdvertisersResource.ManualTriggersResource.GetRequest |
List(long)
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, 2023. Read our feature deprecation announcement for more information.
Declaration
public virtual AdvertisersResource.ManualTriggersResource.ListRequest List(long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser that the fetched manual triggers belong to. |
Returns
Type | Description |
---|---|
AdvertisersResource.ManualTriggersResource.ListRequest |
Patch(ManualTrigger, long, long)
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.
Declaration
public virtual AdvertisersResource.ManualTriggersResource.PatchRequest Patch(ManualTrigger body, long advertiserId, long triggerId)
Parameters
Type | Name | Description |
---|---|---|
ManualTrigger | body | The body of the request. |
long | advertiserId | Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to. |
long | triggerId | Output only. The unique ID of the manual trigger. |
Returns
Type | Description |
---|---|
AdvertisersResource.ManualTriggersResource.PatchRequest |