Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

ListingDimensionInfo

Stay organized with collections Save and categorize content based on your preferences.

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)
  },
  "productBiddingCategory": {
    object (ProductBiddingCategoryInfo)
  },
  "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)
  },
  "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.

productBiddingCategory

object (ProductBiddingCategoryInfo)

Bidding 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.

productLabels

object (ProductLabelsInfo)

Labels of a product offer.

productLegacyCondition

object (ProductLegacyConditionInfo)

Legacy condition of a product offer.

productTypeFull

object (ProductTypeFullInfo)

Full type of a product offer.

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.

ProductBiddingCategoryInfo

Bidding category of a product offer.

JSON representation
{
  "level": enum (ProductBiddingCategoryLevel),
  "id": string,
  "countryCode": string
}
Fields
level

enum (ProductBiddingCategoryLevel)

Level of the product bidding category.

id

string (int64 format)

ID of the product bidding category.

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

countryCode

string

Two-letter upper-case country code of the product bidding category. It must match the campaign.shopping_setting.sales_country field.

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.