public static final class ProductPerformanceView.Builder extends GeneratedMessageV3.Builder<ProductPerformanceView.Builder> implements ProductPerformanceViewOrBuilder
Fields available for query in product_performance_view
table.
Product performance data for your account, including performance metrics (for
example, clicks
) and dimensions according to which performance metrics are
segmented (for example, offer_id
). Values of product dimensions, such as
offer_id
, reflect the state of a product at the time of the impression.
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.
Protobuf type google.shopping.merchant.reports.v1beta.ProductPerformanceView
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProductPerformanceView.BuilderImplements
ProductPerformanceViewOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProductPerformanceView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
build()
public ProductPerformanceView build()
Returns | |
---|---|
Type | Description |
ProductPerformanceView |
buildPartial()
public ProductPerformanceView buildPartial()
Returns | |
---|---|
Type | Description |
ProductPerformanceView |
clear()
public ProductPerformanceView.Builder clear()
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
clearBrand()
public ProductPerformanceView.Builder clearBrand()
Brand of the product. Segment.
optional string brand = 7;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearCategoryL1()
public ProductPerformanceView.Builder clearCategoryL1()
Product category (1st level) in Google's product taxonomy. Segment.
optional string category_l1 = 8;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearCategoryL2()
public ProductPerformanceView.Builder clearCategoryL2()
Product category (2nd level) in Google's product taxonomy. Segment.
optional string category_l2 = 9;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearCategoryL3()
public ProductPerformanceView.Builder clearCategoryL3()
Product category (3rd level) in Google's product taxonomy. Segment.
optional string category_l3 = 10;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearCategoryL4()
public ProductPerformanceView.Builder clearCategoryL4()
Product category (4th level) in Google's product taxonomy. Segment.
optional string category_l4 = 11;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearCategoryL5()
public ProductPerformanceView.Builder clearCategoryL5()
Product category (5th level) in Google's product taxonomy. Segment.
optional string category_l5 = 12;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearClickThroughRate()
public ProductPerformanceView.Builder clearClickThroughRate()
Click-through rate - the number of clicks merchant's products receive (clicks) divided by the number of times the products are shown (impressions). Metric.
optional double click_through_rate = 25;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearClicks()
public ProductPerformanceView.Builder clearClicks()
Number of clicks. Metric.
optional int64 clicks = 23;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearConversionRate()
public ProductPerformanceView.Builder clearConversionRate()
Number of conversions divided by the number of clicks, reported on the impression date. Metric.
Available only for the FREE
traffic source.
optional double conversion_rate = 28;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearConversionValue()
public ProductPerformanceView.Builder clearConversionValue()
Value of conversions attributed to the product, reported on the conversion date. Metric.
Available only for the FREE
traffic source.
.google.shopping.type.Price conversion_value = 27;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
clearConversions()
public ProductPerformanceView.Builder clearConversions()
Number of conversions attributed to the product, reported on the conversion date. Depending on the attribution model, a conversion might be distributed across multiple clicks, where each click gets its own credit assigned. This metric is a sum of all such credits. Metric.
Available only for the FREE
traffic source.
optional double conversions = 26;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearCustomLabel0()
public ProductPerformanceView.Builder clearCustomLabel0()
Custom label 0 for custom grouping of products. Segment.
optional string custom_label0 = 18;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearCustomLabel1()
public ProductPerformanceView.Builder clearCustomLabel1()
Custom label 1 for custom grouping of products. Segment.
optional string custom_label1 = 19;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearCustomLabel2()
public ProductPerformanceView.Builder clearCustomLabel2()
Custom label 2 for custom grouping of products. Segment.
optional string custom_label2 = 20;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearCustomLabel3()
public ProductPerformanceView.Builder clearCustomLabel3()
Custom label 3 for custom grouping of products. Segment.
optional string custom_label3 = 21;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearCustomLabel4()
public ProductPerformanceView.Builder clearCustomLabel4()
Custom label 4 for custom grouping of products. Segment.
optional string custom_label4 = 22;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearCustomerCountryCode()
public ProductPerformanceView.Builder clearCustomerCountryCode()
Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. Segment.
If the customer country cannot be determined, a special 'ZZ' code is returned.
optional string customer_country_code = 4;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearDate()
public ProductPerformanceView.Builder clearDate()
Date in the merchant timezone to which metrics apply. Segment.
Condition on date
is required in the WHERE
clause.
.google.type.Date date = 2;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
clearField(Descriptors.FieldDescriptor field)
public ProductPerformanceView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
clearImpressions()
public ProductPerformanceView.Builder clearImpressions()
Number of times merchant's products are shown. Metric.
optional int64 impressions = 24;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearMarketingMethod()
public ProductPerformanceView.Builder clearMarketingMethod()
Marketing method to which metrics apply. Segment.
optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearOfferId()
public ProductPerformanceView.Builder clearOfferId()
Merchant-provided id of the product. Segment.
optional string offer_id = 5;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProductPerformanceView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
clearProductTypeL1()
public ProductPerformanceView.Builder clearProductTypeL1()
Product type (1st level) in merchant's own product taxonomy. Segment.
optional string product_type_l1 = 13;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearProductTypeL2()
public ProductPerformanceView.Builder clearProductTypeL2()
Product type (2nd level) in merchant's own product taxonomy. Segment.
optional string product_type_l2 = 14;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearProductTypeL3()
public ProductPerformanceView.Builder clearProductTypeL3()
Product type (3rd level) in merchant's own product taxonomy. Segment.
optional string product_type_l3 = 15;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearProductTypeL4()
public ProductPerformanceView.Builder clearProductTypeL4()
Product type (4th level) in merchant's own product taxonomy. Segment.
optional string product_type_l4 = 16;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearProductTypeL5()
public ProductPerformanceView.Builder clearProductTypeL5()
Product type (5th level) in merchant's own product taxonomy. Segment.
optional string product_type_l5 = 17;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearTitle()
public ProductPerformanceView.Builder clearTitle()
Title of the product. Segment.
optional string title = 6;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
clearWeek()
public ProductPerformanceView.Builder clearWeek()
First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
.google.type.Date week = 3;
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
clone()
public ProductPerformanceView.Builder clone()
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
getBrand()
public String getBrand()
Brand of the product. Segment.
optional string brand = 7;
Returns | |
---|---|
Type | Description |
String | The brand. |
getBrandBytes()
public ByteString getBrandBytes()
Brand of the product. Segment.
optional string brand = 7;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for brand. |
getCategoryL1()
public String getCategoryL1()
Product category (1st level) in Google's product taxonomy. Segment.
optional string category_l1 = 8;
Returns | |
---|---|
Type | Description |
String | The categoryL1. |
getCategoryL1Bytes()
public ByteString getCategoryL1Bytes()
Product category (1st level) in Google's product taxonomy. Segment.
optional string category_l1 = 8;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL1. |
getCategoryL2()
public String getCategoryL2()
Product category (2nd level) in Google's product taxonomy. Segment.
optional string category_l2 = 9;
Returns | |
---|---|
Type | Description |
String | The categoryL2. |
getCategoryL2Bytes()
public ByteString getCategoryL2Bytes()
Product category (2nd level) in Google's product taxonomy. Segment.
optional string category_l2 = 9;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL2. |
getCategoryL3()
public String getCategoryL3()
Product category (3rd level) in Google's product taxonomy. Segment.
optional string category_l3 = 10;
Returns | |
---|---|
Type | Description |
String | The categoryL3. |
getCategoryL3Bytes()
public ByteString getCategoryL3Bytes()
Product category (3rd level) in Google's product taxonomy. Segment.
optional string category_l3 = 10;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL3. |
getCategoryL4()
public String getCategoryL4()
Product category (4th level) in Google's product taxonomy. Segment.
optional string category_l4 = 11;
Returns | |
---|---|
Type | Description |
String | The categoryL4. |
getCategoryL4Bytes()
public ByteString getCategoryL4Bytes()
Product category (4th level) in Google's product taxonomy. Segment.
optional string category_l4 = 11;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL4. |
getCategoryL5()
public String getCategoryL5()
Product category (5th level) in Google's product taxonomy. Segment.
optional string category_l5 = 12;
Returns | |
---|---|
Type | Description |
String | The categoryL5. |
getCategoryL5Bytes()
public ByteString getCategoryL5Bytes()
Product category (5th level) in Google's product taxonomy. Segment.
optional string category_l5 = 12;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL5. |
getClickThroughRate()
public double getClickThroughRate()
Click-through rate - the number of clicks merchant's products receive (clicks) divided by the number of times the products are shown (impressions). Metric.
optional double click_through_rate = 25;
Returns | |
---|---|
Type | Description |
double | The clickThroughRate. |
getClicks()
public long getClicks()
Number of clicks. Metric.
optional int64 clicks = 23;
Returns | |
---|---|
Type | Description |
long | The clicks. |
getConversionRate()
public double getConversionRate()
Number of conversions divided by the number of clicks, reported on the impression date. Metric.
Available only for the FREE
traffic source.
optional double conversion_rate = 28;
Returns | |
---|---|
Type | Description |
double | The conversionRate. |
getConversionValue()
public Price getConversionValue()
Value of conversions attributed to the product, reported on the conversion date. Metric.
Available only for the FREE
traffic source.
.google.shopping.type.Price conversion_value = 27;
Returns | |
---|---|
Type | Description |
Price | The conversionValue. |
getConversionValueBuilder()
public Price.Builder getConversionValueBuilder()
Value of conversions attributed to the product, reported on the conversion date. Metric.
Available only for the FREE
traffic source.
.google.shopping.type.Price conversion_value = 27;
Returns | |
---|---|
Type | Description |
Price.Builder |
getConversionValueOrBuilder()
public PriceOrBuilder getConversionValueOrBuilder()
Value of conversions attributed to the product, reported on the conversion date. Metric.
Available only for the FREE
traffic source.
.google.shopping.type.Price conversion_value = 27;
Returns | |
---|---|
Type | Description |
PriceOrBuilder |
getConversions()
public double getConversions()
Number of conversions attributed to the product, reported on the conversion date. Depending on the attribution model, a conversion might be distributed across multiple clicks, where each click gets its own credit assigned. This metric is a sum of all such credits. Metric.
Available only for the FREE
traffic source.
optional double conversions = 26;
Returns | |
---|---|
Type | Description |
double | The conversions. |
getCustomLabel0()
public String getCustomLabel0()
Custom label 0 for custom grouping of products. Segment.
optional string custom_label0 = 18;
Returns | |
---|---|
Type | Description |
String | The customLabel0. |
getCustomLabel0Bytes()
public ByteString getCustomLabel0Bytes()
Custom label 0 for custom grouping of products. Segment.
optional string custom_label0 = 18;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for customLabel0. |
getCustomLabel1()
public String getCustomLabel1()
Custom label 1 for custom grouping of products. Segment.
optional string custom_label1 = 19;
Returns | |
---|---|
Type | Description |
String | The customLabel1. |
getCustomLabel1Bytes()
public ByteString getCustomLabel1Bytes()
Custom label 1 for custom grouping of products. Segment.
optional string custom_label1 = 19;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for customLabel1. |
getCustomLabel2()
public String getCustomLabel2()
Custom label 2 for custom grouping of products. Segment.
optional string custom_label2 = 20;
Returns | |
---|---|
Type | Description |
String | The customLabel2. |
getCustomLabel2Bytes()
public ByteString getCustomLabel2Bytes()
Custom label 2 for custom grouping of products. Segment.
optional string custom_label2 = 20;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for customLabel2. |
getCustomLabel3()
public String getCustomLabel3()
Custom label 3 for custom grouping of products. Segment.
optional string custom_label3 = 21;
Returns | |
---|---|
Type | Description |
String | The customLabel3. |
getCustomLabel3Bytes()
public ByteString getCustomLabel3Bytes()
Custom label 3 for custom grouping of products. Segment.
optional string custom_label3 = 21;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for customLabel3. |
getCustomLabel4()
public String getCustomLabel4()
Custom label 4 for custom grouping of products. Segment.
optional string custom_label4 = 22;
Returns | |
---|---|
Type | Description |
String | The customLabel4. |
getCustomLabel4Bytes()
public ByteString getCustomLabel4Bytes()
Custom label 4 for custom grouping of products. Segment.
optional string custom_label4 = 22;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for customLabel4. |
getCustomerCountryCode()
public String getCustomerCountryCode()
Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. Segment.
If the customer country cannot be determined, a special 'ZZ' code is returned.
optional string customer_country_code = 4;
Returns | |
---|---|
Type | Description |
String | The customerCountryCode. |
getCustomerCountryCodeBytes()
public ByteString getCustomerCountryCodeBytes()
Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. Segment.
If the customer country cannot be determined, a special 'ZZ' code is returned.
optional string customer_country_code = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for customerCountryCode. |
getDate()
public Date getDate()
Date in the merchant timezone to which metrics apply. Segment.
Condition on date
is required in the WHERE
clause.
.google.type.Date date = 2;
Returns | |
---|---|
Type | Description |
com.google.type.Date | The date. |
getDateBuilder()
public Date.Builder getDateBuilder()
Date in the merchant timezone to which metrics apply. Segment.
Condition on date
is required in the WHERE
clause.
.google.type.Date date = 2;
Returns | |
---|---|
Type | Description |
com.google.type.Date.Builder |
getDateOrBuilder()
public DateOrBuilder getDateOrBuilder()
Date in the merchant timezone to which metrics apply. Segment.
Condition on date
is required in the WHERE
clause.
.google.type.Date date = 2;
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
getDefaultInstanceForType()
public ProductPerformanceView getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ProductPerformanceView |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getImpressions()
public long getImpressions()
Number of times merchant's products are shown. Metric.
optional int64 impressions = 24;
Returns | |
---|---|
Type | Description |
long | The impressions. |
getMarketingMethod()
public MarketingMethod.MarketingMethodEnum getMarketingMethod()
Marketing method to which metrics apply. Segment.
optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
Returns | |
---|---|
Type | Description |
MarketingMethod.MarketingMethodEnum | The marketingMethod. |
getMarketingMethodValue()
public int getMarketingMethodValue()
Marketing method to which metrics apply. Segment.
optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for marketingMethod. |
getOfferId()
public String getOfferId()
Merchant-provided id of the product. Segment.
optional string offer_id = 5;
Returns | |
---|---|
Type | Description |
String | The offerId. |
getOfferIdBytes()
public ByteString getOfferIdBytes()
Merchant-provided id of the product. Segment.
optional string offer_id = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for offerId. |
getProductTypeL1()
public String getProductTypeL1()
Product type (1st level) in merchant's own product taxonomy. Segment.
optional string product_type_l1 = 13;
Returns | |
---|---|
Type | Description |
String | The productTypeL1. |
getProductTypeL1Bytes()
public ByteString getProductTypeL1Bytes()
Product type (1st level) in merchant's own product taxonomy. Segment.
optional string product_type_l1 = 13;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL1. |
getProductTypeL2()
public String getProductTypeL2()
Product type (2nd level) in merchant's own product taxonomy. Segment.
optional string product_type_l2 = 14;
Returns | |
---|---|
Type | Description |
String | The productTypeL2. |
getProductTypeL2Bytes()
public ByteString getProductTypeL2Bytes()
Product type (2nd level) in merchant's own product taxonomy. Segment.
optional string product_type_l2 = 14;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL2. |
getProductTypeL3()
public String getProductTypeL3()
Product type (3rd level) in merchant's own product taxonomy. Segment.
optional string product_type_l3 = 15;
Returns | |
---|---|
Type | Description |
String | The productTypeL3. |
getProductTypeL3Bytes()
public ByteString getProductTypeL3Bytes()
Product type (3rd level) in merchant's own product taxonomy. Segment.
optional string product_type_l3 = 15;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL3. |
getProductTypeL4()
public String getProductTypeL4()
Product type (4th level) in merchant's own product taxonomy. Segment.
optional string product_type_l4 = 16;
Returns | |
---|---|
Type | Description |
String | The productTypeL4. |
getProductTypeL4Bytes()
public ByteString getProductTypeL4Bytes()
Product type (4th level) in merchant's own product taxonomy. Segment.
optional string product_type_l4 = 16;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL4. |
getProductTypeL5()
public String getProductTypeL5()
Product type (5th level) in merchant's own product taxonomy. Segment.
optional string product_type_l5 = 17;
Returns | |
---|---|
Type | Description |
String | The productTypeL5. |
getProductTypeL5Bytes()
public ByteString getProductTypeL5Bytes()
Product type (5th level) in merchant's own product taxonomy. Segment.
optional string product_type_l5 = 17;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL5. |
getTitle()
public String getTitle()
Title of the product. Segment.
optional string title = 6;
Returns | |
---|---|
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
Title of the product. Segment.
optional string title = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for title. |
getWeek()
public Date getWeek()
First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
.google.type.Date week = 3;
Returns | |
---|---|
Type | Description |
com.google.type.Date | The week. |
getWeekBuilder()
public Date.Builder getWeekBuilder()
First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
.google.type.Date week = 3;
Returns | |
---|---|
Type | Description |
com.google.type.Date.Builder |
getWeekOrBuilder()
public DateOrBuilder getWeekOrBuilder()
First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
.google.type.Date week = 3;
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
hasBrand()
public boolean hasBrand()
Brand of the product. Segment.
optional string brand = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the brand field is set. |
hasCategoryL1()
public boolean hasCategoryL1()
Product category (1st level) in Google's product taxonomy. Segment.
optional string category_l1 = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL1 field is set. |
hasCategoryL2()
public boolean hasCategoryL2()
Product category (2nd level) in Google's product taxonomy. Segment.
optional string category_l2 = 9;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL2 field is set. |
hasCategoryL3()
public boolean hasCategoryL3()
Product category (3rd level) in Google's product taxonomy. Segment.
optional string category_l3 = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL3 field is set. |
hasCategoryL4()
public boolean hasCategoryL4()
Product category (4th level) in Google's product taxonomy. Segment.
optional string category_l4 = 11;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL4 field is set. |
hasCategoryL5()
public boolean hasCategoryL5()
Product category (5th level) in Google's product taxonomy. Segment.
optional string category_l5 = 12;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL5 field is set. |
hasClickThroughRate()
public boolean hasClickThroughRate()
Click-through rate - the number of clicks merchant's products receive (clicks) divided by the number of times the products are shown (impressions). Metric.
optional double click_through_rate = 25;
Returns | |
---|---|
Type | Description |
boolean | Whether the clickThroughRate field is set. |
hasClicks()
public boolean hasClicks()
Number of clicks. Metric.
optional int64 clicks = 23;
Returns | |
---|---|
Type | Description |
boolean | Whether the clicks field is set. |
hasConversionRate()
public boolean hasConversionRate()
Number of conversions divided by the number of clicks, reported on the impression date. Metric.
Available only for the FREE
traffic source.
optional double conversion_rate = 28;
Returns | |
---|---|
Type | Description |
boolean | Whether the conversionRate field is set. |
hasConversionValue()
public boolean hasConversionValue()
Value of conversions attributed to the product, reported on the conversion date. Metric.
Available only for the FREE
traffic source.
.google.shopping.type.Price conversion_value = 27;
Returns | |
---|---|
Type | Description |
boolean | Whether the conversionValue field is set. |
hasConversions()
public boolean hasConversions()
Number of conversions attributed to the product, reported on the conversion date. Depending on the attribution model, a conversion might be distributed across multiple clicks, where each click gets its own credit assigned. This metric is a sum of all such credits. Metric.
Available only for the FREE
traffic source.
optional double conversions = 26;
Returns | |
---|---|
Type | Description |
boolean | Whether the conversions field is set. |
hasCustomLabel0()
public boolean hasCustomLabel0()
Custom label 0 for custom grouping of products. Segment.
optional string custom_label0 = 18;
Returns | |
---|---|
Type | Description |
boolean | Whether the customLabel0 field is set. |
hasCustomLabel1()
public boolean hasCustomLabel1()
Custom label 1 for custom grouping of products. Segment.
optional string custom_label1 = 19;
Returns | |
---|---|
Type | Description |
boolean | Whether the customLabel1 field is set. |
hasCustomLabel2()
public boolean hasCustomLabel2()
Custom label 2 for custom grouping of products. Segment.
optional string custom_label2 = 20;
Returns | |
---|---|
Type | Description |
boolean | Whether the customLabel2 field is set. |
hasCustomLabel3()
public boolean hasCustomLabel3()
Custom label 3 for custom grouping of products. Segment.
optional string custom_label3 = 21;
Returns | |
---|---|
Type | Description |
boolean | Whether the customLabel3 field is set. |
hasCustomLabel4()
public boolean hasCustomLabel4()
Custom label 4 for custom grouping of products. Segment.
optional string custom_label4 = 22;
Returns | |
---|---|
Type | Description |
boolean | Whether the customLabel4 field is set. |
hasCustomerCountryCode()
public boolean hasCustomerCountryCode()
Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. Segment.
If the customer country cannot be determined, a special 'ZZ' code is returned.
optional string customer_country_code = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the customerCountryCode field is set. |
hasDate()
public boolean hasDate()
Date in the merchant timezone to which metrics apply. Segment.
Condition on date
is required in the WHERE
clause.
.google.type.Date date = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the date field is set. |
hasImpressions()
public boolean hasImpressions()
Number of times merchant's products are shown. Metric.
optional int64 impressions = 24;
Returns | |
---|---|
Type | Description |
boolean | Whether the impressions field is set. |
hasMarketingMethod()
public boolean hasMarketingMethod()
Marketing method to which metrics apply. Segment.
optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the marketingMethod field is set. |
hasOfferId()
public boolean hasOfferId()
Merchant-provided id of the product. Segment.
optional string offer_id = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the offerId field is set. |
hasProductTypeL1()
public boolean hasProductTypeL1()
Product type (1st level) in merchant's own product taxonomy. Segment.
optional string product_type_l1 = 13;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL1 field is set. |
hasProductTypeL2()
public boolean hasProductTypeL2()
Product type (2nd level) in merchant's own product taxonomy. Segment.
optional string product_type_l2 = 14;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL2 field is set. |
hasProductTypeL3()
public boolean hasProductTypeL3()
Product type (3rd level) in merchant's own product taxonomy. Segment.
optional string product_type_l3 = 15;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL3 field is set. |
hasProductTypeL4()
public boolean hasProductTypeL4()
Product type (4th level) in merchant's own product taxonomy. Segment.
optional string product_type_l4 = 16;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL4 field is set. |
hasProductTypeL5()
public boolean hasProductTypeL5()
Product type (5th level) in merchant's own product taxonomy. Segment.
optional string product_type_l5 = 17;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL5 field is set. |
hasTitle()
public boolean hasTitle()
Title of the product. Segment.
optional string title = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the title field is set. |
hasWeek()
public boolean hasWeek()
First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
.google.type.Date week = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the week field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConversionValue(Price value)
public ProductPerformanceView.Builder mergeConversionValue(Price value)
Value of conversions attributed to the product, reported on the conversion date. Metric.
Available only for the FREE
traffic source.
.google.shopping.type.Price conversion_value = 27;
Parameter | |
---|---|
Name | Description |
value | Price |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
mergeDate(Date value)
public ProductPerformanceView.Builder mergeDate(Date value)
Date in the merchant timezone to which metrics apply. Segment.
Condition on date
is required in the WHERE
clause.
.google.type.Date date = 2;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProductPerformanceView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ProductPerformanceView.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
mergeFrom(ProductPerformanceView other)
public ProductPerformanceView.Builder mergeFrom(ProductPerformanceView other)
Parameter | |
---|---|
Name | Description |
other | ProductPerformanceView |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProductPerformanceView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
mergeWeek(Date value)
public ProductPerformanceView.Builder mergeWeek(Date value)
First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
.google.type.Date week = 3;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
setBrand(String value)
public ProductPerformanceView.Builder setBrand(String value)
Brand of the product. Segment.
optional string brand = 7;
Parameter | |
---|---|
Name | Description |
value | String The brand to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setBrandBytes(ByteString value)
public ProductPerformanceView.Builder setBrandBytes(ByteString value)
Brand of the product. Segment.
optional string brand = 7;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for brand to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCategoryL1(String value)
public ProductPerformanceView.Builder setCategoryL1(String value)
Product category (1st level) in Google's product taxonomy. Segment.
optional string category_l1 = 8;
Parameter | |
---|---|
Name | Description |
value | String The categoryL1 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCategoryL1Bytes(ByteString value)
public ProductPerformanceView.Builder setCategoryL1Bytes(ByteString value)
Product category (1st level) in Google's product taxonomy. Segment.
optional string category_l1 = 8;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL1 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCategoryL2(String value)
public ProductPerformanceView.Builder setCategoryL2(String value)
Product category (2nd level) in Google's product taxonomy. Segment.
optional string category_l2 = 9;
Parameter | |
---|---|
Name | Description |
value | String The categoryL2 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCategoryL2Bytes(ByteString value)
public ProductPerformanceView.Builder setCategoryL2Bytes(ByteString value)
Product category (2nd level) in Google's product taxonomy. Segment.
optional string category_l2 = 9;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL2 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCategoryL3(String value)
public ProductPerformanceView.Builder setCategoryL3(String value)
Product category (3rd level) in Google's product taxonomy. Segment.
optional string category_l3 = 10;
Parameter | |
---|---|
Name | Description |
value | String The categoryL3 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCategoryL3Bytes(ByteString value)
public ProductPerformanceView.Builder setCategoryL3Bytes(ByteString value)
Product category (3rd level) in Google's product taxonomy. Segment.
optional string category_l3 = 10;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL3 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCategoryL4(String value)
public ProductPerformanceView.Builder setCategoryL4(String value)
Product category (4th level) in Google's product taxonomy. Segment.
optional string category_l4 = 11;
Parameter | |
---|---|
Name | Description |
value | String The categoryL4 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCategoryL4Bytes(ByteString value)
public ProductPerformanceView.Builder setCategoryL4Bytes(ByteString value)
Product category (4th level) in Google's product taxonomy. Segment.
optional string category_l4 = 11;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL4 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCategoryL5(String value)
public ProductPerformanceView.Builder setCategoryL5(String value)
Product category (5th level) in Google's product taxonomy. Segment.
optional string category_l5 = 12;
Parameter | |
---|---|
Name | Description |
value | String The categoryL5 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCategoryL5Bytes(ByteString value)
public ProductPerformanceView.Builder setCategoryL5Bytes(ByteString value)
Product category (5th level) in Google's product taxonomy. Segment.
optional string category_l5 = 12;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for categoryL5 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setClickThroughRate(double value)
public ProductPerformanceView.Builder setClickThroughRate(double value)
Click-through rate - the number of clicks merchant's products receive (clicks) divided by the number of times the products are shown (impressions). Metric.
optional double click_through_rate = 25;
Parameter | |
---|---|
Name | Description |
value | double The clickThroughRate to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setClicks(long value)
public ProductPerformanceView.Builder setClicks(long value)
Number of clicks. Metric.
optional int64 clicks = 23;
Parameter | |
---|---|
Name | Description |
value | long The clicks to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setConversionRate(double value)
public ProductPerformanceView.Builder setConversionRate(double value)
Number of conversions divided by the number of clicks, reported on the impression date. Metric.
Available only for the FREE
traffic source.
optional double conversion_rate = 28;
Parameter | |
---|---|
Name | Description |
value | double The conversionRate to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setConversionValue(Price value)
public ProductPerformanceView.Builder setConversionValue(Price value)
Value of conversions attributed to the product, reported on the conversion date. Metric.
Available only for the FREE
traffic source.
.google.shopping.type.Price conversion_value = 27;
Parameter | |
---|---|
Name | Description |
value | Price |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
setConversionValue(Price.Builder builderForValue)
public ProductPerformanceView.Builder setConversionValue(Price.Builder builderForValue)
Value of conversions attributed to the product, reported on the conversion date. Metric.
Available only for the FREE
traffic source.
.google.shopping.type.Price conversion_value = 27;
Parameter | |
---|---|
Name | Description |
builderForValue | Price.Builder |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
setConversions(double value)
public ProductPerformanceView.Builder setConversions(double value)
Number of conversions attributed to the product, reported on the conversion date. Depending on the attribution model, a conversion might be distributed across multiple clicks, where each click gets its own credit assigned. This metric is a sum of all such credits. Metric.
Available only for the FREE
traffic source.
optional double conversions = 26;
Parameter | |
---|---|
Name | Description |
value | double The conversions to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomLabel0(String value)
public ProductPerformanceView.Builder setCustomLabel0(String value)
Custom label 0 for custom grouping of products. Segment.
optional string custom_label0 = 18;
Parameter | |
---|---|
Name | Description |
value | String The customLabel0 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomLabel0Bytes(ByteString value)
public ProductPerformanceView.Builder setCustomLabel0Bytes(ByteString value)
Custom label 0 for custom grouping of products. Segment.
optional string custom_label0 = 18;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for customLabel0 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomLabel1(String value)
public ProductPerformanceView.Builder setCustomLabel1(String value)
Custom label 1 for custom grouping of products. Segment.
optional string custom_label1 = 19;
Parameter | |
---|---|
Name | Description |
value | String The customLabel1 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomLabel1Bytes(ByteString value)
public ProductPerformanceView.Builder setCustomLabel1Bytes(ByteString value)
Custom label 1 for custom grouping of products. Segment.
optional string custom_label1 = 19;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for customLabel1 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomLabel2(String value)
public ProductPerformanceView.Builder setCustomLabel2(String value)
Custom label 2 for custom grouping of products. Segment.
optional string custom_label2 = 20;
Parameter | |
---|---|
Name | Description |
value | String The customLabel2 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomLabel2Bytes(ByteString value)
public ProductPerformanceView.Builder setCustomLabel2Bytes(ByteString value)
Custom label 2 for custom grouping of products. Segment.
optional string custom_label2 = 20;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for customLabel2 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomLabel3(String value)
public ProductPerformanceView.Builder setCustomLabel3(String value)
Custom label 3 for custom grouping of products. Segment.
optional string custom_label3 = 21;
Parameter | |
---|---|
Name | Description |
value | String The customLabel3 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomLabel3Bytes(ByteString value)
public ProductPerformanceView.Builder setCustomLabel3Bytes(ByteString value)
Custom label 3 for custom grouping of products. Segment.
optional string custom_label3 = 21;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for customLabel3 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomLabel4(String value)
public ProductPerformanceView.Builder setCustomLabel4(String value)
Custom label 4 for custom grouping of products. Segment.
optional string custom_label4 = 22;
Parameter | |
---|---|
Name | Description |
value | String The customLabel4 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomLabel4Bytes(ByteString value)
public ProductPerformanceView.Builder setCustomLabel4Bytes(ByteString value)
Custom label 4 for custom grouping of products. Segment.
optional string custom_label4 = 22;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for customLabel4 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomerCountryCode(String value)
public ProductPerformanceView.Builder setCustomerCountryCode(String value)
Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. Segment.
If the customer country cannot be determined, a special 'ZZ' code is returned.
optional string customer_country_code = 4;
Parameter | |
---|---|
Name | Description |
value | String The customerCountryCode to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setCustomerCountryCodeBytes(ByteString value)
public ProductPerformanceView.Builder setCustomerCountryCodeBytes(ByteString value)
Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. Segment.
If the customer country cannot be determined, a special 'ZZ' code is returned.
optional string customer_country_code = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for customerCountryCode to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setDate(Date value)
public ProductPerformanceView.Builder setDate(Date value)
Date in the merchant timezone to which metrics apply. Segment.
Condition on date
is required in the WHERE
clause.
.google.type.Date date = 2;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
setDate(Date.Builder builderForValue)
public ProductPerformanceView.Builder setDate(Date.Builder builderForValue)
Date in the merchant timezone to which metrics apply. Segment.
Condition on date
is required in the WHERE
clause.
.google.type.Date date = 2;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ProductPerformanceView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
setImpressions(long value)
public ProductPerformanceView.Builder setImpressions(long value)
Number of times merchant's products are shown. Metric.
optional int64 impressions = 24;
Parameter | |
---|---|
Name | Description |
value | long The impressions to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setMarketingMethod(MarketingMethod.MarketingMethodEnum value)
public ProductPerformanceView.Builder setMarketingMethod(MarketingMethod.MarketingMethodEnum value)
Marketing method to which metrics apply. Segment.
optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
Parameter | |
---|---|
Name | Description |
value | MarketingMethod.MarketingMethodEnum The marketingMethod to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setMarketingMethodValue(int value)
public ProductPerformanceView.Builder setMarketingMethodValue(int value)
Marketing method to which metrics apply. Segment.
optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for marketingMethod to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setOfferId(String value)
public ProductPerformanceView.Builder setOfferId(String value)
Merchant-provided id of the product. Segment.
optional string offer_id = 5;
Parameter | |
---|---|
Name | Description |
value | String The offerId to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setOfferIdBytes(ByteString value)
public ProductPerformanceView.Builder setOfferIdBytes(ByteString value)
Merchant-provided id of the product. Segment.
optional string offer_id = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for offerId to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setProductTypeL1(String value)
public ProductPerformanceView.Builder setProductTypeL1(String value)
Product type (1st level) in merchant's own product taxonomy. Segment.
optional string product_type_l1 = 13;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL1 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setProductTypeL1Bytes(ByteString value)
public ProductPerformanceView.Builder setProductTypeL1Bytes(ByteString value)
Product type (1st level) in merchant's own product taxonomy. Segment.
optional string product_type_l1 = 13;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL1 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setProductTypeL2(String value)
public ProductPerformanceView.Builder setProductTypeL2(String value)
Product type (2nd level) in merchant's own product taxonomy. Segment.
optional string product_type_l2 = 14;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL2 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setProductTypeL2Bytes(ByteString value)
public ProductPerformanceView.Builder setProductTypeL2Bytes(ByteString value)
Product type (2nd level) in merchant's own product taxonomy. Segment.
optional string product_type_l2 = 14;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL2 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setProductTypeL3(String value)
public ProductPerformanceView.Builder setProductTypeL3(String value)
Product type (3rd level) in merchant's own product taxonomy. Segment.
optional string product_type_l3 = 15;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL3 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setProductTypeL3Bytes(ByteString value)
public ProductPerformanceView.Builder setProductTypeL3Bytes(ByteString value)
Product type (3rd level) in merchant's own product taxonomy. Segment.
optional string product_type_l3 = 15;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL3 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setProductTypeL4(String value)
public ProductPerformanceView.Builder setProductTypeL4(String value)
Product type (4th level) in merchant's own product taxonomy. Segment.
optional string product_type_l4 = 16;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL4 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setProductTypeL4Bytes(ByteString value)
public ProductPerformanceView.Builder setProductTypeL4Bytes(ByteString value)
Product type (4th level) in merchant's own product taxonomy. Segment.
optional string product_type_l4 = 16;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL4 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setProductTypeL5(String value)
public ProductPerformanceView.Builder setProductTypeL5(String value)
Product type (5th level) in merchant's own product taxonomy. Segment.
optional string product_type_l5 = 17;
Parameter | |
---|---|
Name | Description |
value | String The productTypeL5 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setProductTypeL5Bytes(ByteString value)
public ProductPerformanceView.Builder setProductTypeL5Bytes(ByteString value)
Product type (5th level) in merchant's own product taxonomy. Segment.
optional string product_type_l5 = 17;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for productTypeL5 to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProductPerformanceView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
setTitle(String value)
public ProductPerformanceView.Builder setTitle(String value)
Title of the product. Segment.
optional string title = 6;
Parameter | |
---|---|
Name | Description |
value | String The title to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public ProductPerformanceView.Builder setTitleBytes(ByteString value)
Title of the product. Segment.
optional string title = 6;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProductPerformanceView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
setWeek(Date value)
public ProductPerformanceView.Builder setWeek(Date value)
First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
.google.type.Date week = 3;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |
setWeek(Date.Builder builderForValue)
public ProductPerformanceView.Builder setWeek(Date.Builder builderForValue)
First day of the week (Monday) of the metrics date in the merchant timezone. Segment.
.google.type.Date week = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
ProductPerformanceView.Builder |