> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.easyapps.cloud/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Add URL Parameters to Microsoft Ads

## Step 1: Open your campaign settings
In Microsoft Ads, go to:

**Campaigns → Select your campaign → Settings → Advanced settings → Advanced URL options**
This is where you add the **Tracking template**.

![](https://storage.crisp.chat/users/helpdesk/website/-/2/0/a/0/20a01d52400f2e00/image_1hchhjp.png)


## Step 2: Choose the correct tracking template
The tracking template depends on the campaign type.
### Performance Max campaigns
Use:
```
{lpurl}?juicy_source=microsoft&juicy_cid={CampaignId}
```

### Search, Shopping and all other campaign types
Use:
```
{lpurl}?juicy_source=microsoft&juicy_aid={AdId}
```

### Step 3: Save the tracking template
Copy & Paste the appropriate tracking template into the **Tracking template** field, then click **Save**.
That's it! Juicy will now be able to track your Microsoft Ads attribution correctly. 🚀


| 💡 **Good to know:** Updating your tracking template does not require an editorial review, so your ads continue serving without interruption. [*Learn more in Microsoft's documentation.*](https://learn.microsoft.com/en-us/advertising/guides/url-tracking-upgraded-urls?view=bingads-13)