AI-generated Key Takeaways
-
The
accounts.hotelViews.summarize
method provides summarized information about hotels for a given account. -
The HTTP request is a
GET
request using the pathhttps://travelpartner.googleapis.com/v3/{parent=accounts/*}/hotelViews:summarize
. -
The only required path parameter is
parent
, which specifies the account being queried in the formataccounts/{account_id}
. -
The request body must be empty.
-
The response body contains fields such as property counts (matched, unmatched, overclustered, live on Google) and timestamps for the last manifest update and feed submission.
Returns summarized information about hotels.
HTTP request
GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/hotelViews:summarize
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The resource name of the account being queried. The format is |
Request body
The request body must be empty.
Response body
Response message for HotelViewService.SummarizeHotelViews
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "matchedPropertyCount": string, "unmatchedPropertyCount": string, "unmatchedPropertyWithErrorsCount": string, "overclusteredPropertyCount": string, "overclusteredPropertyWithErrorsCount": string, "liveOnGooglePropertyCount": string, "lastManifestUpdateTime": string, "lastFeedSubmissionTime": string } |
Fields | |
---|---|
matchedPropertyCount |
The number of properties that match Google's manifest. |
unmatchedPropertyCount |
The number of properties that are considered unmatched. |
unmatchedPropertyWithErrorsCount |
The number of unmatched properties that have data-related errors. |
overclusteredPropertyCount |
The number of hotels that are considered overclustered. |
overclusteredPropertyWithErrorsCount |
The number of overclustered properties that have data-related errors. |
liveOnGooglePropertyCount |
The number of properties that are Live on Google. This includes properties that are conditionally active, e.g. LIVE_ON_GOOGLE_STATUS_ACTIVE_OUTSIDE_DSA_REGION. |
lastManifestUpdateTime |
Timestamp of the last hotel manifest update. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
lastFeedSubmissionTime |
Timestamp of the last hotel feed submission. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/travelpartner
For more information, see the OAuth 2.0 Overview.