aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoogle APIs <noreply@google.com>2024-05-21 05:50:47 -0700
committerCopybara-Service <copybara-worker@google.com>2024-05-21 05:51:33 -0700
commit57514fbcb92c243fc478fdd540e5bf40bd91bf64 (patch)
tree5c34ac175cf6e8f6c0974b64b36b9a5e9e8d90bb
parent0ed8e060147c90feeeac57b2c35114d407257ed8 (diff)
downloadgoogleapis-upstream-master.tar.gz
feat: add `non_product_performance_view` table to Reports sub-APIupstream-master
feat: add `effectiveness` field to `price_insights_product_view` table in Reports sub-API PiperOrigin-RevId: 635777166
-rw-r--r--google/shopping/merchant/reports/v1beta/reports.proto39
1 files changed, 39 insertions, 0 deletions
diff --git a/google/shopping/merchant/reports/v1beta/reports.proto b/google/shopping/merchant/reports/v1beta/reports.proto
index 6ee8f0964..efd5afb13 100644
--- a/google/shopping/merchant/reports/v1beta/reports.proto
+++ b/google/shopping/merchant/reports/v1beta/reports.proto
@@ -89,6 +89,9 @@ message ReportRow {
// Fields available for query in `product_performance_view` table.
ProductPerformanceView product_performance_view = 1;
+ // Fields available for query in `non_product_performance_view` table.
+ NonProductPerformanceView non_product_performance_view = 7;
+
// Fields available for query in `product_view` table.
ProductView product_view = 2;
@@ -902,6 +905,42 @@ message BestSellersBrandView {
relative_demand_change = 11;
}
+// Fields available for query in `non_product_performance_view` table.
+//
+// Performance data on images and online store links leading to your non-product
+// pages. This includes performance metrics (for example, `clicks`)
+// and dimensions according to which performance metrics are segmented (for
+// example, `date`).
+//
+// Segment fields cannot be selected in queries without also selecting at least
+// one metric field.
+//
+// Values are only set for fields requested explicitly in the request's search
+// query.
+message NonProductPerformanceView {
+ // Date in the merchant timezone to which metrics apply. Segment.
+ //
+ // Condition on `date` is required in the `WHERE` clause.
+ google.type.Date date = 1;
+
+ // First day of the week (Monday) of the metrics date in the merchant
+ // timezone. Segment.
+ google.type.Date week = 2;
+
+ // Number of clicks on images and online store links leading to your
+ // non-product pages. Metric.
+ optional int64 clicks = 3;
+
+ // Number of times images and online store links leading to your non-product
+ // pages were shown. Metric.
+ optional int64 impressions = 4;
+
+ // Click-through rate - the number of clicks (`clicks`) divided by the number
+ // of impressions (`impressions`) of images and online store links leading to
+ // your non-product pages. Metric.
+ optional double click_through_rate = 5;
+}
+
// Fields available for query in `competitive_visibility_competitor_view` table.
//
// [Competitive