Ads Attribution Pro: Google Ads and Meta Offline Conversions and ROI in Odoo

Send won deals and paid orders back to Google Ads and Meta, and see what every campaign earns.

License
OPL-1
Technical name
crm_ads_attribution_kvs
Ads ROI: cost, leads, won deals, revenue and ROAS by campaign and month

Ads Attribution Pro tells Google Ads and Meta which clicks became real customers, so their bidding optimises for sales instead of form fills. Conversion rules send a conversion when a lead is created, reaches a stage or is won, when an order is confirmed or when its invoice is paid, with the value of the document or a fixed value. Google receives them through the Data Manager API, which Google now names for offline conversion import, with the click id or, for leads without one, the SHA-256 hash of the email and phone (enhanced conversions for leads). Meta receives CRM events through the Conversions API with fbc, fbp and hashed contact data. Every conversion is listed with its status and the platform's answer. Each night the module imports cost, clicks and impressions per campaign from both platforms, fills the Google campaign of leads that came with a gclid only, and the Ads ROI report shows cost, leads, won deals, orders, revenue, ROAS and cost per lead and per sale by campaign and month.

Features

Google offline conversions

Through the Google Data Manager API: gclid, gbraid or wbraid, value, currency and transaction id.

Enhanced conversions for leads

Leads without a click id go with SHA-256 hashes of email and phone; plain data never leaves Odoo.

Meta Conversions API

CRM events with fbc, fbp and hashed contact data; Lead, Purchase or your own stage names.

Rules without code

Lead created, stage reached, lead won, order confirmed or invoice paid; value from the document or fixed.

Visible queue

Status and platform answer for every conversion, sent every 15 minutes, never twice.

Spend and ROI

Daily cost per campaign from Google Ads and Meta; ROAS, cost per lead and per sale by month.

How to set it up

  1. Install Ads Attribution Pro (crm_ads_attribution_kvs); it installs the free Lite too.
  2. In CRM → Configuration → Ads → Ad Accounts add a Google Ads account (customer ID, OAuth client and refresh token) or a Meta dataset (dataset ID and Conversions API token). Tick Sample Data to try it without an account.
  3. Add conversion rules: what to send and when. In Google Ads the conversion action must be of type "Import from clicks".
  4. Press Test Connection. Conversions go out every 15 minutes, spend comes in every night; results are in CRM → Reporting → Ads ROI.

Questions and answers

Does Google Ads still accept offline conversions?

Yes. Since 15 June 2026 Google takes new offline conversion imports through the Data Manager API instead of the Google Ads API, and that is what the module uses. Conversions need no Google Ads developer token; importing spend does.

Is personal data sent to Google and Meta?

Only SHA-256 hashes of the email and phone, and only when the rule allows it. You can send conversions with click ids only.

How old can a conversion be?

Google accepts conversions up to 90 days after the click, Meta accepts events up to 7 days old. Older ones are marked as skipped.

Which Odoo versions are supported?

Odoo 17, 18, 19 and 20, Community or Enterprise, on Odoo.sh or your own server.

Has it been tested with live ad accounts?

The calls follow the public Google and Meta documentation and are tested on sample answers. Tell us if your account answers differently and we will adjust.

Custom development

We build any Odoo module to order

An integration with your bank or delivery service, a report, a workflow, a portal for your customers: describe the task and we will propose a solution, a price and a deadline.

Describe your task