Resource: HotelView
A hotel view.
JSON representation |
---|
{ "partnerHotelId": string, "googleHotelId": string, "googleClusterId": string, "partnerHotelDisplayName": string, "googleHotelDisplayName": string, "overclusteredPartnerHotelIds": [ string ], "primaryOverclusteredPartnerHotelId": string, "dataIssues": [ enum ( |
Fields | |
---|---|
partnerHotelId |
The unique ID of the hotel that the partner provides in their Hotel List Feed. |
googleHotelId |
Google's canonical ID for the hotel. |
googleClusterId |
The Google Maps identifier for the hotel. |
partnerHotelDisplayName |
Partner's hotel name. |
googleHotelDisplayName |
Google's hotel name. |
overclusteredPartnerHotelIds[] |
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 |
The primary hotel in the overclustered set. |
dataIssues[] |
Indicates that the hotel has data quality issues. The value of this field is an array of error codes associated with the listing. If your feed contains data issues, update the feed and resubmit it. For more information, refer to this article. |
matchStatus |
Current matching status of the hotel. |
liveOnGoogle |
Optional. Whether the hotel appears in Google's hotel booking links. Declaration & behavior to get detection of presence/absence in JSON conversion. |
propertyDetails |
Optional. A URL to the property on Google. Only available for properties that are listed. |
FeedDataIssue
Enumerates Hotels and Local feed data issues.
Enums | |
---|---|
FEED_DATA_ISSUE_UNSPECIFIED |
Not specified. |
FEED_DATA_ISSUE_UNKNOWN |
The value is unknown in this version. |
NO_DATA_ISSUE |
No data issues found. |
DUPLICATE_ADDRESS |
The address is the same as another property in the Hotel List Feed. |
MISSING_PHYSICAL_STREET_ADDRESS |
The provided address appears to contain a postal box instead of a physical street address. |
MISSING_STREET_NAME |
The address does not appear to contain a street name. |
MISSING_STREET_NUMBER |
The address does not appear to contain a street number. |
MISSING_ADDRESS |
The address does not appear to contain a street number, street name, or supported country code. |
MISSING_COUNTRY |
An invalid but recognized country code was provided. |
INVALID_POSTAL_CODE |
The address contains an invalid postal code. |
INVALID_POSTAL_CODE_SUFFIX |
The address contains an invalid postal code suffix. |
UNEXPECTED_POSTAL_CODE_SUFFIX |
The address contains a postal code suffix when unsupported by the country's postal code system. |
UNEXPECTED_POSTAL_CODE |
The address contains a postal code when unsupported by the country's postal code system. |
INVALID_AMENITIES |
The name and value at 'listing.content.attributes.attr' is either unsupported or has an invalid value. |
INVALID_EMAIL_ADDRESS |
The email at 'listing.content.attributes.attr[name='email']' is not a valid email address. |
DUPLICATE_LATLONG |
The latitude/longitude pair is the same as another property in the Hotel List Feed. |
LATLONG_INCONSISTENT_WITH_ADDRESS |
The latitude/longitude pair provided for the address is more than 500 meters away from the Google latitude/longitude generated from the address. |
MISSING_LATLONG |
A valid pair of latitude/longitude fields is missing and Google latitude/longitude generation is disabled. |
COULD_NOT_GEOCODE |
A valid pair of latitude/longitude fields is missing and Google could not generate them from the address. |
MISSING_HOTEL_NAME |
No hotel name is provided. |
HOTEL_NAME_EMPTY |
An empty or whitespace only name is provided, but no valid name. |
INVALID_HOTEL_NAME |
An invalid name is provided, but no valid name. |
HOTEL_NAME_TOO_LONG |
The hotel name exceeds 200 characters. |
PARSE_ERROR_IN_XML |
Google encountered an error while importing your Hotel List Feed. |
UNEXPECTED_ATTRIBUTE_IN_XML |
Google encountered an unknown error while importing your Hotel List Feed. |
DUPLICATE_PHONE_NUMBER |
The phone number you provided for this property is the same as the phone number for another property. More than one listing in the Hotel List Feed cannot have the same phone number. |
MISSING_PHONE_NUMBER |
No valid phone number for this property found. |
MISSING_VOICE_PHONE_NUMBER |
Only invalid or fax phone numbers found. |
INVALID_PHONE_NUMBER_FORMAT |
The phone number format is not valid. |
INVALID_PHONE_NUMBER |
The phone number is not valid. |
INVALID_PHONE_NUMBER_COUNTRY_CODE |
The country code of the phone number is not valid. |
PHONE_NUMBER_TOO_LONG |
The phone number contains too many digits. |
PHONE_NUMBER_TOO_SHORT |
The phone number contains has too few digits. |
INVALID_WEBSITE_URL |
The specified content.attributes.attr[name='website'] element is not a valid URL. |
ADWORDS_ATTRIBUTE_TOO_LONG |
The category or content.attributes.client_attr[name='hotel_brand'] element exceeds 70 Unicode characters, and/or content.attributes.client_attr[name='custom_*'] exceeds 100 Unicode characters. |
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 |
|
---|---|
|
Returns the list of hotel views. |
|
Returns summarized information about hotels. |