Connector

Send Microsoft Ads data to AWS Athena

Load Microsoft Advertising, formerly Bing Ads, into Athena tables with OWOX Data Marts: campaigns and performance reports, each in its own table, refreshed on a schedule. Query it beside web analytics and CRM to see which search ads become deals.

Microsoft AdsConnectedAd Performance R…CampaignsUser Location Pe…
Data MartPublishedone definition
AWS AthenaSpendClicksImpre…Daily 09:00
Refreshed on a schedule. No exports, no copy-paste.

Get Started Free

Hand this to your AI

Microsoft Ads spend gets judged on the conversions it tracked itself, because it never meets your CRM in AWS Athena.

Paste this into your AI assistant. It creates a Microsoft Ads Data Mart on your AWS Athena storage, loads campaigns and performance reports on a schedule, and writes the query that joins spend to your deals.

The prompt

load Microsoft Ads ad performance reports into AWS Athena daily and write a query that compares the conversions and revenue Microsoft Ads tracked with CRM deals, by campaign and month

Endpoints

S00 · Why

Why query Microsoft Ads with your web analytics and CRM in Athena

Microsoft Advertising reports spend, clicks and the conversions and revenue it tracked. Where Bing search share is material, those clicks need the same scrutiny as Google's: spend joined with website touch points and CRM deals in one data warehouse you query with Athena SQL.

  • Add Microsoft Ads to the same spend table as Google, Facebook and LinkedIn
  • Connect Microsoft Ads clicks and form fills to the deals they became
  • Compare the Revenue Microsoft reports with the revenue in your CRM
Microsoft AdsSearch spend, revenue
Web analyticsClicks, form fills
CRMDeals
Your data warehouseAWS AthenaAdTouch pointDealJoined by idSearch ad clickedDeal months laterOne Athena query links the ad to the deal.

S01 · Step 1

Step 1: Connect Microsoft Ads and pick the fields

Create a Data Mart on your Athena data storage and choose Microsoft Ads as the data source. Sign in with Microsoft or add an access token, and tick only the fields you need.

  • 3 endpoints and 225 fields to choose from
  • Ad Performance Report alone has 92 fields: spend, clicks, conversions, revenue, video views
New Data MartChoose a sourceGoogle AdsMicrosoft AdsLinkedIn AdsAuthorizeConnectedEndpointAd Performance Re…CampaignsUser Location Per…
Ad Performance Re…95 fieldsTimePeriodSpendImpressionsClicksConversionsRevenue

S02 · Step 2

Step 2: Load Microsoft Ads into an Athena database and table

Choose the Athena database and table, or keep the pre-filled ones. Run it and the first load lands in your own AWS account.

  • Each report gets its own table, such as microsoft_ads_ad_performance_report
  • Rows are dated by TimePeriod, with campaign, ad group and ad ids beside the names
  • Query results go to the S3 output bucket you set up for Athena
DestinationAWS AthenaDatabasemicrosoft_adsTablead_performance_reportRun
Run HistoryPendingRunningSuccessIncremental load
Tablemicrosoft_ads.ad_performance_…

S03 · Step 3

Step 3: Know every column before you write the query

Once the first run finishes, the output schema lists every field with a plain-words description, not a report column code. Your data quality checks can read it too.

  • Account, campaign, ad group and ad names sit beside their ids
  • Anyone on the team can read the table
microsoft_ads.ad_performance_reportOutput schemaFieldDescriptionTimePeriodThe time period of each report…SpendThe cost per click (CPC) summed…ImpressionsThe number of times an ad has…ClicksClicks are what you pay for.ConversionsThe number of conversions.RevenueThe revenue optionally reported…

S04 · Step 4

Step 4: Connect the Microsoft Ads tables in Athena

Campaigns and the two performance reports are separate Athena tables, joined by CampaignId. Join them and they form one Microsoft Ads data model.

  • The ad report and the user location report both carry CampaignId
  • FinalUrl gives each ad's landing page, ready to match web analytics
CampaignsCampaignIdCampaignBudget
Ad Performance Re…CampaignIdAdIdSpend
User Location Per…CampaignIdCountrySpend

S05 · Step 5

Step 5: Schedule the Athena load and backfill history

Set it up once. A scheduled refresh keeps the Athena tables current, and a manual backfill brings in any period you missed.

  • Each incremental run reloads today plus a lookback window you set
  • Backfill a custom start and end date
ScheduleRun on a scheduleDaily 09:00
BackfillRun backfill
Run HistoryDaily scheduleManual backfillDaily schedule

S06 · Step 6

Step 6: Use the same Athena tables in every tool

The same tables feed your data model, spreadsheets, dashboards, AI assistants like Claude and ChatGPT, and scheduled AI insights in Slack or email.

  • Show search spend from Microsoft and Google side by side
  • All reports read the same Athena tables
Microsoft A…Data MartPublished
Blended search spend
Google Sheets
Data Studio dashboards
Claude, ChatGPT
Slack, email

Recent updates

Why OWOX

Why OWOX for Microsoft Ads in AWS Athena

Hand-built reporting API scripts, a generic ETL tool or exports from the Microsoft Advertising interface each get the data out. OWOX also lands it in your AWS account, readable and ready to model.

  • You own the data. It lands in your own AWS account, in tables you control.
  • Report tables you can read. Performance reports arrive as ordinary tables with described columns, instead of files to download and parse.
  • Ready for a data model. Campaigns and reports joined by CampaignId, built to connect to Google Ads, web analytics and CRM.
  • Maintained for you. No API scripts for you to patch when Microsoft changes its reporting API.
  • Free to self-host. The open-source OWOX Data Marts runs in your own infrastructure, with Athena as its data storage.

Book a callGet Started Free

Trust

The Data Partner You Can Trust

users

175K Source: Internal OWOX data as of 2026-11-11

Executives and data analysts across 20+ industries

G2 rating

4.9★2

“A trusted data analytics partner” — verified review

npm installs

171K3

In Open Source We Trust

Customers