Method: accounts.hotelViews.summarize

  • The accounts.hotelViews.summarize method provides summarized information about hotels for a given account.

  • The HTTP request is a GET request using the path https://travelpartner.googleapis.com/v3/{parent=accounts/*}/hotelViews:summarize.

  • The only required path parameter is parent, which specifies the account being queried in the format accounts/{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

string

The resource name of the account being queried. The format is accounts/{account_id}.

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

string (int64 format)

The number of properties that match Google's manifest.

unmatchedPropertyCount

string (int64 format)

The number of properties that are considered unmatched.

unmatchedPropertyWithErrorsCount

string (int64 format)

The number of unmatched properties that have data-related errors.

overclusteredPropertyCount

string (int64 format)

The number of hotels that are considered overclustered.

overclusteredPropertyWithErrorsCount

string (int64 format)

The number of overclustered properties that have data-related errors.

liveOnGooglePropertyCount

string (int64 format)

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

string (Timestamp format)

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

lastFeedSubmissionTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/travelpartner

For more information, see the OAuth 2.0 Overview.