Class AdvertisersResource.ManualTriggersResource.ActivateRequest
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.
Inheritance
AdvertisersResource.ManualTriggersResource.ActivateRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class AdvertisersResource.ManualTriggersResource.ActivateRequest : DisplayVideoBaseServiceRequest<ManualTrigger>, IClientServiceRequest<ManualTrigger>, IClientServiceRequest
Constructors
ActivateRequest(IClientService, ActivateManualTriggerRequest, long, long)
Constructs a new Activate request.
Declaration
public ActivateRequest(IClientService service, ActivateManualTriggerRequest body, long advertiserId, long triggerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ActivateManualTriggerRequest | body | |
long | advertiserId | |
long | triggerId |
Properties
AdvertiserId
Required. The ID of the advertiser that the manual trigger belongs.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Path)]
public virtual long AdvertiserId { get; }
Property Value
Type | Description |
---|---|
long |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
TriggerId
Required. The ID of the manual trigger to activate.
Declaration
[RequestParameter("triggerId", RequestParameterType.Path)]
public virtual long TriggerId { get; }
Property Value
Type | Description |
---|---|
long |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Activate parameter list.
Declaration
protected override void InitParameters()