Class ProductReviewAttributes
Attributes.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.reviews_v1beta.Data
Assembly: Google.Apis.Merchant.reviews_v1beta.dll
Syntax
public class ProductReviewAttributes : IDirectResponseSchema
Properties
AggregatorName
Optional. The name of the aggregator of the product reviews. A publisher may use a reviews aggregator to manage reviews and provide the feeds. This element indicates the use of an aggregator and contains information about the aggregator.
Declaration
[JsonProperty("aggregatorName")]
public virtual string AggregatorName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Asins
Optional. Contains ASINs (Amazon Standard Identification Numbers) associated with a product.
Declaration
[JsonProperty("asins")]
public virtual IList<string> Asins { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Brands
Optional. Contains brand names associated with a product.
Declaration
[JsonProperty("brands")]
public virtual IList<string> Brands { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
CollectionMethod
Optional. The method used to collect the review.
Declaration
[JsonProperty("collectionMethod")]
public virtual string CollectionMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Cons
Optional. Contains the disadvantages based on the opinion of the reviewer. Omit boilerplate text like "con:" unless it was written by the reviewer.
Declaration
[JsonProperty("cons")]
public virtual IList<string> Cons { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Content
Required. The content of the review.
Declaration
[JsonProperty("content")]
public virtual string Content { 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 |
Gtins
Optional. Contains GTINs (global trade item numbers) associated with a product. Sub-types of GTINs (e.g. UPC, EAN, ISBN, JAN) are supported.
Declaration
[JsonProperty("gtins")]
public virtual IList<string> Gtins { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
IsSpam
Optional. Indicates whether the review is marked as spam in the publisher's system.
Declaration
[JsonProperty("isSpam")]
public virtual bool? IsSpam { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
MaxRating
Optional. The maximum possible number for the rating. The value of the max rating must be greater than the value of the min attribute.
Declaration
[JsonProperty("maxRating")]
public virtual long? MaxRating { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
MinRating
Optional. Contains the ratings associated with the review. The minimum possible number for the rating. This should be the worst possible rating and should not be a value for no rating.
Declaration
[JsonProperty("minRating")]
public virtual long? MinRating { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Mpns
Optional. Contains MPNs (manufacturer part numbers) associated with a product.
Declaration
[JsonProperty("mpns")]
public virtual IList<string> Mpns { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ProductLinks
Optional. The URI of the product. This URI can have the same value as the review_link element, if the
review URI and the product URI are the same.
Declaration
[JsonProperty("productLinks")]
public virtual IList<string> ProductLinks { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ProductNames
Optional. Descriptive name of a product.
Declaration
[JsonProperty("productNames")]
public virtual IList<string> ProductNames { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Pros
Optional. Contains the advantages based on the opinion of the reviewer. Omit boilerplate text like "pro:" unless it was written by the reviewer.
Declaration
[JsonProperty("pros")]
public virtual IList<string> Pros { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
PublisherFavicon
Optional. A link to the company favicon of the publisher. The image dimensions should be favicon size: 16x16 pixels. The image format should be GIF, JPG or PNG.
Declaration
[JsonProperty("publisherFavicon")]
public virtual string PublisherFavicon { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PublisherName
Optional. The name of the publisher of the product reviews. The information about the publisher, which may be a retailer, manufacturer, reviews service company, or any entity that publishes product reviews.
Declaration
[JsonProperty("publisherName")]
public virtual string PublisherName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Rating
Optional. The reviewer's overall rating of the product.
Declaration
[JsonProperty("rating")]
public virtual double? Rating { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
ReviewCountry
Optional. The country of the review defined by ISO 3166-1 Alpha-2 Country Code.
Declaration
[JsonProperty("reviewCountry")]
public virtual string ReviewCountry { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReviewLanguage
Optional. The language of the review defined by BCP-47 language code.
Declaration
[JsonProperty("reviewLanguage")]
public virtual string ReviewLanguage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReviewLink
Optional. The URI of the review landing page.
Declaration
[JsonProperty("reviewLink")]
public virtual ReviewLink ReviewLink { get; set; }
Property Value
| Type | Description |
|---|---|
| ReviewLink |
ReviewTime
object representation of ReviewTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ReviewTimeDateTimeOffset instead.")]
public virtual object ReviewTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ReviewTimeDateTimeOffset
DateTimeOffset representation of ReviewTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ReviewTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
ReviewTimeRaw
Required. The timestamp indicating when the review was written.
Declaration
[JsonProperty("reviewTime")]
public virtual string ReviewTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReviewerId
Optional. The author of the product review. A permanent, unique identifier for the author of the review in the publisher's system.
Declaration
[JsonProperty("reviewerId")]
public virtual string ReviewerId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReviewerImageLinks
Optional. A URI to an image of the reviewed product created by the review author. The URI does not have to end with an image file extension.
Declaration
[JsonProperty("reviewerImageLinks")]
public virtual IList<string> ReviewerImageLinks { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ReviewerIsAnonymous
Optional. Set to true if the reviewer should remain anonymous.
Declaration
[JsonProperty("reviewerIsAnonymous")]
public virtual bool? ReviewerIsAnonymous { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ReviewerUsername
Optional. The name of the reviewer of the product review.
Declaration
[JsonProperty("reviewerUsername")]
public virtual string ReviewerUsername { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Skus
Optional. Contains SKUs (stock keeping units) associated with a product. Often this matches the product Offer Id in the product feed.
Declaration
[JsonProperty("skus")]
public virtual IList<string> Skus { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
SubclientName
Optional. The name of the subclient of the product reviews. The subclient is an identifier of the product review source. It should be equivalent to the directory provided in the file data source path.
Declaration
[JsonProperty("subclientName")]
public virtual string SubclientName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Optional. The title of the review.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TransactionId
Optional. A permanent, unique identifier for the transaction associated with the review in the publisher's system. This ID can be used to indicate that multiple reviews are associated with the same transaction.
Declaration
[JsonProperty("transactionId")]
public virtual string TransactionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |