Class RecommendationsResource
The "recommendations" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class RecommendationsResource
Constructors
RecommendationsResource(IClientService)
Constructs a new resource.
Declaration
public RecommendationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Generate(long)
Generates recommendations for a merchant.
Declaration
public virtual RecommendationsResource.GenerateRequest Generate(long merchantId)
Parameters
Type | Name | Description |
---|---|---|
long | merchantId | Required. The ID of the account to fetch recommendations for. |
Returns
Type | Description |
---|---|
RecommendationsResource.GenerateRequest |
ReportInteraction(ReportInteractionRequest, long)
Reports an interaction on a recommendation for a merchant.
Declaration
public virtual RecommendationsResource.ReportInteractionRequest ReportInteraction(ReportInteractionRequest body, long merchantId)
Parameters
Type | Name | Description |
---|---|---|
ReportInteractionRequest | body | The body of the request. |
long | merchantId | Required. The ID of the account that wants to report an interaction. |
Returns
Type | Description |
---|---|
RecommendationsResource.ReportInteractionRequest |