# How to create exclusions for Microsoft Ads

To let ClickGuard create audience exclusions in Microsoft Ads, install the Universal Event Tracking (UET) tag on every page of your website. Copy the script from UET Tracking Script in your ClickGuard Settings and add it to your site. ClickGuard then uses it to create audience exclusions and manage your campaigns.

Source: https://www.clickguard.com/help/faq/how-to-create-microsoft-ads-exclusions
Published: 2026-09-30
Updated: 2026-09-30
Author: Nikola Pejic

To enable the system to create audience exclusions, it is necessary to install a UET (Universal Event Tracking) tag script on all the pages of your website.  

You can retrieve the UET tag script by following these steps:

1.  Navigate to the **Settings** section within your ClickGuard account dashboard.
2.  Go to **Connections → Ad accounts**.
3.  Click the **Configuration** button for the Microsoft Ads account for which you want to set up exclusions.  
    

![Configuration button for a Microsoft Ads account in ClickGuard's Connections](/docs-media/file-1790757908673.png)

  
4\. Under the **UET Tracking Script**, copy the complete script code.  

![UET Tracking Script to copy in ClickGuard settings](/docs-media/file-1776234712128.png)

This UET script is essential for ClickGuard to accurately create audience exclusions and manage your campaigns effectively. Once you have copied the script, it should be placed between the `<head></head>` tags on every page of your website. This ensures that all relevant data is tracked, allowing for precise audience targeting and exclusion management.  
  
This script can also be installed via Google Tag Manager (GTM), the same way as ClickGuard's tracking code.

**Important:**

__The UET script is unique for each Microsoft Ad account.__

See also: [Does ClickGuard support Microsoft Advertising](https://www.clickguard.com/help/faq/does-clickguard-support-microsoft-advertising).

## Related articles

- [Does ClickGuard support Microsoft Advertising](https://www.clickguard.com/help/faq/does-clickguard-support-microsoft-advertising.md)
