Quick answer: Reconcile advertising spend and CRM outcomes separately before connecting them. Keep spend at its documented reporting grain, deduplicate leads, count each opportunity once, and allocate its value through an explicit attribution rule. Report unmatched records and model assumptions alongside results. Attribution assigns credit; measuring causal impact requires a suitable experiment. (support.google.com)
This workflow is for analysts, marketing operations teams, and finance managers building a report from advertising exports and CRM records. It works with spreadsheets, SQL, or BI software. Google Ads and HubSpot provide the documented field examples below—not a required technology stack.
1. Decide what the report should reconcile
Start with three separate questions:
- Spend: Does imported advertising cost match the source report for the same accounts, dates, currencies, and filters?
- CRM outcomes: Do unique opportunities and their values match the agreed CRM extract?
- Attribution: How much of that opportunity value receives campaign credit under a stated rule?
Do not make matching an advertising platform’s conversion total to CRM closed-won deals your first acceptance test. First establish whether both measures represent the same event and date basis. Google Ads distinguishes conversions reported against the ad interaction date from conversions reported when they occurred. (support.google.com)
Write a short reporting specification before importing data:
| Decision | Example specification |
|---|---|
| Spend measure | Platform-reported advertising cost |
| Outcome measure | Closed-won opportunity amount |
| Acquisition date | First eligible recorded campaign touch |
| Outcome date | CRM close date |
| Attribution window | Recorded touches within 30 days before close |
| Reporting currency | USD |
| Unknown treatment | Separate unattributed category |
| Snapshot | Extract timestamp displayed on report |
These are suggested decisions, not universal defaults.
Also name the outcome accurately. HubSpot defines Amount as the total deal value in the deal’s currency. Unless finance has reconciled it to its accounting records, label your measure “closed-won deal value,” rather than implying it is recognized revenue or collected cash. (knowledge.hubspot.com)
2. Establish table grain before joining anything
Grain means what one row represents. Write that sentence for every source.
For example, Databricks documents its Google Ads campaign_report key as customer, campaign, date, device, and ad network. That is more detailed than “one row per campaign per day.” Google’s API documentation likewise explains that adding segments splits metrics into additional rows. (docs.databricks.com)
Use a structure like this:
| Table | Recommended reporting grain |
|---|---|
| Spend | One account–campaign–date row, after aggregating retained segments |
| Campaign | One canonical campaign key |
| Lead | One canonical person or agreed lead entity |
| Touch | One recorded interaction |
| Opportunity | One unique opportunity |
| Opportunity–contact bridge | One unique opportunity–contact relationship |
| Attribution allocation | One opportunity–campaign–model allocation |
Keep spend and opportunity value in separate fact tables. Connect them through shared reporting dimensions or prepared summaries—not a raw join that repeats campaign spend for every lead.
Use a composite campaign key such as platform + account_id + campaign_id. Keep campaign names as labels and preserve their history where needed. For CRM campaign codes or UTM values, maintain a reviewed crosswalk to the canonical key.
HubSpot documents deal associations separately from deal properties. Its batch deal-read endpoint does not retrieve associations, so a successful deal import alone is not proof that you imported the contact relationships required for attribution. (developers.hubspot.com)
Practical check: After every transformation, compare total spend and unique opportunity value with their pre-join totals. Investigate any change before building charts.

