Connecting Newbook to BigQuery
Newbook runs mixed-accommodation properties — cabins, powered sites, glamping tents — where each accommodation type has its own capacity, price and seasonality inside one park. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the Newbook reservation before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Newbook reservations in BigQuery: revenue by accommodation type
Load Newbook reservations into BigQuery keyed on reservation ID, with accommodation type, site, arrival and departure dates, nights, total, channel and status, partitioned on arrival date with booking date kept. Join a separate capture table of gclid, fbclid and UTMs. Reload a trailing window to catch modifications, and keep OTA bookings but filter campaign reports to direct only.
BigQuery suits Newbook data because the useful questions are joins: revenue per accommodation type by arrival week, direct versus OTA share by season, and paid campaign performance on direct bookings only. Load reservations from Newbook's API or scheduled reports (check what your account exposes) into a raw table keyed on reservation ID, with accommodation type, site, arrival and departure dates, nights, total, channel and status.
Partition on arrival date and keep booking date as a column. Park revenue is earned by stay, but marketing is judged by when the booking was made, and for summer peaks the two can be months apart. Store the click identifiers you captured on your own domain before the booking engine (gclid, fbclid, UTM values) in a separate capture table, keyed on whatever reference you can pass through the handoff or on email and timestamp, and join it to the reservation.
Reservations change after creation: dates move, a powered site is upgraded to a cabin, nights are added. A load that only picks up new reservations reports the original value forever, so reload a trailing window and keep status history rather than overwriting. OTA reservations stay in the table with channel set, so occupancy is complete while campaign reports filter to direct only.
Newbook → BigQuery · what breaks
Why this join usually fails — Newbook → BigQuery
- 01
Whatever join key you decide on never reaches Newbook
The booking engine is Newbook-hosted and the channel manager brings OTA reservations with no identifier at all.
- 02
Mixed inventory averaged into one occupancy figure
A park at ninety percent occupancy can be full on cheap sites and empty on premium cabins. The aggregate looks healthy and the revenue does not follow.
- 03
The warehouse quietly disagreeing with every platform
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
- 04
Nothing reconciles afterwards
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Newbook → BigQuery · the fix
What working looks like — Newbook → BigQuery
Whatever join key you decide on on every reservation
Conversions arriving in BigQuery
The row lands in a table you own, joinable to every other table you own, with no window and no expiry.
Reconciled against the source
Newbook → BigQuery · architecture
How Newbook and BigQuery actually connect
- 1
Newbook holds the truth
Mixed inventory means one park is several businesses. Glamping fills in summer at a premium; powered sites fill year-round at a lower rate. Averaging them produces a number that guides nothing.
- 2
BigQuery needs a click to match
BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.
- 3
The identifier is the bridge
Whatever join key you decide on, captured at the visit and carried into the Newbook reservation.
- 4
The event source decides reliability
Send direct-channel stays at total revenue, with accommodation type attached.
- 5
Deduplication at the destination
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Newbook → BigQuery · normal or broken
Working vs. broken, side by side — Newbook → BigQuery
Normal, not a fault
Whatever join key you decide on present on the reservation
Sent from the Newbook reservation record
Deduplicated correctly
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Reconciles with the source
Actually broken
Whatever join key you decide on missing on most records
The booking engine is Newbook-hosted and the channel manager brings OTA reservations with no identifier at all.
Sent from the browser
A park at ninety percent occupancy can be full on cheap sites and empty on premium cabins. The aggregate looks healthy and the revenue does not follow.
Counted twice, or not at all
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
Nobody has reconciled it
Newbook → BigQuery · diagnose
Diagnostic order — Newbook → BigQuery
- 01
Count reservations carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Report occupancy and revenue per accommodation type
It is the difference between knowing the park is busy and knowing which part of it is earning.
- 04
Reconcile warehouse order counts against each platform for one closed window
The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.
- 05
Read the match rate, not the success message
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Newbook → BigQuery · prove
How it gets proven — Newbook → BigQuery
Source of truth
Newbook reservations by arrival, with accommodation type and channel recorded.
- Whatever join key you decide on confirmed present on a live reservation.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- Direct stays reconciled at total revenue by accommodation type against imported conversions.
Newbook → BigQuery · free audit
What we check in the free audit
- Count reservations carrying whatever join key you decide on
- Follow one real conversion end to end
- Report occupancy and revenue per accommodation type
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Newbook reservations by arrival, with accommodation type and channel recorded.
Free30 minutesNo obligation
Newbook → BigQuery · when not to buy
When you don't need this — Newbook → BigQuery
- Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry whatever join key you decide on.
- Single-inventory parks can use one conversion action without losing anything.
- If you have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.
Newbook → BigQuery · what we deliver
What gets built — Newbook → BigQuery
Identifier capture into Newbook
Capture on your own domain and keep both accommodation type and channel on every reservation downstream.
Event source: the Newbook reservation record
Send direct-channel stays at total revenue, with accommodation type attached.
Dispatch to BigQuery
Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.
Reversals where they exist
Cancellations reverse, per accommodation type.
Written guarantee
95%+ tracking accuracy
Measured against Newbook reservations by arrival, with accommodation type and channel recorded.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Newbook → BigQuery questions, answered
Partition by arrival date for revenue and occupancy, and keep booking date as a column so campaign reports can group by when the booking was made.
Capture click identifiers on your own site before the booking engine, store them keyed on a reference you can match to the booking, and join to the reservation table on it.
Almost always because whatever join key you decide on never reached the Newbook reservation. The booking engine is Newbook-hosted and the channel manager brings OTA reservations with no identifier at all. Measure coverage before debugging the dispatch.
There is no vendor identifier here. You choose the key — order ID, user ID, click identifier, hashed email — and you live with the consequences. That is the whole appeal and the whole risk: nothing is standardised for you and nothing is silently wrong in a vendor's favour either.
The Newbook reservation record. Send direct-channel stays at total revenue, with accommodation type attached.
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
More on Newbook → BigQuery
- Stripe → BigQueryConnecting Stripe to BigQuery
- PayPal → BigQueryConnecting PayPal to BigQuery
- Shopify → BigQueryConnecting Shopify to BigQuery
RELATED GUIDES
Where Newbook → BigQuery fits in the rest of your tracking
- Campspot → BigQueryConnecting Campspot to BigQuery
- CampLife → BigQueryConnecting CampLife to BigQuery
- ResNexus → BigQueryConnecting ResNexus to BigQuery
- Newbook → SegmentConnecting Newbook to Segment
- Newbook → SnowflakeConnecting Newbook to Snowflake
- Powersports and RVConversion tracking for powersports and RV, measured in delivered units
- RoverPass → BigQueryConnecting RoverPass to BigQuery
- Firefly → BigQueryConnecting Firefly Reservations to BigQuery
Free · 30 min
Get Newbook and BigQuery joined properly
Free30 minutesNo obligation
