Show / Hide Table of Contents

Class RecommendationsResource

The "recommendations" collection of methods.

Inheritance
object
RecommendationsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
In this article
Back to top Generated by DocFX