Class CustomersResource.IncentivesResource.ApplyIncentiveRequest
Applies the incentive for the ads customer.
Inheritance
CustomersResource.IncentivesResource.ApplyIncentiveRequest
Implements
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.IncentivesResource.ApplyIncentiveRequest : SA360BaseServiceRequest<GoogleAdsSearchads360V23ServicesApplyIncentiveResponse>, IClientServiceRequest<GoogleAdsSearchads360V23ServicesApplyIncentiveResponse>, IClientServiceRequest
Constructors
ApplyIncentiveRequest(IClientService, GoogleAdsSearchads360V23ServicesApplyIncentiveRequest, string, long)
Constructs a new ApplyIncentive request.
Declaration
public ApplyIncentiveRequest(IClientService service, GoogleAdsSearchads360V23ServicesApplyIncentiveRequest body, string customerId, long selectedIncentiveId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleAdsSearchads360V23ServicesApplyIncentiveRequest | body | |
| string | customerId | |
| long | selectedIncentiveId |
Properties
CustomerId
The customer ID of the account that the incentive is being applied to.
Declaration
[RequestParameter("customerId", RequestParameterType.Path)]
public virtual string CustomerId { get; }
Property Value
| Type | Description |
|---|---|
| string |
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
SelectedIncentiveId
The incentive ID of this incentive. This is used to identify which incentive is selected by the user in the CYO flow.
Declaration
[RequestParameter("selectedIncentiveId", RequestParameterType.Path)]
public virtual long SelectedIncentiveId { 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 ApplyIncentive parameter list.
Declaration
protected override void InitParameters()