Create an Automated Rule

Mirrors Meta's POST /{accountId}/adrules_library — "if CPA > X for 3 days, pause" style conditions Meta evaluates on a schedule and acts on without polling.

  • evaluation_spec: filters + trigger conditions.
  • execution_spec: the action (PAUSE/UNPAUSE/CHANGE_BUDGET/notify) and its target.
  • schedule_spec: how often Meta evaluates the rule.

Write — needs a write-scoped token.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Query Params
uuid
required

The Analify organization whose connected account to use.

Body Params
Responses
200

OK

Language
Credentials
Bearer
anlfy_...
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json