Editing the URL parameters of a live Facebook ad directly can send the ad back into the learning phase.

## Why this happens

When you edit a Facebook ad, **Ad setup** defaults to **Create ad**.

![Ad setup defaults to Create ad](/knowledge-assets/meta-ads-avoid-relearning/aa2cd389ed4b4f7be8eca4c1.jpeg)

This changes the post ID in the ad creative. If you then edit the tracking template and publish, Facebook treats it as a new ad, and the ad re-enters the learning phase.

## Keep the existing post

The steps below work around this behavior. Facebook may still treat the change as an edit to the ad creative, so it can't be avoided completely. For ads that are already running, decide case by case whether to make the change. For new ads, set the URL parameters when you create them.

1. Find the ad you want to change, select it, and click **Preview**.

![Select the ad and click Preview](/knowledge-assets/meta-ads-avoid-relearning/28c112e596d70e696e19d510.png)

2. Choose **Facebook post with comments**.

![Choose Facebook post with comments](/knowledge-assets/meta-ads-avoid-relearning/412ab06cfce9e1f589d25fd4.png)

3. Copy the post ID from the preview link.

![Copy the post ID from the link](/knowledge-assets/meta-ads-avoid-relearning/491edb2f48f423698ca12a5a.png)

4. Open the ad's edit page, find **Ad setup**, and change it to **Use existing post**.

![Change Ad setup to Use existing post](/knowledge-assets/meta-ads-avoid-relearning/b32ed42f63d89273902af040.jpeg)

Then, under the ad creative, find **Enter post ID**.

![Find Enter post ID](/knowledge-assets/meta-ads-avoid-relearning/7a4c2bc117c0eddcfc1c1f41.png)

Paste the ID and click ✓ to confirm.

![Confirm the post ID](/knowledge-assets/meta-ads-avoid-relearning/fa3d916634c893628bba82e3.jpeg)

5. Scroll down to **Tracking**, edit **URL parameters**, and publish. You don't need to remove the existing parameters. Just add the Attribuly parameters to them.

```
dm_cam={{campaign.id}}&dm_grp={{adset.id}}&dm_ad={{ad.id}}&dm_net=facebook
```

![Edit URL parameters under Tracking](/knowledge-assets/meta-ads-avoid-relearning/528b46f15d5fb131557129ac.png)

![Add the Attribuly parameters](/knowledge-assets/meta-ads-avoid-relearning/30801e74fc87ccefc230cff2.png)