Class IncentivesResource.FetchIncentiveRequest
Returns incentives for a given user.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class IncentivesResource.FetchIncentiveRequest : SA360BaseServiceRequest<GoogleAdsSearchads360V23ServicesFetchIncentiveResponse>, IClientServiceRequest<GoogleAdsSearchads360V23ServicesFetchIncentiveResponse>, IClientServiceRequest
Constructors
FetchIncentiveRequest(IClientService)
Constructs a new FetchIncentive request.
Declaration
public FetchIncentiveRequest(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
CountryCode
Optional. User's country code. If not provided, the server will default to "US". Possible country codes: https://developers.google.com/google-ads/api/data/codes-formats#country_codes
Declaration
[RequestParameter("countryCode", RequestParameterType.Query)]
public virtual string CountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Optional. Email of the user that the requested incentive is meant for. Will be used for channel partners who do NOT use OAuth to authenticate on behalf of user.
Declaration
[RequestParameter("email", RequestParameterType.Query)]
public virtual string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
LanguageCode
Optional. User's language code. If not provided, the server will default to "en". Possible language codes: https://developers.google.com/google-ads/api/data/codes-formats#languages
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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
Type
Optional. The type of incentive to get. Defaults to ACQUISITION.
Declaration
[RequestParameter("type", RequestParameterType.Query)]
public virtual IncentivesResource.FetchIncentiveRequest.TypeEnum? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| IncentivesResource.FetchIncentiveRequest.TypeEnum? |
Methods
InitParameters()
Initializes FetchIncentive parameter list.
Declaration
protected override void InitParameters()