Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: [merchantapi] non_product_performance_view table, seller segments in product_performance_view table, and entity ids in best_seller tables are removed #9981

Merged
merged 2 commits into from
Oct 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1133,24 +1133,6 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView",
"queryAllDeclaredConstructors": true,

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -221,43 +221,6 @@ public interface BestSellersBrandViewOrBuilder
*/
long getReportCategoryId();

/**
*
*
* <pre>
* Google-assigned id of the brand.
* </pre>
*
* <code>optional string id = 5;</code>
*
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
*
* <pre>
* Google-assigned id of the brand.
* </pre>
*
* <code>optional string id = 5;</code>
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
* <pre>
* Google-assigned id of the brand.
* </pre>
*
* <code>optional string id = 5;</code>
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();

/**
*
*

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -221,43 +221,6 @@ public interface BestSellersProductClusterViewOrBuilder
*/
long getReportCategoryId();

/**
*
*
* <pre>
* Google-assigned id of the product cluster.
* </pre>
*
* <code>optional string id = 5;</code>
*
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
*
* <pre>
* Google-assigned id of the product cluster.
* </pre>
*
* <code>optional string id = 5;</code>
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
* <pre>
* Google-assigned id of the product cluster.
* </pre>
*
* <code>optional string id = 5;</code>
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();

/**
*
*

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -195,133 +195,6 @@ public interface ProductPerformanceViewOrBuilder
*/
com.google.protobuf.ByteString getCustomerCountryCodeBytes();

/**
*
*
* <pre>
* Merchant Center account id of the seller of the offer. Segment.
*
* Available only for multi-client accounts.
* </pre>
*
* <code>optional int64 account_id = 29;</code>
*
* @return Whether the accountId field is set.
*/
boolean hasAccountId();
/**
*
*
* <pre>
* Merchant Center account id of the seller of the offer. Segment.
*
* Available only for multi-client accounts.
* </pre>
*
* <code>optional int64 account_id = 29;</code>
*
* @return The accountId.
*/
long getAccountId();

/**
*
*
* <pre>
* Merchant Center account name of the seller of the offer. Segment.
*
* Available only for multi-client accounts.
* </pre>
*
* <code>optional string account_display_name = 30;</code>
*
* @return Whether the accountDisplayName field is set.
*/
boolean hasAccountDisplayName();
/**
*
*
* <pre>
* Merchant Center account name of the seller of the offer. Segment.
*
* Available only for multi-client accounts.
* </pre>
*
* <code>optional string account_display_name = 30;</code>
*
* @return The accountDisplayName.
*/
java.lang.String getAccountDisplayName();
/**
*
*
* <pre>
* Merchant Center account name of the seller of the offer. Segment.
*
* Available only for multi-client accounts.
* </pre>
*
* <code>optional string account_display_name = 30;</code>
*
* @return The bytes for accountDisplayName.
*/
com.google.protobuf.ByteString getAccountDisplayNameBytes();

/**
*
*
* <pre>
* [External account
* id](https://support.google.com/merchants/answer/11537846?hl=en) submitted
* in an offer feed by a multi-seller account to identify the seller of the
* offer. Segment.
*
* Available only for multi-client accounts. This field is non-empty only for
* auto-seller accounts.
* </pre>
*
* <code>optional string external_account_id = 31;</code>
*
* @return Whether the externalAccountId field is set.
*/
boolean hasExternalAccountId();
/**
*
*
* <pre>
* [External account
* id](https://support.google.com/merchants/answer/11537846?hl=en) submitted
* in an offer feed by a multi-seller account to identify the seller of the
* offer. Segment.
*
* Available only for multi-client accounts. This field is non-empty only for
* auto-seller accounts.
* </pre>
*
* <code>optional string external_account_id = 31;</code>
*
* @return The externalAccountId.
*/
java.lang.String getExternalAccountId();
/**
*
*
* <pre>
* [External account
* id](https://support.google.com/merchants/answer/11537846?hl=en) submitted
* in an offer feed by a multi-seller account to identify the seller of the
* offer. Segment.
*
* Available only for multi-client accounts. This field is non-empty only for
* auto-seller accounts.
* </pre>
*
* <code>optional string external_account_id = 31;</code>
*
* @return The bytes for externalAccountId.
*/
com.google.protobuf.ByteString getExternalAccountIdBytes();

/**
*
*

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -65,49 +65,6 @@ public interface ReportRowOrBuilder
com.google.shopping.merchant.reports.v1beta.ProductPerformanceViewOrBuilder
getProductPerformanceViewOrBuilder();

/**
*
*
* <pre>
* Fields available for query in `non_product_performance_view` table.
* </pre>
*
* <code>
* .google.shopping.merchant.reports.v1beta.NonProductPerformanceView non_product_performance_view = 7;
* </code>
*
* @return Whether the nonProductPerformanceView field is set.
*/
boolean hasNonProductPerformanceView();
/**
*
*
* <pre>
* Fields available for query in `non_product_performance_view` table.
* </pre>
*
* <code>
* .google.shopping.merchant.reports.v1beta.NonProductPerformanceView non_product_performance_view = 7;
* </code>
*
* @return The nonProductPerformanceView.
*/
com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView
getNonProductPerformanceView();
/**
*
*
* <pre>
* Fields available for query in `non_product_performance_view` table.
* </pre>
*
* <code>
* .google.shopping.merchant.reports.v1beta.NonProductPerformanceView non_product_performance_view = 7;
* </code>
*/
com.google.shopping.merchant.reports.v1beta.NonProductPerformanceViewOrBuilder
getNonProductPerformanceViewOrBuilder();

/**
*
*

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -89,9 +89,6 @@ 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;

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

// Merchant Center account id of the seller of the offer. Segment.
//
// Available only for multi-client accounts.
optional int64 account_id = 29;

// Merchant Center account name of the seller of the offer. Segment.
//
// Available only for multi-client accounts.
optional string account_display_name = 30;

// [External account
// id](https://support.google.com/merchants/answer/11537846?hl=en) submitted
// in an offer feed by a multi-seller account to identify the seller of the
// offer. Segment.
//
// Available only for multi-client accounts. This field is non-empty only for
// auto-seller accounts.
optional string external_account_id = 31;

// Merchant-provided id of the product. Segment.
optional string offer_id = 5;

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

// Google-assigned id of the product cluster.
optional string id = 5;

// Title of the product cluster.
optional string title = 6;

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

// Google-assigned id of the brand.
optional string id = 5;

// Name of the brand.
optional string brand = 6;

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

// Fields available for query in `non_product_performance_view` table.
//
// Performance data on images and website links leading to your non-product
// website 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 website links leading to your non-product
// website pages. Metric.
optional int64 clicks = 3;

// Number of times images and website links leading to your non-product
// website 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 website links leading to your
// non-product website pages. Metric.
optional double click_through_rate = 5;
}

// Fields available for query in `competitive_visibility_competitor_view` table.
//
// [Competitive