# Undo An Ad Change

Source: https://docs.launchfastlegacyx.com/mcp/ads-changes/undo-ad-change

Put back an Amazon Ads change that was made through Launch Fast. Bids, budgets, and statuses go back, and added keywords and negatives are removed.

> **This tool changes your Amazon Ads account**
> `undo_ad_change` changes your Amazon Ads account right away. Launch Fast records the undo like any other change. Launch Fast tells the assistant to confirm the undo with you first, unless you named the change exactly. Your AI app may also ask before it runs a change tool. An undo of a new campaign archives it, and Amazon cannot bring back an archived campaign.

| Field             | Value                                                                                                                                             |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| MCP tool          | `undo_ad_change`                                                                                                                                  |
| Behavior          | Makes a change in your Amazon Ads account. Destructive: it puts old values back, removes added keywords, or archives a new campaign.              |
| Cost              | Free                                                                                                                                              |
| Permission        | **Change Amazon Ads** (Amazon Ads tools). Amazon verification is necessary.                                                                       |
| Sign-in           | OAuth only. API keys cannot make Ads changes. Your last Amazon verification (the code from your authenticator app) must be from the last 30 days. |
| Ad type           | Sponsored Products only                                                                                                                           |
| Amazon connection | Amazon Ads                                                                                                                                        |
| App view          | None. The assistant shows the result as text and a table.                                                                                         |

## What It Does

`undo_ad_change` puts back one change that was made through Launch Fast, by an AI app or by Launchie.

You undo a change only by asking your AI app. Ad Changes in the Launch Fast iOS app shows the history but cannot undo.

| Change                               | What the undo does                                                                                                                                       |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Bids, budgets, and statuses          | They go back to their old values. A keyword that used its ad group's default bid before the change goes back to the ad group's default bid as it is now. |
| Added keywords and negative keywords | They are removed.                                                                                                                                        |
| A new campaign                       | It is archived for good. Amazon cannot bring back an archived campaign.                                                                                  |

If a value changed again after the change, the undo refuses that value and leaves it as it is. The answer lists it.

## When To Use It

Use it when a change did not work, or when you made it by mistake. Find the change id with [`get_ad_changes`](https://docs.launchfastlegacyx.com/mcp/ads-changes/get-ad-changes), or take it from the answer of the change.

## Inputs

| Input    | Required | Values                                                                                                           | Example                           |
| -------- | -------- | ---------------------------------------------------------------------------------------------------------------- | --------------------------------- |
| `change` | Yes      | The change id. It starts with `ac-`.                                                                             | `ac-5k2x7tq3mvfcd2s4nt6ye6wpra`   |
| `reason` | No       | One line on why, up to 300 characters. Launch Fast saves it with the change. The default is "Asked for in chat." | `The bid cut lost too many sales` |

## What The Answer Contains

* A status: `applied`, `partly applied`, `not applied`, `going through`, or `unconfirmed`.
* A table with one row for each value: what went back, and the result.
* The items that the undo did not touch, because they changed again after the change.
* The id of the undo. You cannot undo an undo.

## Example Prompts

```text
Undo the bid cut you made yesterday.
```

```text
Undo change ac-5k2x7tq3mvfcd2s4nt6ye6wpra.
```

## Common Errors

| Error                                                | What it means                                                                                                                       | What to do                                                                                                                                                       |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `invalid_input`: no change id                        | The call has no `change`, or it is not an `ac-` id.                                                                                 | Find the id with [`get_ad_changes`](https://docs.launchfastlegacyx.com/mcp/ads-changes/get-ad-changes).                                                                                            |
| `invalid_input`: put back before                     | Someone undid this change before.                                                                                                   | Nothing to do.                                                                                                                                                   |
| `invalid_input`: this change put back an earlier one | The change is an undo. You cannot undo an undo.                                                                                     | Make a new change instead.                                                                                                                                       |
| `invalid_input`: in progress                         | The change is in progress.                                                                                                          | Wait until it is done, then try again.                                                                                                                           |
| `invalid_input`: nothing reached Amazon              | Nothing in the change reached Amazon, so the undo has no value to put back.                                                         | Nothing to do.                                                                                                                                                   |
| `invalid_input`: a different value                   | Amazon accepted the change but then showed a different value, so the undo cannot put it back.                                       | Check the value in Amazon Ads and change it there.                                                                                                               |
| `not_found`                                          | No change with that id is in your account.                                                                                          | List your changes with [`get_ad_changes`](https://docs.launchfastlegacyx.com/mcp/ads-changes/get-ad-changes).                                                                                      |
| `oauth_required`                                     | You connected Launch Fast with an API key. API keys cannot change Amazon Ads.                                                       | Add Launch Fast as a connector in your AI app and sign in. See [Getting started](https://docs.launchfastlegacyx.com/mcp/getting-started).                                                          |
| `mfa_required`                                       | Your last Amazon verification is more than 30 days old, or Amazon access for this app ended.                                        | Connect the app again and enter your authenticator code on the Launch Fast sign-in page. See [Authentication](https://docs.launchfastlegacyx.com/mcp/authentication#how-long-amazon-access-lasts). |
| `not_enabled`                                        | Ad changes through Launch Fast are paused for now, or Amazon access for the app needs a fresh verification. The message says which. | For a fresh verification, verify again in [Settings > MCP & API keys](https://launchfastlegacyx.com/settings/mcp). For a pause, make the change in Amazon Ads.   |
| `busy`                                               | Another change on this Amazon Ads account is in progress.                                                                           | Wait a minute and try again. Check the change with [`get_ad_changes`](https://docs.launchfastlegacyx.com/mcp/ads-changes/get-ad-changes).                                                          |
| Rate limit: `amazon_ads rate limit exceeded`         | Your account made more than 10 Ads change calls in one minute. The limit counts all the change tools together.                      | Wait the number of seconds in the message, then try again.                                                                                                       |