From 57514fbcb92c243fc478fdd540e5bf40bd91bf64 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 21 May 2024 05:50:47 -0700 Subject: [PATCH] feat: add `non_product_performance_view` table to Reports sub-API feat: add `effectiveness` field to `price_insights_product_view` table in Reports sub-API PiperOrigin-RevId: 635777166 --- .../merchant/reports/v1beta/reports.proto | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/google/shopping/merchant/reports/v1beta/reports.proto b/google/shopping/merchant/reports/v1beta/reports.proto index 6ee8f0964b..efd5afb13a 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