# How to set URL Parameters on Meta Ads?

#### Requirements for valid configuration of ads       &#x20;

To ensure your ads sync correctly and can be used for Ads Personalization, your Google Ads Tracking Template must include at least one variable from below:

* {{campaign.id}} or {{campaign.name}}
* {{adset.id}} or {{adset.name}}
* {{ad.id}} or {{ad.name}}

{% hint style="info" %}
For the best results, Fibr recommends including *all* of the above variables in your Tracking Template. This ensures full compatibility and maximizes the accuracy and depth of Ad Personalization.
{% endhint %}

**Recommended Tracking Template:**&#x20;

*{lpurl}?utm\_source={{site\_source\_name}}\&utm\_medium=cpc\&utm\_campaign={{campaign.name}}\&utm\_content={{adset.name}}\&utm\_term={{ad.name}}*

<p align="center"><em>or</em></p>

*{lpurl}?utm\_source={{site\_source\_name}}\&utm\_medium=cpc\&utm\_campaign={{campaign.id}}\&utm\_content={{adset.id}}\&utm\_term={{ad.id}}*

**Sample Valid Tracking Templates:**

* *{lpurl}?utm\_campaign={{campaign.name}}\&utm\_content={{adset.name}}\&utm\_term={{ad.name}}*
* *{lpurl}?utm\_source={{site\_source\_name}}\&utm\_content={{adset.name}}\&utm\_term={{ad.name}}*
* *{lpurl}?utm\_source={{site\_source\_name}}\&utm\_medium=cpc\&utm\_campaign={{campaign.name}}*

#### Steps to fix your Meta Ads URL Parameters&#x20;

* **Step 1:** Identify the Meta Ads that have invalid or missing URL parameters.
* **Step 2:** Open **Facebook Ads Manager** and select the campaign and ad set containing the affected ad.
* **Step 3:** Navigate to the **Ad level** by opening the ad set and selecting the specific ad.
* **Step 4:** Scroll to the **Tracking** section, locate the **URL parameters** field, and click **“Build a URL parameter.”**

<figure><img src="https://3335504681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F80aS5Lqrk8qDoq5OTbgm%2Fuploads%2F1mUln3n0fkHvDgtvG8ZO%2Fimage.png?alt=media&#x26;token=19203c14-1f4b-4e3a-a359-f756ad51d21f" alt=""><figcaption></figcaption></figure>

* **Step 5:** Click **Apply** to save your changes, then **Publish** the updated ads.

{% hint style="warning" %}
Avoid using third-party tools that generate dynamic tracking templates. If such a tool is currently active, disable it to ensure Fibr can read your URL parameters correctly and use your ads for personalization.
{% endhint %}

&#x20;   &#x20;
