Class AdvertisersResource.ManualTriggersResource.CreateRequest
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.
Inheritance
AdvertisersResource.ManualTriggersResource.CreateRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class AdvertisersResource.ManualTriggersResource.CreateRequest : DisplayVideoBaseServiceRequest<ManualTrigger>, IClientServiceRequest<ManualTrigger>, IClientServiceRequest
Constructors
CreateRequest(IClientService, ManualTrigger, long)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, ManualTrigger body, long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ManualTrigger | body | |
long | advertiserId |
Properties
AdvertiserId
Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to.
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()