AI-generated Key Takeaways
-
The PriceAccuracyView resource covers price accuracy reports and provides a list of rows matching a query.
-
Each PriceAccuracyRow contains details about a price accuracy event including hotel, dates, fetched and cached prices, device type, and reason for price mismatch.
-
A PriceRecord includes the base price, taxes and fees, currency code, and a timestamp.
-
The API defines specific enums for Device types, Mismatch Reasons for price discrepancies, and Signal Sources for price accuracy data.
-
Methods available include retrieving a specific price accuracy view, listing available views, and summarizing price accuracy.
Resource: PriceAccuracyView
A price accuracy view. Covers the price accuracy reports functionality in pre-v3.0 API versions. For more information, refer to Price Accuracy report .
| JSON representation |
|---|
{
"name"
:
string
,
"results"
:
[
{
object (
|
| Fields | |
|---|---|
name
|
Resource name should be in the format |
results[]
|
The list of rows that match the query. |
PriceAccuracyRow
A price accuracy row.
| JSON representation |
|---|
{ "hotel" : string , "checkinDate" : { object ( |
| Fields | |
|---|---|
hotel
|
Partner-defined hotel ID. |
checkinDate
|
Check-in date. |
lengthOfStayDays
|
Length of stay. |
fetchedPriceRecord
|
Price as read from the partner website. |
cachedPriceRecord
|
Price as advertised. |
correctionTime
|
Time at which an incorrect price is updated to a correct price. 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: |
url
|
Initial URL visited on the partner website. |
rateRuleId
|
The rate rule of the advertised price for non-public rates. |
hotelCountryCode
|
The country of the hotel (based on address). |
deviceType
|
The user's device type. |
finalDomain
|
The domain of the final page from which prices are read. |
mismatchReason
|
The reason why the fetched price didn't match the cached price. |
affectsScore
|
True if this row affects the overall price accuracy score. |
signalSource
|
Source of the price accuracy signal. |
userRegionCode
|
The user's region. |
adultOccupancy
|
The number of adults in the occupancy details of the validation query. |
childOccupancy
|
The number of children in the occupancy details of the validation query. |
PriceRecord
A price record.
| JSON representation |
|---|
{ "basePrice" : number , "taxesAndFees" : number , "currencyCode" : string , "time" : string } |
| Fields | |
|---|---|
basePrice
|
Base price. |
taxesAndFees
|
Taxes and fees. |
currencyCode
|
ISO 4217 currency code. |
time
|
Timestamp of this price record. 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: |
Device
Enumerates supported devices.
| Enums | |
|---|---|
DEVICE_UNSPECIFIED
|
Not specified. |
DEVICE_UNKNOWN
|
The value is unknown in this version. |
DESKTOP
|
Computers. |
MOBILE
|
Mobile devices with full browsers. |
TABLET
|
Tablets with full browsers. |
MismatchReason
Enumerates mismatch reasons.
| Enums | |
|---|---|
MISMATCH_REASON_UNSPECIFIED
|
Not specified. |
MISMATCH_REASON_UNKNOWN
|
The value is unknown in this version. |
TAX_MISMATCH
|
Tax mismatch. |
ROOM_UNAVAILABLE
|
Room unavailable. |
SITE_ERROR
|
Site error. |
PRICE_FEED_DELAYED
|
Price feed delayed. |
DISCOUNT_MISSING
|
Discount missing. |
INCORRECT_DISCOUNT_VALUE
|
Incorrect discount value. |
WRONG_ITINERARY
|
Wrong itinerary. |
SignalSource
Enumerates supported signaling methods for price accuracy.
| Enums | |
|---|---|
SIGNAL_SOURCE_UNSPECIFIED
|
Not specified. |
SIGNAL_SOURCE_UNKNOWN
|
The value is unknown in this version. |
FETCHED
|
The price is read directly from the partner's website. |
PIXEL
|
The price is provided by the partner via a price accuracy pixel. |
Methods |
|
|---|---|
|
Returns the requested price accuracy view in full detail. |
|
Lists the available price accuracy views. |
|
Returns the price accuracy summary. |