3. Normalize money, dates, and attribution windows
Handle monetary units before currency conversion. Google Ads connector documentation identifies cost_micros as cost in millionths of a currency unit: divide by 1,000,000 to obtain the currency amount. Check whether your connector already performs that conversion. (docs.databricks.com)
Retain:
- Original amount and currency.
- Reporting-currency amount.
- Exchange-rate value, date, source, and policy.
- Source account and extract timestamp.
Do not silently mix native deal amounts with company-currency amounts. HubSpot documents these as separate properties, with company-currency value calculated using configured account exchange rates. (knowledge.hubspot.com)
For dates, retain the original timestamp and timezone where available. Google Ads exposes account currency and timezone in its customer schema. Choose a reporting timezone explicitly rather than assuming all sources use the same calendar boundary. (developers.google.com)
If spend arrives only as daily totals, do not pretend you can precisely reconstruct those totals in another timezone. Retain the source-day basis or obtain more granular data.
Separate two dashboard views:
- Period view: Spend incurred and deals closed during a calendar period.
- Acquisition-cohort view: Leads acquired during a period and their subsequent outcomes.
Do not label same-month closed-won value divided by same-month spend as cohort performance unless the outcomes belong to that acquisition cohort.
Finally, distinguish your BI attribution window from platform settings. Google documents a conversion window as the time after an interaction during which a conversion can be recorded, and an attribution-report lookback window as how far backward eligible interactions are considered. (support.google.com)
Record your own rule, its effective date, and the latest available outcome snapshot.
4. Deduplicate leads and preserve unmatched records
Adopt an identity policy before calculating funnel rates. Prefer stable CRM IDs and explicit merge mappings. If email is a fallback, document normalization and review ambiguous matches instead of assuming every matching address represents one person.
Keep distinct concepts:
- Submission: A form completion or other capture event.
- Lead entity: The deduplicated person or business entity your report counts.
- Opportunity: The commercial transaction.
- Touch: An interaction eligible for attribution.
For multiple contacts associated with one opportunity, first collect eligible touches across those contacts, then deduplicate interactions and calculate opportunity-level credit. Do not assign the full deal value independently to every contact.
Use explicit exception categories:
| Exception | Reporting treatment |
|---|---|
| No campaign identifier | Unmatched campaign |
| Campaign code missing from crosswalk | Unmapped identifier |
| Contact not linked to an opportunity | No opportunity association |
| No touch within the chosen window | No eligible touch |
| Ambiguous identity | Pending review |
Preserve these records in reconciliation totals. Do not convert missing campaign data into “organic.”
Track campaign mapping coverage and attributed-value coverage separately. A lead may have a mapped campaign while its later opportunity has no eligible touch under the reporting window.
5. Work through a synthetic spend and funnel example
The following records are entirely synthetic. Assume one advertising account, USD throughout, and a September 2026 reporting period ending September 30.
The daily spend table has already been validated and aggregated to this campaign-period summary:
| Campaign | Description | September spend |
|---|---|---|
| C101 | Search | $600 |
| C202 | Retargeting | $400 |
| C303 | Awareness | $200 |
| Total | $1,200 |
The lead extract contains five rows:
| Lead row | Canonical person | Acquisition campaign | Qualified | Opportunity |
|---|---|---|---|---|
| L1 | P1 | C101 | Yes | O1 |
| L1-duplicate | P1 | C101 | Yes | O1 |
| L2 | P2 | C101 | Yes | O2 |
| L3 | P3 | C202 | No | — |
| L4 | P4 | Unmatched | Yes | O3 |
For this example, L1-duplicate is a confirmed duplicate import—not another submission. Remove it from lead counts while retaining an audit record.
The opportunity table contains:
| Opportunity | Associated person | Status | Close date | Deal value |
|---|---|---|---|---|
| O1 | P1 | Closed won | September 20 | $1,000 |
| O2 | P2 | Closed won | September 25 | $500 |
| O3 | P4 | Closed won | September 28 | $300 |
| Total | $1,800 |
Expected checks and metrics:
- Unique leads: Four, not five.
- Qualified leads: Three; qualification rate is
3 ÷ 4 = 75%. - Unique opportunities: Three, each counted once.
- Closed-won value: $1,800.
- Mapped paid-acquisition leads: Three.
- C101 cost per acquired lead:
$600 ÷ 2 = $300. - C202 cost per acquired lead:
$400 ÷ 1 = $400. - C303 cost per acquired lead: Undefined because no leads were recorded; display “—,” not zero.
A direct join from the five lead rows to opportunities would repeat O1 and produce $2,800 instead of $1,800. That arithmetic is a useful test fixture: your final model must retain the $1,800 control total.
Keep the $200 awareness spend visible even though it has no recorded leads. Removing it would understate total advertising cost.
6. Compare attribution rules without duplicating deal value
Add this synthetic touch history:
| Person | Recorded campaign touch | Date |
|---|---|---|
| P1 | C101 | September 3 |
| P1 | C202 | September 10 |
| P2 | C101 | September 5 |
| P3 | C202 | September 6 |
| P4 | No mapped campaign | September 7 |
All mapped touches associated with won opportunities fall within the example’s 30-day pre-close window. P3 has no opportunity, so its touch receives no closed-won value.
Calculate three alternative rules:
- First recorded touch: All value goes to the earliest eligible recorded campaign.
- Last recorded touch: All value goes to the latest eligible recorded campaign.
- Equal campaign credit: Split value equally among distinct eligible campaigns for each opportunity.
| Campaign/category | First touch | Last touch | Equal campaign credit |
|---|---|---|---|
| C101 | $1,500 | $500 | $1,000 |
| C202 | $0 | $1,000 | $500 |
| C303 | $0 | $0 | $0 |
| Unattributed | $300 | $300 | $300 |
| Total | $1,800 | $1,800 | $1,800 |
O1 supplies the difference: first touch credits its $1,000 to C101; last touch credits C202; equal campaign credit assigns $500 to each.
Store allocation weights separately. Within each model, require each opportunity’s weights—including an unattributed allocation when necessary—to sum to one. Multiply those weights by the opportunity amount.
Never add the model columns together. They are alternative views of the same outcomes.
C101’s allocated value-to-spend ratio changes from 2.50× under first touch to approximately 0.83× under last touch. The data did not change; the credit rule did.
Do not describe either ratio as incremental return. Google’s Conversion Lift documentation uses treatment and control groups to measure incremental conversions—a different question from allocating observed outcomes. (support.google.com)
7. Publish reconciliation checks alongside campaign results
Before release, require these checks:
- Spend tie-out: Imported totals match source reports under identical filters and units.
- Unique keys: No unintended duplicate spend keys or opportunity IDs.
- Allocation balance: Allocated plus unattributed value equals the eligible CRM control total.
- Join stability: Totals remain unchanged when contact relationships are expanded.
- Coverage: Unmapped leads and unattributed value remain visible.
- Date clarity: Charts identify spend date, acquisition date, or close date.
- Snapshot clarity: Extract times and attribution-rule versions are displayed.
In the synthetic example, campaign-attributed value is $1,500 of $1,800, or 83.3% coverage. That describes this sample’s mapping and allocation completeness—not attribution accuracy.
Keep platform conversion metrics on a separately labeled panel. Google notes that one conversion can have several assisting ad interactions, so assists should not be treated as additional unique outcomes. (support.google.com)
Start with one account, one reporting period, and an inspectable set of opportunities. Validate the totals and trace individual allocations before scaling. The useful report shows both what the records support and where the connection remains unknown.