public class ShoppingContent.Recommendations extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ShoppingContent.Recommendations.Generate |
class |
ShoppingContent.Recommendations.ReportInteraction |
| Constructor and Description |
|---|
Recommendations() |
| Modifier and Type | Method and Description |
|---|---|
ShoppingContent.Recommendations.Generate |
generate(Long merchantId)
Generates recommendations for a merchant.
|
ShoppingContent.Recommendations.ReportInteraction |
reportInteraction(Long merchantId,
ReportInteractionRequest content)
Reports an interaction on a recommendation for a merchant.
|
public ShoppingContent.Recommendations.Generate generate(Long merchantId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - Required. The ID of the account to fetch recommendations for.IOExceptionpublic ShoppingContent.Recommendations.ReportInteraction reportInteraction(Long merchantId, ReportInteractionRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - Required. The ID of the account that wants to report an interaction.content - the ReportInteractionRequestIOExceptionCopyright © 2011–2024 Google. All rights reserved.