Class CustomersResource.RecommendationsResource.GenerateRequest
Generates Recommendations based off the requested recommendation_types. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RecommendationError RequestError
Inheritance
CustomersResource.RecommendationsResource.GenerateRequest
Implements
Inherited Members
SA360BaseServiceRequest<GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse>.AccessToken
SA360BaseServiceRequest<GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse>.PrettyPrint
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.RecommendationsResource.GenerateRequest : SA360BaseServiceRequest<GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse>, IClientServiceRequest<GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse>, IClientServiceRequest
Constructors
GenerateRequest(IClientService, GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest, string)
Constructs a new Generate request.
Declaration
public GenerateRequest(IClientService service, GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest body, string customerId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest | body | |
| string | customerId |
Properties
CustomerId
Required. The ID of the customer generating recommendations.
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Generate parameter list.
Declaration
protected override void InitParameters()