Microsoft Ads Connector - Microsoft Advertising (Bing Ads) Reports and Offline Conversions
by Modvanta$ 38.89

Microsoft Advertising and Odoo 19
See what your Microsoft Ads cost, and tell Microsoft which clicks became sales.
Daily campaign numbers come into Odoo next to your pipeline. Won opportunities and paid orders that started with an ad click go back to Microsoft Advertising as offline conversions, so its bidding learns from real sales instead of form fills.
What it does
You register an app in Microsoft Entra and get a developer token from the Microsoft Advertising Developer Portal. Paste both into Odoo and press Connect Microsoft Advertising: you sign in with the Microsoft account that manages the ads, and Odoo lists its ad accounts. Production and sandbox both work.
Odoo only reads campaigns and reports. Read Campaigns shows name, type, status and daily budget. Read Performance asks Microsoft for a daily campaign performance report and stores impressions, clicks, spend, conversions and revenue for each campaign and day, with CTR and cost per click, in a pivot, a graph and a list. Nothing is created, changed, paused or paid from Odoo.
When a visitor arrives from an ad, the landing URL carries msclkid. Odoo keeps it in an optional cookie (so your cookie banner decides) and writes it on website leads and orders, and passes it from the lead to the quotation. You can also type or paste it on the lead or the order.
Collect Conversions picks up opportunities marked won and orders whose invoices are fully paid, from the last 90 days (the window Microsoft accepts), once each. Upload Conversions sends them under the offline conversion goals you named, with the expected revenue or the order total. Refused rows keep the reason Microsoft gave and can be sent again.
Who it is for
| B2B companies whose ad clicks turn into deals weeks later in the CRM | |
| Shops that want Microsoft bidding to count paid orders, not abandoned carts | |
| Marketing teams who want ad spend next to pipeline and revenue in Odoo |
Key features
Screenshots from an Odoo 19 test database. Microsoft answers come from a test stand-in shaped like the JSON examples on learn.microsoft.com/advertising, not a live account.
One connection, read only
App ID, secret, tenant and developer token (Odoo administrators only), the signed-in user, and the buttons to read campaigns and performance and to collect and upload conversions.

Spend, clicks and conversions by week
The pivot groups the daily rows by campaign and week. Change the grouping like any Odoo pivot.

Spend by day
A line per day of the period you read.

Daily rows with CTR and cost per click
Impressions, clicks, CTR, spend, cost per click, conversions and revenue per campaign and day, with totals.

Campaigns as Microsoft has them
Search, Shopping, Audience and Performance Max campaigns with status, budget type and daily budget, plus the clicks and spend of the period read.

Offline conversions with their result
Each won lead or paid order with the goal, click ID, value and what Microsoft answered. Select refused rows and retry them after fixing the cause.

Your own conversion goals
Name the offline conversion goals for won leads and for paid orders, choose the lead value, and switch on the SHA-256 hashed email for enhanced conversions if you use it.

Click ID on the lead and the order
Click ID (Microsoft Ads) sits next to the campaign, medium and source of the lead, and on the Other Info tab of the order.

Ad accounts
Every ad account the user can reach, with number, customer ID and currency. Untick the ones Odoo should leave alone.

API log
Every call with its endpoint, status and time. The developer token, secret and tokens never reach the log.

How it works
| 1 | Register an app in Microsoft Entra with the redirect URI shown in Odoo, and create a client secret. |
| 2 | Get a developer token in the Microsoft Advertising Developer Portal. |
| 3 | Create the offline conversion goals in Microsoft Advertising, for example Won opportunity and Paid order. |
| 4 | Connect in Odoo paste the IDs and press Connect Microsoft Advertising. |
| 5 | Read Campaigns and Read Performance then name the goals on the Offline Conversions tab. |
| 6 | Collect and upload conversions by hand or with the daily schedule. |
Settings
| Environment | Production or sandbox |
| Goal for Won Leads, Goal for Paid Orders | Leave one empty to send nothing for it |
| Lead Value | Expected revenue, or let the goal value apply |
| Send Hashed Email | SHA-256 of the lower-cased email, never the address itself |
| Report Days | How far back Read Performance goes |
| Scheduled Sync and Run As | Daily: performance, then collect and upload conversions |
FAQ
Can Odoo change my campaigns or budgets?
No. The module has no call that creates, edits, pauses or funds anything. The only thing it sends is offline conversions.
Does it create the conversion goals?
No. You create offline conversion goals in Microsoft Advertising and type their names in Odoo, so nothing in your account is set up by a tool.
Why are some won leads not sent?
Microsoft accepts offline conversions from the last 90 days, and only with a click ID (or a hashed email when you switch that on). Leads without either stay out.
Does the click ID cookie need consent?
It is stored as an optional cookie, the same kind core Odoo uses for UTM values, so visitors who refuse optional cookies are not tracked.
Which campaign types are read?
Search, Shopping, Audience and Performance Max.
Compatibility and support
Odoo 19 Community and Enterprise. Needs CRM, Sales and Invoicing.
Questions before or after you buy: modvantaapps@gmail.com. We answer setup questions and fix bugs.
Buy Now - $39Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module