SEO + AEO on AutopilotFrom the team at Stackmatix
The Growth Library

Windsor.ai to BigQuery: A Transfer Acceptance Test

Validate grain, replay, late attribution, and failure behavior before a marketing dashboard depends on the Windsor.ai export.

If Google Ads spend matches the platform on Thursday and rises in your Wednesday report on Friday, a transfer can be working exactly as configured. To evaluate a Windsor.ai-to-BigQuery pipeline, test which rows a rerun replaces, which metrics can be restated, and whether downstream reports visibly handle missing input.

Affiliate disclosure. We may earn a commission if you sign up through our Windsor.ai link.

Declare the grain before configuring the transfer

Start with one source, one account and one daily campaign report. A useful uniqueness key is source, account ID, campaign ID and report date. Include currency, account time zone and fetch time alongside the measures. Adding device or country changes the grain. A query that mixes both shapes can make identical campaign days look like duplicates or cause spend to be counted twice.

Windsor.ai documents sending source data to BigQuery and offers a BigQuery Data Transfer Service workflow. Choose the route that can produce the grain and schedule you need. Determine the actual write behavior with a small test against a staging table before connecting the report.

Make the restatement test observable

Use two historical days plus a recent day that can still receive attributed conversions. On the first run, record a count of unique keys and a separate sum of cost. Re-run the same interval without changing the selection. Verify that a repeated batch cannot double the downstream cost. Then check a later pull for a known late conversion. The latest complete result for that date should replace the prior value for the affected key in the serving layer. Keep the raw pulls if you need to explain how the number changed.

TestExample inputExpected downstream result
Idempotent replayTuesday cost is $120 on both pullsTuesday cost is still $120 after two runs
Late attributionTuesday conversions move from 4 to 5 with cost unchangedServing layer shows 5, and the previous pull remains traceable
Incomplete transferOne required account is missing from the batchPreserve the prior complete partition and mark freshness degraded
True zeroSource confirms the account recorded zero spendReport shows zero using the covered account/date record

For the hypothetical example, the first pull yields $30 per conversion and the later pull yields $24. A query that simply sums both input snapshots would show $240 and nine conversions. Its $26.67 CPA looks plausible, which is exactly why checking the ratio alone misses the bug.

Publish complete partitions

Record the date range, source accounts, fetch time and validation result for each load. If you stage and then promote data, match the staging keys and source accounts to the intended coverage before replacing a partition. A fully validated latest snapshot can replace the whole date range when the input represents that range completely. An incremental feed needs explicit deduplication and a documented policy for deleted or zero rows. Decide which contract the transfer meets before choosing your write strategy.

Keep two independent freshness fields. A data date tells the reader what period the numbers describe. A last successful load tells the reader how recently the underlying records were refreshed. Show both on the report, and classify an older load separately from a valid zero.

Release checklist for the first dashboard

  • The platform export and warehouse agree for the same closed date window, account and time zone.
  • Unique keys remain stable across an exact replay and the serving table has no duplicate keys.
  • A matched late attribution change is visible in the serving data and traceable to its source pull.
  • A simulated partial run cannot overwrite the last complete result.
  • The dashboard visibly calls out stale or incomplete inputs before someone acts on them.

Repeat the contract test for the second source. Its time-zone, currency and conversion definitions may differ, even if the first report looks correct.

Sources

Matt Pru

Co-founder and CEO of Stackmatix. Writing about growth, customer acquisition, and the decisions behind useful marketing. Connect on LinkedIn.

Developed with AI assistance under Matt's editorial direction. Our Editorial Approach