Skip to main content

How the X-ray learns from changes

How the X-ray measures what each change did, when it suggests undoing, what History can undo, what works in this account and how it reads other conversion events.

Examples use “Clients”. If you manage ads for your own company, this section is called “Companies”. The steps are the same.

6 minutes read
Updated Nov 21, 2026
Reviewed Nov 21, 2026

Copy the article as Markdown to paste it into an AI agent.

Before you begin

  • A client with at least one linked Meta Ads or Google Ads account.

Expected result

You will know how the X-ray reads what each change did to the account, when it suggests undoing it, what History can undo, and how it uses what already worked to suggest the next change.

The X-ray looks at the changes made to the account, in Agencify or outside it, and measures what happened to the changed item in the following days. The reading runs daily and uses only your client's data.

How each change is measured

Every change that affects delivery is measured on the item itself: status, budget, audience, bid, creative, keywords and negative keywords. Names, billing and roles are left out.

  • The day of the change does not count. The X-ray compares the 7 days before with the 7 days after. If there are not yet 10 results on each side, the window grows one week at a time, up to 28 days.
  • Without enough results, the reading stays at "too early" and closes when the data arrives. The routine that measures runs once a day.
  • The item's result is compared with the rest of the account over the same days. If the whole account got worse together, the change is not flagged.
  • Only an isolated change counts: no other delivery change on the same item during the measured days. A change mixed with another is kept, but it never becomes a card or a pattern.
  • A lead is never compared with a purchase.

A change "got worse" when the cost per result is at least 20% worse and the difference passes the X-ray's clarity test. For a budget cut and for a pause, a drop in results per day also counts. The text says "after this change", because the X-ray shows what came after and does not claim the cause.

The undo card

When a change made the result worse, the X-ray shows a card like this: "Cost per lead went up after this change". The body says what changed, on what day and how the cost went from one value to another, plus what happened in the rest of the account.

The button depends on the change: "Back to $100", "Turn back on" or "Pause again". The preview shows how the item is now, how it goes back, and the before and after reading. When you confirm, Agencify reads the item in the ad network. If it changed again, nothing is altered and the card says "This item has changed again. Nothing was changed."

The card appears when the change is up to 45 days old, the item is still as the change left it and Agencify knows how to go back. The X-ray shows up to 3 undo cards per analysis, the ones with the most money at stake first. Seven days after you apply it, the X-ray shows whether the result came back.

The card also exists for edits. On Meta: creative, bid and audience, with buttons such as "Back to the previous creative", "Back to the previous bid" and "Back to the previous audience". On Google: keywords and targeting, bid target, campaign settings, and headlines and descriptions of responsive search ads. The preview warns when the ad set goes back to the learning phase and when the ad goes through review again.

Undoing from History

The Undo button in History reverses campaign, ad set and ad changes: pause, activation and budget. On Meta, it also reverses edits made outside Agencify:

  • creative, back to the ad with the previous creative;
  • bid, when the strategy is lowest cost without a cap or cost cap, with a value;
  • audience, when Agencify kept the previous version of the ad set's audience.

The preview warns you what happens. Changing audience or bid sends the ad set back into the learning phase for a few days. Changing the creative sends the ad through Meta's review again. Meta accepts one edit per ad set every 30 seconds, and Agencify waits that interval.

These do not go back: the campaign objective and the optimization goal on Meta, a change of bid strategy, edits made before 11/20/2026 and others without the previous value stored, and ads whose creative belongs to a Page your connection can no longer advertise for. History states the reason. On Google, it also reverses edits made outside Agencify: a keyword or targeting added or removed, keyword status and bid, bid target within the same strategy, campaign settings, and headlines and descriptions of responsive search ads. A removed keyword or targeting comes back as a new item, without its earlier history.

What works in this account

The "What works in this account" section of the X-ray has two blocks:

  • what the cheapest items have in common, on Meta and on Google: for example campaign type, bid strategy and keyword match type;
  • "What each kind of change brought": raising the budget by up to 20%, pausing, changing the creative and the other kinds.

A kind of change becomes a pattern only with 5 isolated changes of the same kind and 80% of them in the same direction, within the last 180 days. Only changes in this account count, and nothing is learned from other clients.

A pattern shows up in three ways:

  • as proof on a card that already exists: "In this account, raising the budget by up to 20% made the lead cheaper in 4 of 5 times.";
  • as a brake, when the pattern is a worsening: the card's confidence drops and the line says "In this account, raising the budget by up to 20% made the lead more expensive in 4 of 5 times.";
  • as a card of its own, "Repeat a change that worked in this account", with buttons such as "Raise from $100 to $120". It exists to raise the budget of an item that spends almost all of it and costs within the range where raising worked, and to turn back on a paused item that had that cost.

In the "Changes that may explain the numbers" list, each group of changes with a reading gets the mark "Worse after" or "Better after".

Other conversion events

An item's result is still the event it pursues. The other events appear beside it, split by funnel stage: interest, contact, sign-up, purchase intent, trial and purchase.

  • "No result" splits into "without the result sought, with other events" and "without any signal", with each item's events. This applies to Meta.
  • Items that pursue different events are compared on the furthest stage that at least two of them recorded, under "Comparison across different goals". Each item's cost per result does not change.
  • An item with another event at the same or a later stage than the one sought does not get a pause suggestion for lack of results. The card shows the events and explains. Interest never counts as a result and never protects.
  • Custom events get a stage chosen by the AI. In "Custom event stages", in the budget panel, whoever manages the campaigns can correct it.

When the AI undoes on its own

With the client's AI on "Apply on its own", it can undo a change after which results got worse, without waiting for you:

  • what it changed itself, when that type of change is allowed for it;
  • what someone on the team changed, in Agencify or outside, only with "In other campaigns" turned on.

The protections of its other actions apply, plus these: it does not raise a budget, not even back to the previous value; it does not pause an item someone turned on; and what someone redoes after an undo by the AI, it does not undo again. It does not undo Google edits on its own yet. When it undoes a team change, whoever follows the client gets an email, and the undo shows in the X-ray's Done list with the reason.

What the X-ray does not do

  • It does not undo anything without your confirmation, except what you allowed the AI to do in "Apply on its own".
  • It does not say who made the change, and it does not claim the change caused the result.
  • It does not show an undo card without a stored previous value, without a preview, or when another card already covers the item.
  • It does not use data from other clients.

Up next

To see how the X-ray compares items and sets the confidence of each card, read How the X-ray decides.

Was this article helpful?