REST Resource: accounts.hotelViews

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

Resource: HotelView

A hotel view.

JSON representation
{
  "partnerHotelId": string,
  "googleHotelId": string,
  "googleClusterId": string,
  "partnerHotelDisplayName": string,
  "googleHotelDisplayName": string,
  "overclusteredPartnerHotelIds": [
    string
  ],
  "primaryOverclusteredPartnerHotelId": string,
  "matchStatus": enum (MatchStatus),
  "dataIssueDetail": [
    {
      object (DataIssueDetail)
    }
  ],
  "dataIssues": [
    enum (FeedDataIssue)
  ],

  // Union field _live_on_google can be only one of the following:
  "liveOnGoogle": boolean
  // End of list of possible types for union field _live_on_google.

  // Union field _property_details can be only one of the following:
  "propertyDetails": string
  // End of list of possible types for union field _property_details.
}
Fields
partnerHotelId

string

The unique ID of the hotel that the partner provides in their Hotel List Feed.

googleHotelId

string

Google's canonical ID for the hotel.

googleClusterId

string

The Google Maps identifier for the hotel.

partnerHotelDisplayName

string

Partner's hotel name.

googleHotelDisplayName

string

Google's hotel name.

overclusteredPartnerHotelIds[]

string

Other hotels with which the hotel is overclustered.

If your feed contains overclustered hotels, update the feed and resubmit it. To do this, you can use the manual match tool.

primaryOverclusteredPartnerHotelId

string

The primary hotel in the overclustered set.

matchStatus

enum (MatchStatus)

Current matching status of the hotel.

dataIssueDetail[]

object (DataIssueDetail)

The type and severity of each data quality issue in the feed.

If your feed contains data issues, update the feed and resubmit it. For more information, refer to this article.

dataIssues[]

enum (FeedDataIssue)

DEPRECATED. Indicates that the hotel has data quality issues. The value of this field indicates the type of error. This has been replaced with the dataIssueDetail field.

If your feed contains data issues, update the feed and resubmit it. For more information, refer to this article.

Union field _live_on_google.

_live_on_google can be only one of the following:

liveOnGoogle

boolean

Optional. Whether the hotel appears in Google's hotel booking links. Declaration & behavior to get detection of presence/absence in JSON conversion.

Union field _property_details.

_property_details can be only one of the following:

propertyDetails

string

Optional. A URL to the property on Google. Only available for properties that are listed.

MatchStatus

Enumerates matching status of a hotel.

Enums
MATCH_STATUS_UNSPECIFIED Not specified.
MATCH_STATUS_UNKNOWN The value is unknown in this version.
NOT_MATCHED This hotel does not correspond to a hotel on Google Maps.
MATCHED This hotel corresponds to a hotel on Google Maps.
MAP_OVERLAP More than one of your hotels match this hotel on Google Maps.

Methods

list

Returns the list of hotel views.

summarize

Returns summarized information about hotels.