|
1 | | -// Copyright 2025 Google LLC |
| 1 | +// Copyright 2026 Google LLC |
2 | 2 | // |
3 | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 4 | // you may not use this file except in compliance with the License. |
@@ -137,7 +137,7 @@ message Attributes { |
137 | 137 |
|
138 | 138 | // The cut of the item. It can be used to represent combined size types for |
139 | 139 | // apparel items. Maximum two of size types can be provided (see |
140 | | - // [https://support.google.com/merchants/answer/6324497](size type)). |
| 140 | + // [size type](https://support.google.com/merchants/answer/6324497). |
141 | 141 | repeated string size_types = 28; |
142 | 142 |
|
143 | 143 | // Shared identifier for all variants of the same product. |
@@ -212,6 +212,31 @@ message Attributes { |
212 | 212 | // Number of periods (months or years) and amount of payment per period |
213 | 213 | // for an item with an associated subscription contract. |
214 | 214 | HeadlineOfferSubscriptionCost headline_offer_subscription_cost = 52; |
| 215 | + |
| 216 | + // Number of reviews of the product. Required if |
| 217 | + // [`rating`][google.shopping.css.v1.Attributes.rating] is provided. |
| 218 | + // This field is for an upcoming feature and is not yet used. |
| 219 | + optional int64 review_count = 54; |
| 220 | + |
| 221 | + // Minimum rating score of the product. Required if |
| 222 | + // [`rating`][google.shopping.css.v1.Attributes.rating] is provided. |
| 223 | + // This field is for an upcoming feature and is not yet used. |
| 224 | + optional int64 min_rating = 55; |
| 225 | + |
| 226 | + // Maximum rating score of the product. Required if |
| 227 | + // [`rating`][google.shopping.css.v1.Attributes.rating] is provided. |
| 228 | + // This field is for an upcoming feature and is not yet used. |
| 229 | + optional int64 max_rating = 56; |
| 230 | + |
| 231 | + // Average rating score of the product. The value must be within the |
| 232 | + // range of [`min_rating`, `max_rating`], inclusive. When displayed on the |
| 233 | + // product page, this rating is normalized to a scale of [1, 5] with one |
| 234 | + // decimal place. If provided, |
| 235 | + // [`review_count`][google.shopping.css.v1.Attributes.review_count], |
| 236 | + // [`min_rating`][google.shopping.css.v1.Attributes.min_rating], and |
| 237 | + // [`max_rating`][google.shopping.css.v1.Attributes.max_rating] are also |
| 238 | + // required. This field is for an upcoming feature and is not yet used. |
| 239 | + optional double rating = 57; |
215 | 240 | } |
216 | 241 |
|
217 | 242 | // The certification for the product. Use the this attribute to describe |
|
0 commit comments