Skip to content

Commit 0541468

Browse files
Google APIscopybara-github
authored andcommitted
feat: A new enum Effectiveness is added
feat: A new field `effectiveness` is added to message `.google.shopping.merchant.reports.v1beta.PriceInsightsProductView` docs: A comment for enum `AggregatedReportingContextStatus` is changed docs: A comment for field `shipping_label` in message `.google.shopping.merchant.reports.v1beta.ProductView` is changed docs: A comment for field `inventory_status` in message `.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView` is changed docs: A comment for field `brand_inventory_status` in message `.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView` is changed PiperOrigin-RevId: 635706104
1 parent 958ef9d commit 0541468

1 file changed

Lines changed: 31 additions & 7 deletions

File tree

google/shopping/merchant/reports/v1beta/reports.proto

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ message ProductView {
352352
//
353353
// Here's an example of how the aggregated status is computed:
354354
//
355-
// Free listings | Shopping Ads | Status
355+
// Free listings | Shopping ads | Status
356356
// --------------|--------------|------------------------------
357357
// Approved | Approved | ELIGIBLE
358358
// Approved | Pending | ELIGIBLE
@@ -480,7 +480,7 @@ message ProductView {
480480

481481
// Normalized [shipping
482482
// label](https://support.google.com/merchants/answer/6324504) specified in
483-
// the feed.
483+
// the data source.
484484
optional string shipping_label = 20;
485485

486486
// List of Global Trade Item Numbers (GTINs) of the product.
@@ -607,6 +607,27 @@ message PriceCompetitivenessProductView {
607607
// Values are only set for fields requested explicitly in the request's search
608608
// query.
609609
message PriceInsightsProductView {
610+
// Predicted effectiveness bucket.
611+
//
612+
// Effectiveness indicates which products would benefit most from price
613+
// changes. This rating takes into consideration the performance boost
614+
// predicted by adjusting the sale price and the difference between your
615+
// current price and the suggested price. Price suggestions with `HIGH`
616+
// effectiveness are predicted to drive the largest increase in performance.
617+
enum Effectiveness {
618+
// Effectiveness is unknown.
619+
EFFECTIVENESS_UNSPECIFIED = 0;
620+
621+
// Effectiveness is low.
622+
LOW = 1;
623+
624+
// Effectiveness is medium.
625+
MEDIUM = 2;
626+
627+
// Effectiveness is high.
628+
HIGH = 3;
629+
}
630+
610631
// REST ID of the product, in the form of
611632
// `channel~languageCode~feedLabel~offerId`. Can be used to join data with the
612633
// `product_view` table.
@@ -683,6 +704,9 @@ message PriceInsightsProductView {
683704
// suggested price compared to current active price. For example, 0.05 is a 5%
684705
// predicted increase in conversions).
685706
optional double predicted_conversions_change_fraction = 19;
707+
708+
// The predicted effectiveness of applying the price suggestion, bucketed.
709+
Effectiveness effectiveness = 22;
686710
}
687711

688712
// Fields available for query in `best_sellers_product_cluster_view` table.
@@ -778,16 +802,16 @@ message BestSellersProductClusterView {
778802
// GTINs of example variants of the product cluster.
779803
repeated string variant_gtins = 13;
780804

781-
// Whether the product cluster is `IN_STOCK` in your product feed in at least
782-
// one of the countries, `OUT_OF_STOCK` in your product feed in all countries,
783-
// or `NOT_IN_INVENTORY` at all.
805+
// Whether the product cluster is `IN_STOCK` in your product data source in at
806+
// least one of the countries, `OUT_OF_STOCK` in your product data source in
807+
// all countries, or `NOT_IN_INVENTORY` at all.
784808
//
785809
// The field doesn't take the Best sellers report country filter into account.
786810
optional InventoryStatus inventory_status = 14;
787811

788812
// Whether there is at least one product of the brand currently `IN_STOCK` in
789-
// your product feed in at least one of the countries, all products are
790-
// `OUT_OF_STOCK` in your product feed in all countries, or
813+
// your product data source in at least one of the countries, all products are
814+
// `OUT_OF_STOCK` in your product data source in all countries, or
791815
// `NOT_IN_INVENTORY`.
792816
//
793817
// The field doesn't take the Best sellers report country filter into account.

0 commit comments

Comments
 (0)