- [Resource: PriceAccuracyView](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceAccuracyView)
  - [JSON representation](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceAccuracyView.SCHEMA_REPRESENTATION)
- [PriceAccuracyRow](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceAccuracyRow)
  - [JSON representation](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceAccuracyRow.SCHEMA_REPRESENTATION)
- [PriceRecord](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceRecord)
  - [JSON representation](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceRecord.SCHEMA_REPRESENTATION)
- [Device](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#Device)
- [MismatchReason](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#MismatchReason)
- [SignalSource](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#SignalSource)
- [Methods](https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#METHODS_SUMMARY)

## 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](https://support.google.com/hotelprices/answer/6318506).

| JSON representation |
|---|
| ``` { "name": string, "results": [ { object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceAccuracyRow`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Resource name should be in the format `accounts/{account_id}/priceAccuracyViews/{report_date}`. |
| `results[]` | ``object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceAccuracyRow`)`` The list of rows that match the query. |

## PriceAccuracyRow

A price accuracy row.

| JSON representation |
|---|
| ``` { "hotel": string, "checkinDate": { object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/Date`) }, "lengthOfStayDays": integer, "fetchedPriceRecord": { object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceRecord`) }, "cachedPriceRecord": { object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceRecord`) }, "correctionTime": string, "url": string, "rateRuleId": string, "hotelCountryCode": string, "deviceType": enum (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#Device`), "finalDomain": string, "mismatchReason": enum (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#MismatchReason`), "affectsScore": boolean, "signalSource": enum (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#SignalSource`), "userRegionCode": string, "adultOccupancy": integer, "childOccupancy": integer } ``` |

| Fields ||
|---|---|
| `hotel` | `string` Partner-defined hotel ID. |
| `checkinDate` | ``object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/Date`)`` Check-in date. |
| `lengthOfStayDays` | `integer` Length of stay. |
| `fetchedPriceRecord` | ``object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceRecord`)`` Price as read from the partner website. |
| `cachedPriceRecord` | ``object (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceRecord`)`` Price as advertised. |
| `correctionTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Time at which an incorrect price is updated to a correct price. Uses RFC 3339, where generated output will always be Z-normalized and use 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"`. |
| `url` | `string` Initial URL visited on the partner website. |
| `rateRuleId` | `string` The rate rule of the advertised price for non-public rates. |
| `hotelCountryCode` | `string` The country of the hotel (based on address). |
| `deviceType` | ``enum (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#Device`)`` The user's device type. |
| `finalDomain` | `string` The domain of the final page from which prices are read. |
| `mismatchReason` | ``enum (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#MismatchReason`)`` The reason why the fetched price didn't match the cached price. |
| `affectsScore` | `boolean` True if this row affects the overall price accuracy score. |
| `signalSource` | ``enum (`https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#SignalSource`)`` Source of the price accuracy signal. |
| `userRegionCode` | `string` The user's region. |
| `adultOccupancy` | `integer` The number of adults in the occupancy details of the validation query. Note: This field may not be consistently populated due to technical constraints. If missing, partners should assume a default of 2 adults. |
| `childOccupancy` | `integer` The number of children in the occupancy details of the validation query. Note: This field may not be consistently populated. If missing, partners should assume a default of 0 children. |

## PriceRecord

A price record.

| JSON representation |
|---|
| ``` { "basePrice": number, "taxesAndFees": number, "currencyCode": string, "time": string } ``` |

| Fields ||
|---|---|
| `basePrice` | `number` Base price. |
| `taxesAndFees` | `number` Taxes and fees. |
| `currencyCode` | `string` ISO 4217 currency code. |
| `time` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Timestamp of this price record. Uses RFC 3339, where generated output will always be Z-normalized and use 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"`. |

## 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 ||
|---|---|
| ### `https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews/get` | Returns the requested price accuracy view in full detail. |
| ### `https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews/list` | Lists the available price accuracy views. |
| ### `https://developers.google.com/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews/summarize` | Returns the price accuracy summary. |