ListingDimensionInfo

Listing dimensions for listing group criterion.

JSON representation
{

  // Union field dimension can be only one of the following:
  "hotelId": {
    object (HotelIdInfo)
  },
  "hotelClass": {
    object (HotelClassInfo)
  },
  "hotelCountryRegion": {
    object (HotelCountryRegionInfo)
  },
  "hotelState": {
    object (HotelStateInfo)
  },
  "hotelCity": {
    object (HotelCityInfo)
  },
  "productCategory": {
    object (ProductCategoryInfo)
  },
  "productBrand": {
    object (ProductBrandInfo)
  },
  "productChannel": {
    object (ProductChannelInfo)
  },
  "productChannelExclusivity": {
    object (ProductChannelExclusivityInfo)
  },
  "productCondition": {
    object (ProductConditionInfo)
  },
  "productCustomAttribute": {
    object (ProductCustomAttributeInfo)
  },
  "productItemId": {
    object (ProductItemIdInfo)
  },
  "productType": {
    object (ProductTypeInfo)
  },
  "productGrouping": {
    object (ProductGroupingInfo)
  },
  "productLabels": {
    object (ProductLabelsInfo)
  },
  "productLegacyCondition": {
    object (ProductLegacyConditionInfo)
  },
  "productTypeFull": {
    object (ProductTypeFullInfo)
  },
  "activityId": {
    object (ActivityIdInfo)
  },
  "activityRating": {
    object (ActivityRatingInfo)
  },
  "activityCountry": {
    object (ActivityCountryInfo)
  },
  "activityState": {
    object (ActivityStateInfo)
  },
  "activityCity": {
    object (ActivityCityInfo)
  },
  "unknownListingDimension": {
    object (UnknownListingDimensionInfo)
  }
  // End of list of possible types for union field dimension.
}
Fields
Union field dimension. Dimension of one of the types below is always present. dimension can be only one of the following:
hotelId

object (HotelIdInfo)

Advertiser-specific hotel ID.

hotelClass

object (HotelClassInfo)

Class of the hotel as a number of stars 1 to 5.

hotelCountryRegion

object (HotelCountryRegionInfo)

Country or Region the hotel is located in.

hotelState

object (HotelStateInfo)

State the hotel is located in.

hotelCity

object (HotelCityInfo)

City the hotel is located in.

productCategory

object (ProductCategoryInfo)

Category of a product offer.

productBrand

object (ProductBrandInfo)

Brand of a product offer.

productChannel

object (ProductChannelInfo)

Locality of a product offer.

productChannelExclusivity

object (ProductChannelExclusivityInfo)

Availability of a product offer.

productCondition

object (ProductConditionInfo)

Condition of a product offer.

productCustomAttribute

object (ProductCustomAttributeInfo)

Custom attribute of a product offer.

productItemId

object (ProductItemIdInfo)

Item id of a product offer.

productType

object (ProductTypeInfo)

Type of a product offer.

productGrouping

object (ProductGroupingInfo)

Grouping of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.

productLabels

object (ProductLabelsInfo)

Labels of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.

productLegacyCondition

object (ProductLegacyConditionInfo)

Legacy condition of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.

productTypeFull

object (ProductTypeFullInfo)

Full type of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.

activityId

object (ActivityIdInfo)

Advertiser-specific activity ID.

activityRating

object (ActivityRatingInfo)

Rating of the activity as a number 1 to 5, where 5 is the best.

activityCountry

object (ActivityCountryInfo)

The country where the travel activity is available.

activityState

object (ActivityStateInfo)

The state where the travel activity is available.

activityCity

object (ActivityCityInfo)

The city where the travel activity is available.

unknownListingDimension

object (UnknownListingDimensionInfo)

Unknown dimension. Set when no other listing dimension is set.

HotelIdInfo

Advertiser-specific hotel ID.

JSON representation
{
  "value": string
}
Fields
value

string

String value of the hotel ID.

HotelClassInfo

Class of the hotel as a number of stars 1 to 5.

JSON representation
{
  "value": string
}
Fields
value

string (int64 format)

Long value of the hotel class.

HotelCountryRegionInfo

Country or Region the hotel is located in.

