Odoo Microsoft Ads integration

Microsoft Ads Connector

See what your Microsoft Ads cost, and tell Microsoft which clicks became sales.

Microsoft Advertising and Odoo 19

What it does

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.

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.