Class Segments
Dimensions according to which metrics are segmented in the response. Values of product dimensions, such as
offer_id
, reflect the state of a product at the time of the corresponding event, for example, impression or
order. Segment fields cannot be selected in queries without also selecting at least one metric field. Values are
only set for dimensions requested explicitly in the request's search query.
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class Segments : IDirectResponseSchema
Properties
Brand
Brand of the product.
Declaration
[JsonProperty("brand")]
public virtual string Brand { get; set; }
Property Value
Type | Description |
---|---|
string |
CategoryL1
Product category (1st level) in Google's product taxonomy.
Declaration
[JsonProperty("categoryL1")]
public virtual string CategoryL1 { get; set; }
Property Value
Type | Description |
---|---|
string |
CategoryL2
Product category (2nd level) in Google's product taxonomy.
Declaration
[JsonProperty("categoryL2")]
public virtual string CategoryL2 { get; set; }
Property Value
Type | Description |
---|---|
string |
CategoryL3
Product category (3rd level) in Google's product taxonomy.
Declaration
[JsonProperty("categoryL3")]
public virtual string CategoryL3 { get; set; }
Property Value
Type | Description |
---|---|
string |
CategoryL4
Product category (4th level) in Google's product taxonomy.
Declaration
[JsonProperty("categoryL4")]
public virtual string CategoryL4 { get; set; }
Property Value
Type | Description |
---|---|
string |
CategoryL5
Product category (5th level) in Google's product taxonomy.
Declaration
[JsonProperty("categoryL5")]
public virtual string CategoryL5 { get; set; }
Property Value
Type | Description |
---|---|
string |
CurrencyCode
Currency in which price metrics are represented, for example, if you select ordered_item_sales_micros
, the
returned value will be represented by this currency.
Declaration
[JsonProperty("currencyCode")]
public virtual string CurrencyCode { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomLabel0
Custom label 0 for custom grouping of products.
Declaration
[JsonProperty("customLabel0")]
public virtual string CustomLabel0 { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomLabel1
Custom label 1 for custom grouping of products.
Declaration
[JsonProperty("customLabel1")]
public virtual string CustomLabel1 { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomLabel2
Custom label 2 for custom grouping of products.
Declaration
[JsonProperty("customLabel2")]
public virtual string CustomLabel2 { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomLabel3
Custom label 3 for custom grouping of products.
Declaration
[JsonProperty("customLabel3")]
public virtual string CustomLabel3 { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomLabel4
Custom label 4 for custom grouping of products.
Declaration
[JsonProperty("customLabel4")]
public virtual string CustomLabel4 { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomerCountryCode
Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. If the customer country cannot be determined, a special 'ZZ' code is returned.
Declaration
[JsonProperty("customerCountryCode")]
public virtual string CustomerCountryCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Date
Date in the merchant timezone to which metrics apply.
Declaration
[JsonProperty("date")]
public virtual Date Date { get; set; }
Property Value
Type | Description |
---|---|
Date |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
OfferId
Merchant-provided id of the product.
Declaration
[JsonProperty("offerId")]
public virtual string OfferId { get; set; }
Property Value
Type | Description |
---|---|
string |
ProductTypeL1
Product type (1st level) in merchant's own product taxonomy.
Declaration
[JsonProperty("productTypeL1")]
public virtual string ProductTypeL1 { get; set; }
Property Value
Type | Description |
---|---|
string |
ProductTypeL2
Product type (2nd level) in merchant's own product taxonomy.
Declaration
[JsonProperty("productTypeL2")]
public virtual string ProductTypeL2 { get; set; }
Property Value
Type | Description |
---|---|
string |
ProductTypeL3
Product type (3rd level) in merchant's own product taxonomy.
Declaration
[JsonProperty("productTypeL3")]
public virtual string ProductTypeL3 { get; set; }
Property Value
Type | Description |
---|---|
string |
ProductTypeL4
Product type (4th level) in merchant's own product taxonomy.
Declaration
[JsonProperty("productTypeL4")]
public virtual string ProductTypeL4 { get; set; }
Property Value
Type | Description |
---|---|
string |
ProductTypeL5
Product type (5th level) in merchant's own product taxonomy.
Declaration
[JsonProperty("productTypeL5")]
public virtual string ProductTypeL5 { get; set; }
Property Value
Type | Description |
---|---|
string |
Program
Program to which metrics apply, for example, Free Product Listing.
Declaration
[JsonProperty("program")]
public virtual string Program { get; set; }
Property Value
Type | Description |
---|---|
string |
Title
Title of the product.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
Week
First day of the week (Monday) of the metrics date in the merchant timezone.
Declaration
[JsonProperty("week")]
public virtual Date Week { get; set; }
Property Value
Type | Description |
---|---|
Date |