JSON representation
{
  "countryRegionCriterion": string
}
Fields
countryRegionCriterion

string

The Geo Target Constant resource name.

HotelStateInfo

State the hotel is located in.

JSON representation
{
  "stateCriterion": string
}
Fields
stateCriterion

string

The Geo Target Constant resource name.

HotelCityInfo

City the hotel is located in.

JSON representation
{
  "cityCriterion": string
}
Fields
cityCriterion

string

The Geo Target Constant resource name.

ProductCategoryInfo

Category of a product offer.

JSON representation
{
  "level": enum (ProductCategoryLevel),
  "categoryId": string
}
Fields
level

enum (ProductCategoryLevel)

Level of the product category.

categoryId

string (int64 format)

ID of the product category.

This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436

ProductBrandInfo

Brand of the product.

JSON representation
{
  "value": string
}
Fields
value

string

String value of the product brand.

ProductChannelInfo

Locality of a product offer.

JSON representation
{
  "channel": enum (ProductChannel)
}
Fields
channel

enum (ProductChannel)

Value of the locality.

ProductChannelExclusivityInfo

Availability of a product offer.

JSON representation
{
  "channelExclusivity": enum (ProductChannelExclusivity)
}
Fields
channelExclusivity

enum (ProductChannelExclusivity)

Value of the availability.

ProductConditionInfo

Condition of a product offer.

JSON representation
{
  "condition": enum (ProductCondition)
}
Fields
condition

enum (ProductCondition)

Value of the condition.

ProductCustomAttributeInfo

Custom attribute of a product offer.

JSON representation
{
  "index": enum (ProductCustomAttributeIndex),
  "value": string
}
Fields
index

enum (ProductCustomAttributeIndex)

Indicates the index of the custom attribute.

value

string

String value of the product custom attribute.

ProductCustomAttributeIndex

The index of the product custom attribute.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
INDEX0 First product custom attribute.
INDEX1 Second product custom attribute.
INDEX2 Third product custom attribute.
INDEX3 Fourth product custom attribute.
INDEX4 Fifth product custom attribute.

ProductItemIdInfo

Item id of a product offer.

JSON representation
{
  "value": string
}
Fields
value

string

Value of the id.

ProductTypeInfo

Type of a product offer.

JSON representation
{
  "level": enum (ProductTypeLevel),
  "value": string
}
Fields
level

enum (ProductTypeLevel)

Level of the type.

value

string

Value of the type.

ProductTypeLevel

Enum describing the level of the type of a product offer.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
LEVEL1 Level 1.
LEVEL2 Level 2.
LEVEL3 Level 3.
LEVEL4 Level 4.
LEVEL5 Level 5.

ProductGroupingInfo

Grouping of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.

JSON representation
{
  "value": string
}
Fields
value

string

String value of the product grouping.

ProductLabelsInfo

Labels of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.

JSON representation
{
  "value": string
}
Fields
value

string

String value of the product labels.

ProductLegacyConditionInfo

Legacy condition of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.

JSON representation
{
  "value": string
}
Fields
value

string

String value of the product legacy condition.

ProductTypeFullInfo

Full type of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.

JSON representation
{
  "value": string
}
Fields
value

string

String value of the product full type.

ActivityIdInfo

Advertiser-specific activity ID.

JSON representation
{
  "value": string
}
Fields
value

string

String value of the activity ID.

ActivityRatingInfo

Rating of the activity as a number 1 to 5, where 5 is the best.

JSON representation
{
  "value": string
}
Fields
value

string (int64 format)

Long value of the activity rating.

ActivityCountryInfo

The country where the travel activity is available.

JSON representation
{
  "value": string
}
Fields
value

string

String value of the activity country. The Geo Target Constant resource name.

ActivityStateInfo

The state where the travel activity is available.

JSON representation
{
  "value": string
}
Fields
value

string

String value of the activity state. The Geo Target Constant resource name.

ActivityCityInfo

The city where the travel activity is available.

JSON representation
{
  "value": string
}
Fields
value

string

String value of the activity city. The Geo Target Constant resource name.

UnknownListingDimensionInfo

This type has no fields.

Unknown listing dimension.