Skip to content

Commit d160921

Browse files
Google APIscopybara-github
authored andcommitted
fix!: non_product_performance_view table, seller segments in product_performance_view table, and entity ids in best_seller tables are removed
PiperOrigin-RevId: 574788376
1 parent 777cbf0 commit d160921

2 files changed

Lines changed: 4 additions & 69 deletions

File tree

google/shopping/merchant/reports/v1beta/BUILD.bazel

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ java_gapic_library(
7878
deps = [
7979
":reports_java_proto",
8080
"//google/api:api_java_proto",
81-
"//google/shopping/type:type_java_proto", # Added manually
81+
"//google/shopping/type:type_java_proto", # Added manually
8282
],
8383
)
8484

@@ -101,7 +101,7 @@ java_gapic_assembly_gradle_pkg(
101101
":reports_java_grpc",
102102
":reports_java_proto",
103103
":reports_proto",
104-
"//google/shopping/type:type_java_proto", # Added manually
104+
"//google/shopping/type:type_java_proto", # Added manually
105105
],
106106
)
107107

@@ -184,7 +184,7 @@ py_gapic_library(
184184
service_yaml = "merchantapi_v1beta.yaml",
185185
transport = "grpc+rest",
186186
deps = [
187-
":shopping_type",
187+
":shopping_type",
188188
],
189189
)
190190

@@ -299,8 +299,8 @@ ruby_cloud_gapic_library(
299299
name = "reports_ruby_gapic",
300300
srcs = [":reports_proto_with_info"],
301301
extra_protoc_parameters = [
302-
"ruby-cloud-gem-name=google-shopping-merchant-reports-v1beta",
303302
"ruby-cloud-extra-dependencies=google-shopping-type=>0.0+<2.a",
303+
"ruby-cloud-gem-name=google-shopping-merchant-reports-v1beta",
304304
],
305305
grpc_service_config = "reports_grpc_service_config.json",
306306
rest_numeric_enums = True,
@@ -335,7 +335,6 @@ load(
335335

336336
csharp_proto_library(
337337
name = "reports_csharp_proto",
338-
extra_opts = [],
339338
deps = [":reports_proto"],
340339
)
341340

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

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ message ReportRow {
8989
// Fields available for query in `product_performance_view` table.
9090
ProductPerformanceView product_performance_view = 1;
9191

92-
// Fields available for query in `non_product_performance_view` table.
93-
NonProductPerformanceView non_product_performance_view = 7;
94-
9592
// Fields available for query in `product_view` table.
9693
ProductView product_view = 2;
9794

@@ -154,25 +151,6 @@ message ProductPerformanceView {
154151
// returned.
155152
optional string customer_country_code = 4;
156153

157-
// Merchant Center account id of the seller of the offer. Segment.
158-
//
159-
// Available only for multi-client accounts.
160-
optional int64 account_id = 29;
161-
162-
// Merchant Center account name of the seller of the offer. Segment.
163-
//
164-
// Available only for multi-client accounts.
165-
optional string account_display_name = 30;
166-
167-
// [External account
168-
// id](https://support.google.com/merchants/answer/11537846?hl=en) submitted
169-
// in an offer feed by a multi-seller account to identify the seller of the
170-
// offer. Segment.
171-
//
172-
// Available only for multi-client accounts. This field is non-empty only for
173-
// auto-seller accounts.
174-
optional string external_account_id = 31;
175-
176154
// Merchant-provided id of the product. Segment.
177155
optional string offer_id = 5;
178156

@@ -734,9 +712,6 @@ message BestSellersProductClusterView {
734712
// top-level categories are returned.
735713
optional int64 report_category_id = 4;
736714

737-
// Google-assigned id of the product cluster.
738-
optional string id = 5;
739-
740715
// Title of the product cluster.
741716
optional string title = 6;
742717

@@ -848,9 +823,6 @@ message BestSellersBrandView {
848823
// top-level categories are returned.
849824
optional int64 report_category_id = 4;
850825

851-
// Google-assigned id of the brand.
852-
optional string id = 5;
853-
854826
// Name of the brand.
855827
optional string brand = 6;
856828

@@ -874,42 +846,6 @@ message BestSellersBrandView {
874846
relative_demand_change = 11;
875847
}
876848

877-
// Fields available for query in `non_product_performance_view` table.
878-
//
879-
// Performance data on images and website links leading to your non-product
880-
// website pages. This includes performance metrics (for example, `clicks`)
881-
// and dimensions according to which performance metrics are segmented (for
882-
// example, `date`).
883-
//
884-
// Segment fields cannot be selected in queries without also selecting at least
885-
// one metric field.
886-
//
887-
// Values are only set for fields requested explicitly in the request's search
888-
// query.
889-
message NonProductPerformanceView {
890-
// Date in the merchant timezone to which metrics apply. Segment.
891-
//
892-
// Condition on `date` is required in the `WHERE` clause.
893-
google.type.Date date = 1;
894-
895-
// First day of the week (Monday) of the metrics date in the merchant
896-
// timezone. Segment.
897-
google.type.Date week = 2;
898-
899-
// Number of clicks on images and website links leading to your non-product
900-
// website pages. Metric.
901-
optional int64 clicks = 3;
902-
903-
// Number of times images and website links leading to your non-product
904-
// website pages were shown. Metric.
905-
optional int64 impressions = 4;
906-
907-
// Click-through rate - the number of clicks (`clicks`) divided by the number
908-
// of impressions (`impressions`) of images and website links leading to your
909-
// non-product website pages. Metric.
910-
optional double click_through_rate = 5;
911-
}
912-
913849
// Fields available for query in `competitive_visibility_competitor_view` table.
914850
//
915851
// [Competitive

0 commit comments

Comments
 (0)