# How to set up Microsoft Advertising and connect it with AI agents

Published: 2026-11-20 by The AIM team, AIM (HekmaLabs)
Source: https://aim.hekmalabs.com/blog/set-up-microsoft-advertising-connect-ai-agents

> Connect Microsoft Advertising in AIM and the AI agents draft Search campaigns that show on Bing and its partner sites, then read clicks and cost per action. Ads wait for your approval.

**To connect Microsoft Advertising with AIM, sign in at ads.microsoft.com with an account that can manage your ads, then open Integrations in AIM, click Connect Microsoft, and pick the ad account for this business.** AIM's AI agents then draft Search campaigns that show on Bing, Yahoo, and DuckDuckGo, and read clicks and cost per action. Every ad waits for your approval.

Microsoft Advertising reaches people searching on Bing and its partner sites. Many businesses run it beside Google Ads because the audience overlaps less than you might expect and clicks often cost less. AIM's agents treat it as one more search channel in the same plan and budget.

**At a glance**

- **Time:** about 10 minutes if the ad account already exists.
- **Access you need:** a Microsoft account that can manage campaigns in the ad account.
- **What AIM can do:** create Search campaigns you approve, and read spend, clicks, conversions, and cost per action.
- **What AIM cannot do:** see your Microsoft password, change billing, or spend past your monthly budget.

### Before you start

- A Microsoft account with access to [ads.microsoft.com](https://ads.microsoft.com).
- In AIM, the **Owner**, **Admin**, or **Marketer** role on the workspace. Analysts and Viewers can see integrations but cannot connect them.
- A website the ads will send people to. Connect [Google Analytics](https://aim.hekmalabs.com/blog/set-up-google-analytics-connect-ai-agents) as well if you want the agents to compare ad clicks with what happened on the site.

Billing stays on the Microsoft Advertising account you own. AIM never stores your card.

### Set up Microsoft Advertising

1. Open [ads.microsoft.com](https://ads.microsoft.com) and sign in with your Microsoft account.
2. Create an ad account if you do not have one. Choose the country, time zone, and currency carefully, because they are hard to change later.
3. Add a payment method in Microsoft Advertising when you are ready to spend.
4. If an agency or teammate manages the account, ask them to give your Microsoft account a role that can manage campaigns.
5. Set up conversion tracking if you care about leads or sales. Microsoft uses a UET tag on your site for this. Campaigns can still be drafted without it, but cost per action stays empty until conversions are recorded.

### Connect Microsoft Advertising with AIM's AI agents

1. Sign in to AIM and open **Integrations**, then **Microsoft Advertising**.
2. Click **Connect Microsoft** and approve access.
3. Sign in with the Microsoft account that manages your ads.
4. If you manage several ad accounts, choose the **ad account** for this business.
5. When the badge says **Active**, the connection is ready.

### What happens after you connect

1. **Your access is stored privately.** Microsoft gives AIM an access grant, not your password. AIM keeps it encrypted, uses it only for this workspace, and deletes it when you disconnect.
2. **The agents draft Search campaigns.** The Media Buyer writes ads and keywords for Bing from the same plan it uses for Google Ads, within your monthly budget.
3. **You approve, then it goes live.** Drafted ads show as **Needs your approval** under **Content**. Nothing is posted to Microsoft Advertising until you approve it, unless you turn on automatic approval for the workspace.
4. **The agents read results.** Spend, clicks, conversions, and cost per action flow into the same report as your other channels, and the Performance Optimizer proposes the next change.
5. **Everything is logged.** Every agent run that read from or prepared something in this account is recorded in Activity.

### Which AI agents use this connection

- **Media Buyer** drafts the Search campaigns and their keywords.
- **Strategist** uses it when splitting budget between search channels, beside Google Ads.
- **Performance Optimizer** reads clicks and cost per action, and proposes changes for you to approve.

### If something looks wrong

- **The ad account is not in the list.** The Microsoft account you signed in with does not have access to it. Ask the account owner to add you, or disconnect and sign in with a different account.
- **Sign in again** or **Expired.** Microsoft ended the access grant, often after a password change. Click Connect Microsoft and sign in again.
- **Cost per action is empty.** Conversion tracking is not set up yet, or no conversion has been recorded. See step 5 of the setup.

### What stays in your control

Disconnecting in AIM stops the agents immediately and removes AIM's access grant. Campaigns already in the account stay as they are, so pause them in Microsoft Advertising first if you want them to stop. You can also remove AIM from the apps with access to your Microsoft account.

### Learn more

- [Google Ads setup guide](https://aim.hekmalabs.com/blog/set-up-google-ads-connect-ai-agents): the other search channel the agents plan beside Bing.
- [Integrations overview](https://aim.hekmalabs.com/docs/integrations/overview): which accounts to connect for your goal.
- [Meet the AI marketing agents](https://aim.hekmalabs.com/ai-marketing-agents): what each agent does with this connection.
- [What is agentic marketing?](https://aim.hekmalabs.com/blog/what-is-agentic-marketing): how the agents work together.

### Still need help setting this up?

If the ad account is missing from the list, or you are not sure which role you have, [contact the AIM team](https://aim.hekmalabs.com/contact). Tell us you are connecting Microsoft Advertising and include the account name. We will help you finish the setup.
