Two ways to get Microsoft Ads data out.
Microsoft Advertising is reached through the Bing Ads API, whose Reporting service offers most of the popular reports from the web application. The work sits around the report: a developer token, Microsoft OAuth, and reports you submit, poll for and download as zipped files.
Build and run it yourself
- Request a developer token in the Microsoft Advertising Developer Portal, signed in as Super Admin. Register an application for the Microsoft sign-in.
- Get user consent with the
msads.managescope, where Microsoft requires multi-factor authentication. Replace the refresh token each time a new one is issued. - Submit a
CampaignPerformanceReportRequestwithSubmitGenerateReport, then callPollGenerateReportuntil the status is Success. The download link is valid for five minutes. - Include
TimePeriodin the columns, or the report comes back as a summary. SetReportTimeZonetoo, because the default is Pacific time. - Read recent days again. A click can take up to two hours to reach reporting and a conversion up to three, and invalid-traffic adjustments can take a week or more.
- Map accounts and campaigns to your own markets and product lines, and line them up with Google Ads and the rest of your media data.
Then monitor it, and get the user to sign in again whenever Microsoft asks for new consent.
Have Odins run it
- Sign in with Microsoft through your Odins onboarding link. One sign-in covers all your accounts, and there is no developer token or app registration on your side.
- We sync every day, remove duplicate rows, monitor the pipeline and maintain it.
- You get spend, impressions, clicks and conversions per campaign per day, in the same hierarchy as your Google Ads data.
- Ad group, keyword, geo and device reports are added when you ask for them.
The same goes for every other source you use. One team runs all of them. See all connectors
What the Microsoft Ads API offers.
The Bing Ads API is a set of services. Performance data comes from the Reporting service. Campaigns and accounts come from the Campaign Management and Customer Management services. Microsoft's own documentation is the reference.
| Resource | What it returns | Good to know |
|---|---|---|
Campaign Performance ReportSynced by default |
Daily spend, impressions, clicks and conversions per campaign. | Spend comes in the account currency. |
CampaignsSynced by default |
Campaign structure and status. | GetCampaignsByAccountId returns only Search campaigns unless you set CampaignType. |
AccountsSynced by default |
Account names and currencies. | SearchAccounts finds the accounts the signed-in user can access. |
Ad Group and Keyword Performance Reports |
Impressions, clicks and spend per ad group or keyword. | Added on request. |
Geographic Performance Report |
Impressions, clicks and spend by location. | Added on request. |
- Auth OAuth 2.0 plus a developer token
- Format CSV, TSV or XML, ZIP compressed
- Quota Concurrent report requests are capped
- History 36 months of daily data
Worth knowing about Microsoft Ads data.
Daily data goes back 36 months.
Microsoft keeps daily, weekly and monthly data in the Campaign Performance Report for 36 months. Hourly data is kept for six months.
Microsoft can ask for a new sign-in.
Microsoft can require new consent at any time, for example after a password change. A Microsoft 365 rule that forces a fresh sign-in has the same effect. Odins then sends a new link and the user signs in again.
Conversions and AllConversions are different columns.
Conversions leaves out any goal that is excluded from bidding. AllConversions counts every goal. Both need Universal Event Tracking. Microsoft marked both as deprecated in 2022 and points to ConversionsQualified and AllConversionsQualified instead.
Spend arrives in the account currency, without VAT.
Each account reports in its own currency, and Microsoft reports spend excluding VAT. Check that the sales you compare it with use the same basis.
What you get back.
Two layers. The raw one mirrors Microsoft Ads. The structured one is the table every source lands in, organised by your own markets and product lines.
Structured layer
Per campaign, per day| In the structured table | For Microsoft Ads |
|---|---|
| Date | Daily |
| Company and market | Set by your routing rules, per account or campaign |
| Channel and media | Follows your media plan, in the same hierarchy as Google Ads |
| Source campaign | Campaign |
| Spend | Spend |
| Impressions and clicks | Impressions and clicks |
| Conversions | Conversions |
Raw layer
As Microsoft returns itThe default tables as the API returns them: campaign_performance_report_daily, campaigns and accounts. Other reports are added on request.
Use it where you work.
In your warehouse
Raw and structured tables delivered to BigQuery, Snowflake, Redshift or Databricks. Some customers use Odins for this alone.
In Odins
Reporting across every channel, and a model that shows what search contributes and where more spend still pays.
Through your AI assistant
Connect Claude, ChatGPT or Copilot to Odins with MCP and ask for the numbers in plain language.
Questions.
Does Microsoft Ads have an API?
Yes. Microsoft Advertising is reached through the Bing Ads API, version 13. Reports are requested through its Reporting service and downloaded as zipped CSV, TSV or XML files. You need a developer token and a Microsoft OAuth sign-in.
How do I get Microsoft Ads data into BigQuery?
Sign in with Microsoft through your Odins onboarding link. Odins syncs daily and delivers raw tables plus one structured cross-channel dataset to BigQuery, Snowflake, Redshift or Databricks, with no report jobs to build or maintain.
Are Microsoft Audience Network campaigns included?
Yes. Campaigns you run through Microsoft Advertising arrive in the same reports, Audience campaigns included.
How far back does Microsoft Ads data go?
Microsoft keeps daily campaign data for 36 months, so a new connection reaches about three years back. Odins loads that history during onboarding.
Is Bing spend worth measuring separately?
If you spend there, yes. In Odins, Microsoft and Google search sit side by side in the same structure, so the model can compare them directly.
-1.png?width=1132&height=292&name=Asset%201@2x%20(12)-1.png)