ops / auto-pause

Auto-pause rule engine

One rule per app, evaluated daily at 06:00 UTC. Every Meta ad set whose observed revenue ÷ spend over the rolling window falls below the floor is paused via the Graph API, and every result — paused, logged, or skipped — is written to the audit.

rule / default

Auto-pause rule
Pause any Meta ad set whose observed ROAS falls below the floor over the evaluation window.
updated

Pause when ratio revenue ÷ spend falls below this value. Default 1.0 means break-even — pause anything losing money.

Length of the rolling window the cron reads. Default 48 h.

When off, the daily eval job exits immediately without calling Meta.

override / manual

Pause a campaign now
Runs the same ROAS-window evaluation against a single ad set, and issues a paused status to Meta if it falls under the floor (or your override).

The numeric id of the ad set you want evaluated.

Set a one-off floor for this eval only — the rule itself is untouched.

Requires META_ACCESS_TOKEN on the server for the pause to actually fire. Without it the row is audited but Meta is not called.

audit / recent

Pause history
Last 100 evaluations — what the cron saw, what it requested from Meta, and whether Meta acknowledged the pause.

Loading…