Connecting Rakuten Advertising to BigQuery
Rakuten's network is closely tied to a consumer cashback proposition, which puts a large population of shoppers who route through cashback as a habit into your affiliate programme. 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 Rakuten transaction 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
Rakuten to BigQuery: commission split by new and returning customers
BigQuery answers what share of Rakuten Advertising cashback orders came from existing customers. Join your orders table to Rakuten transaction records on exact order ID, flag returning customers, and report commission per publisher by new versus returning, plus click-to-order gap. Reload a trailing window of Rakuten adjustments each run and deduplicate on order ID.
The question this program raises, what share of cashback-attributed orders came from customers you already had, is a warehouse query, and BigQuery is the natural place to run it. You need two tables: your own orders keyed on order ID with customer ID and order time, and Rakuten's transaction records with the same order ID, the publisher, the commission and the click time. Load the Rakuten side from whatever reporting export or API your account gives you, and confirm which fields are available and how late adjustments arrive.
Join on order ID, then flag an order as returning if that customer had an earlier order. The output is commission paid per publisher, split into new and returning customers, plus the gap between Rakuten's click time and the order time. Cashback clicks within a minute or two of checkout from returning customers are the pattern worth pricing, and it is only visible when both timestamps sit in the same table.
Two traps. Rakuten adjusts transactions after the fact for returns and cancellations, so a Rakuten table loaded once will disagree with your orders by roughly the refund rate; reload a trailing window of adjustments on each run and deduplicate on order ID before aggregating. And order IDs must match exactly, including any prefix your platform adds before passing the ID to Rakuten's tag, or the join quietly drops orders.
Rakuten Advertising → BigQuery · what breaks
Why this join usually fails — Rakuten Advertising → BigQuery
- 01
Whatever join key you decide on never reaches Rakuten Advertising
Cashback clicks arrive immediately before checkout, overwriting whatever earlier identifier was stored.
- 02
Paying commission on customers you already had
A returning customer who routes through cashback before every purchase costs you a commission on revenue that required no acquisition. Whether that is acceptable is a business decision — but it should be a decision, not an accident.
- 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.
Rakuten Advertising → BigQuery · the fix
What working looks like — Rakuten Advertising → BigQuery
Whatever join key you decide on on every conversion
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
Rakuten Advertising → BigQuery · architecture
How Rakuten Advertising and BigQuery actually connect
- 1
Rakuten Advertising holds the truth
Cashback shoppers frequently already intended to buy. Their click happens last, deliberately, to capture the reward — which is exactly the pattern last-click attribution rewards most.
- 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 Rakuten transaction.
- 4
The event source decides reliability
Send orders net of commission, with cashback-sourced orders reported as their own category.
- 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.
Rakuten Advertising → BigQuery · normal or broken
Working vs. broken, side by side — Rakuten Advertising → BigQuery
Normal, not a fault
Whatever join key you decide on present on the conversion
Sent from your order record with Rakuten attribution
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
Cashback clicks arrive immediately before checkout, overwriting whatever earlier identifier was stored.
Sent from the browser
A returning customer who routes through cashback before every purchase costs you a commission on revenue that required no acquisition. Whether that is acceptable is a business decision — but it should be a decision, not an accident.
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
Rakuten Advertising → BigQuery · diagnose
Diagnostic order — Rakuten Advertising → BigQuery
- 01
Count conversions carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Measure what share of cashback-attributed orders are from existing customers
If it is high, you are paying an acquisition cost on retention, and the commission structure is the lever rather than the tracking.
- 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.
Rakuten Advertising → BigQuery · prove
How it gets proven — Rakuten Advertising → BigQuery
Source of truth
Orders flagged by publisher, with cashback-sourced orders identified.
- Whatever join key you decide on confirmed present on a live conversion.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- Orders reconciled net of commission, with cashback orders split by new versus returning customer.
Rakuten Advertising → BigQuery · free audit
What we check in the free audit
- Count conversions carrying whatever join key you decide on
- Follow one real conversion end to end
- Measure what share of cashback-attributed orders are from existing customers
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Orders flagged by publisher, with cashback-sourced orders identified.
Free30 minutesNo obligation
Rakuten Advertising → BigQuery · when not to buy
When you don't need this — Rakuten Advertising → BigQuery
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry whatever join key you decide on.
- If your programme excludes cashback publishers, this pattern does not arise.
- 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.
Rakuten Advertising → BigQuery · what we deliver
What gets built — Rakuten Advertising → BigQuery
Identifier capture into Rakuten Advertising
Record click timestamps so the last-second pattern is visible rather than invisible.
Event source: your order record with Rakuten attribution
Send orders net of commission, with cashback-sourced orders reported as their own category.
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
Refunds reverse and reverse commission.
Written guarantee
95%+ tracking accuracy
Measured against Orders flagged by publisher, with cashback-sourced orders identified.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Rakuten Advertising → BigQuery questions, answered
Join Rakuten transactions to your orders on order ID in BigQuery, flag customers with a prior order, and sum commission by new versus returning. That split is the figure to negotiate commission on.
Usually because returns and cancellations adjust Rakuten transactions after the first load, or because the order ID sent to Rakuten carries a prefix your order table lacks. Reload recent adjustments and normalize IDs.
Almost always because whatever join key you decide on never reached the Rakuten transaction. Cashback clicks arrive immediately before checkout, overwriting whatever earlier identifier was stored. 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.
Your order record with Rakuten attribution. Send orders net of commission, with cashback-sourced orders reported as their own category.
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 Rakuten Advertising → BigQuery
- Rakuten Advertising → Google AdsConnecting Rakuten Advertising to Google Ads
- Rakuten Advertising → MetaConnecting Rakuten Advertising to Meta Conversions API
- Rakuten Advertising → GA4Connecting Rakuten Advertising to GA4
RELATED GUIDES
Where Rakuten Advertising → BigQuery fits in the rest of your tracking
- Tapfiliate → BigQueryConnecting Tapfiliate to BigQuery
- Post Affiliate Pro → BigQueryConnecting Post Affiliate Pro to BigQuery
- Refersion → BigQueryConnecting Refersion to BigQuery
- Rakuten Advertising → SnowflakeConnecting Rakuten Advertising to Snowflake
- Rakuten Advertising → SegmentConnecting Rakuten Advertising to Segment
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- Everflow → BigQueryConnecting Everflow to BigQuery
- Rewardful → BigQueryConnecting Rewardful to BigQuery
Free · 30 min
Get Rakuten Advertising and BigQuery joined properly
Free30 minutesNo obligation
