Returns the price accuracy summary.
HTTP request
GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/priceAccuracyViews:summarize
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The resource name of the account that is being queried. The format is |
Request body
The request body must be empty.
Response body
Response message for PriceAccuracyViewService.SummarizePriceAccuracy
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "currentScore": enum ( |
Fields | |
---|---|
currentScore |
The current price accuracy score. Contains the same value as |
current |
The current website price accuracy score. |
current |
The current Book on Google price accuracy score. |
current |
The current price accuracy score combining both website and Book on Google scores. |
update |
The update timestamp for the current score. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
predictedScore |
The predicted price accuracy score. Contains the same value as |
predicted |
The predicted website price accuracy score. |
predicted |
The predicted Book on Google price accuracy score. |
predicted |
The predicted price accuracy score combining both website and Book on Google scores. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/travelpartner
For more information, see the OAuth 2.0 Overview.
PriceAccuracyState
Enumerates supported price accuracy states.
Enums | |
---|---|
PRICE_ACCURACY_STATE_UNSPECIFIED |
Not specified. |
PRICE_ACCURACY_STATE_UNKNOWN |
The value is unknown in this version. |
EXCELLENT |
Average score exceeds the positioning threshold. |
GOOD |
Average score is slightly below the positioning threshold. “Good” has been renamed to “Fair” in Hotel Center. |
POOR |
Average score is well below the positioning threshold. |
AT_RISK |
Average score is close to the account suspension threshold. |
FAILED |
Average score is below the account suspension threshold. |