Collect Microsoft Ads data in Snowflake
Load Microsoft Advertising, once Bing Ads, into Snowflake tables with OWOX Data Marts: campaigns and performance reports, one table each, on a schedule. Join them in SQL to web analytics and CRM to see which search ads led to deals.
SnowflakeSpendClicksImpre…Daily 09:00Even when Microsoft Ads brings real search traffic, its spend stays out of the CRM data in Snowflake.
Paste this into your AI assistant. It sets up a Microsoft Ads Data Mart on your Snowflake storage, one table each for campaigns and performance reports, on a schedule, and joins them in SQL to web analytics and CRM.
The prompt
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /connectors/free-microsoft-ads-connector-to-snowflake.md. The task: load Microsoft Ads campaigns and performance reports into Snowflake daily and build a Data Mart that compares the revenue Microsoft Ads reports with CRM revenue by campaign and month. Tag the links you give me with utm_campaign=ai-task and utm_term=m4. Use what you know about my context and goals
Microsoft Ads Endpoints
3 Microsoft Ads endpoints you can import. Each lands in its own table in your data warehouse.
Ad Performance Report
Daily ad performance — impressions, clicks, spend, and conversions segmented by device, network, and match type.
95 fieldsTime seriesCampaigns
Your campaign and ad group structure — type, status, bid strategy, budget, and keyword settings.
54 fieldsUser Location Performance Report
Daily performance by user physical location — impressions, clicks, spend, and conversions broken down by country, state, and city.
81 fieldsTime series
Why Microsoft Ads belongs next to your CRM in Snowflake
Microsoft Advertising reports spend, clicks, and the conversions and revenue it tracked. If Bing is a real share of your search traffic, those clicks deserve the scrutiny Google gets. That takes spend, website touch points and CRM deals as tables in one warehouse.
- Add Microsoft to the spend table that already holds Google, Facebook and LinkedIn
- Match Microsoft clicks and form fills to the deals they became
- Set the Revenue Microsoft reports beside the revenue in your CRM
Your data warehouseAdVisitDealJoined by idSearch ad clickedDeal months laterA SQL join links search to the deal.Step 1: Connect Microsoft Ads and choose the fields
Create a Data Mart with Snowflake as storage and Microsoft Ads as the source. Sign in with Microsoft or add an access token, then tick the fields.
- 3 endpoints and 225 fields are available
- Ad Performance Report has 92 fields, including spend, clicks, conversions, revenue and video views
Step 2: Load Microsoft Ads into a Snowflake table
Name the Snowflake database, schema and table, or keep the pre-filled values. The first run writes the report rows into your account.
- Every report becomes its own table, with rows dated by TimePeriod
- Campaign, ad group and ad ids sit next to their names
DestinationDatabaseSchemamicrosoft_adsTablead_performance_reportRun
Tablemicrosoft_ads.ad_performance_…Step 3: Read the output schema in plain words
The output schema pairs each column with a description in everyday language rather than a report column code. Your quality checks can use it.
- Account, campaign, ad group and ad names are beside their ids
- Finance and marketing read the same headers
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…Step 4: Join the Microsoft Ads tables in SQL
Campaigns and the two performance reports are separate tables that share CampaignId. Join them in Snowflake and you have a Microsoft Ads model.
- CampaignId is in the ad report and in the user location report
- FinalUrl is each ad's landing page, which you can match with web analytics
- Filter Campaigns to Type = 'Campaign' before joining, since that file mixes row types
Step 5: Schedule the load and backfill history
Choose the cadence once. A scheduled refresh updates the Snowflake tables, and a manual run loads older dates.
- Incremental runs reload today and a lookback you set
- Backfill a custom date range
Step 6: Use the same Snowflake tables in every report
, , assistants such as Claude and ChatGPT, AI insights in Slack or email and your model all query the same tables.
- Show Microsoft and Google search spend side by side
- Everyone reads one version of the numbers
- 0.45.0Microsoft Ads imports no longer shift columns when a value contains a comma
- 0.45.0Know what a backfill loads when a connector has no date fields
- 0.44.0Microsoft Ads imports work for advertisers who sign in with Google
- 0.44.0Connector Data Marts set up through MCP no longer fail their first run because of the table path
- 0.44.0Backfill a catalog for any period in one run, and follow a long backfill as parts of one operation
Why OWOX for Microsoft Ads in Snowflake
Reporting API scripts and downloaded exports both produce files you then have to load. OWOX delivers Microsoft Ads as tables in your Snowflake account, ready to model.
- Tables, not files. Performance reports arrive as queryable tables with described columns, not downloads to parse.
- In your account. Your Snowflake roles control access to the data.
- Ready to model. Campaigns and reports join on CampaignId, so they sit easily next to Google Ads, web analytics and CRM.
- Looked after for you. When Microsoft changes its reporting API, no script of yours breaks.
- Free when self-hosted. The open-source OWOX Data Marts runs on your own infrastructure at no licence cost.
The Data Partner You Can Trust
users
166K Source: Internal OWOX data as of 2026-11-15
Executives and data analysts across 20+ industries
Customers
You are booked. The invitation is on its way to , with the calendar invite and the meeting link.