> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Uet Tag

> Create a UET tag on a Microsoft Ads account and return the tracking script to install on the site

Create a UET tag on a Microsoft Ads account and return the tracking script to install on the site. A tag is required before URL, event, duration or pages-per-visit conversion goals will work. Microsoft has no delete for UET tags and no way to retire one, so only create a tag that is actually needed.

| | |
| - | - |
| **App** | Microsoft Ads |
| **Operation ID** | `microsoft_ads_create_uet_tag` |
| **Type** | Action |
| **Connection** | `microsoft_ads` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account to create the UET tag in. |
| `name` | string | Yes | - | Name for the tag, used to tell tags apart in the interface. |
| `description` | string | No | - | Optional note about where this tag is installed. |

### MicrosoftAdsAccountItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |
| `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. |

## Output

**Type**: `Dict`

Returns the new UET tag with its installable script.

**Fields**: `id`, `name`, `description`, `tracking_status`, `tracking_script`, `tracking_no_script`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.