Class CustomersResource.RecommendationsResource
The "recommendations" collection of methods.
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.RecommendationsResource
Constructors
RecommendationsResource(IClientService)
Constructs a new resource.
Declaration
public RecommendationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Apply(GoogleAdsSearchads360V23ServicesApplyRecommendationRequest, string)
Applies given recommendations with corresponding apply parameters. List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError MutateError QuotaError RecommendationError RequestError UrlFieldError
Declaration
public virtual CustomersResource.RecommendationsResource.ApplyRequest Apply(GoogleAdsSearchads360V23ServicesApplyRecommendationRequest body, string customerId)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleAdsSearchads360V23ServicesApplyRecommendationRequest | body | The body of the request. |
| string | customerId | Required. The ID of the customer with the recommendation. |
Returns
| Type | Description |
|---|---|
| CustomersResource.RecommendationsResource.ApplyRequest |
Dismiss(GoogleAdsSearchads360V23ServicesDismissRecommendationRequest, string)
Dismisses given recommendations. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RecommendationError RequestError
Declaration
public virtual CustomersResource.RecommendationsResource.DismissRequest Dismiss(GoogleAdsSearchads360V23ServicesDismissRecommendationRequest body, string customerId)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleAdsSearchads360V23ServicesDismissRecommendationRequest | body | The body of the request. |
| string | customerId | Required. The ID of the customer with the recommendation. |
Returns
| Type | Description |
|---|---|
| CustomersResource.RecommendationsResource.DismissRequest |
Generate(GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest, string)
Generates Recommendations based off the requested recommendation_types. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RecommendationError RequestError
Declaration
public virtual CustomersResource.RecommendationsResource.GenerateRequest Generate(GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest body, string customerId)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest | body | The body of the request. |
| string | customerId | Required. The ID of the customer generating recommendations. |
Returns
| Type | Description |
|---|---|
| CustomersResource.RecommendationsResource.GenerateRequest |