Show / Hide Table of Contents

Class Recommendation

Recommendations are suggested ways to improve your merchant account's performance. For example, to engage with a feature, or start using a new Google product.

Inheritance
object
Recommendation
Implements
IDirectResponseSchema
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.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class Recommendation : IDirectResponseSchema

Properties

AdditionalCallToAction

Output only. CTAs of this recommendation. Repeated.

Declaration
[JsonProperty("additionalCallToAction")]
public virtual IList<RecommendationCallToAction> AdditionalCallToAction { get; set; }
Property Value
Type Description
IList<RecommendationCallToAction>

AdditionalDescriptions

Output only. List of additional localized descriptions for a recommendation. Localication uses the languageCode field in GenerateRecommendations requests. Not all description types are guaranteed to be present and we recommend to rely on default description.

Declaration
[JsonProperty("additionalDescriptions")]
public virtual IList<RecommendationDescription> AdditionalDescriptions { get; set; }
Property Value
Type Description
IList<RecommendationDescription>

Creative

Output only. Any creatives attached to the recommendation. Repeated.

Declaration
[JsonProperty("creative")]
public virtual IList<RecommendationCreative> Creative { get; set; }
Property Value
Type Description
IList<RecommendationCreative>

DefaultCallToAction

Optional. Default CTA of the recommendation.

Declaration
[JsonProperty("defaultCallToAction")]
public virtual RecommendationCallToAction DefaultCallToAction { get; set; }
Property Value
Type Description
RecommendationCallToAction

DefaultDescription

Optional. Localized recommendation description. The localization the {@link GenerateRecommendationsRequest.language_code} field in {@link GenerateRecommendationsRequest} requests.

Declaration
[JsonProperty("defaultDescription")]
public virtual string DefaultDescription { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

NumericalImpact

Optional. A numerical score of the impact from the recommendation's description. For example, a recommendation might suggest an upward trend in sales for a certain product. Higher number means larger impact.

Declaration
[JsonProperty("numericalImpact")]
public virtual int? NumericalImpact { get; set; }
Property Value
Type Description
int?

Paid

Optional. Indicates whether a user needs to pay when they complete the user journey suggested by the recommendation.

Declaration
[JsonProperty("paid")]
public virtual bool? Paid { get; set; }
Property Value
Type Description
bool?

RecommendationName

Optional. Localized recommendation name. The localization uses the {@link GenerateRecommendationsRequest.language_code} field in {@link GenerateRecommendationsRequest} requests.

Declaration
[JsonProperty("recommendationName")]
public virtual string RecommendationName { get; set; }
Property Value
Type Description
string

SubType

Optional. Subtype of the recommendations. Only applicable when multiple recommendations can be generated per type, and is used as an identifier of recommendation under the same recommendation type.

Declaration
[JsonProperty("subType")]
public virtual string SubType { get; set; }
Property Value
Type Description
string

Title

Optional. Localized Recommendation Title. Localization uses the {@link GenerateRecommendationsRequest.language_code} field in {@link GenerateRecommendationsRequest} requests.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
string

Type

Output only. Type of the recommendation. List of currently available recommendation types: - OPPORTUNITY_CREATE_NEW_COLLECTION - OPPORTUNITY_CREATE_EMAIL_CAMPAIGN

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX