Class AdvertisersResource.ManualTriggersResource.DeactivateRequest
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.
Inheritance
AdvertisersResource.ManualTriggersResource.DeactivateRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class AdvertisersResource.ManualTriggersResource.DeactivateRequest : DisplayVideoBaseServiceRequest<ManualTrigger>, IClientServiceRequest<ManualTrigger>, IClientServiceRequest
Constructors
DeactivateRequest(IClientService, DeactivateManualTriggerRequest, long, long)
Constructs a new Deactivate request.
Declaration
public DeactivateRequest(IClientService service, DeactivateManualTriggerRequest body, long advertiserId, long triggerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DeactivateManualTriggerRequest | 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 deactivate.
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 Deactivate parameter list.
Declaration
protected override void InitParameters()