manage ad rules
Rules that watch an ad account’s ads and act. A rule has a level (campaign, adset, ad), conditions on a metric over a window (spend, cpa, roas, ctr, frequency and more, against a number, the period before or its usual), one action (pause, activate, adjust_budget, adjust_bid, reallocate_budget, duplicate, edit_name, notify) and a schedule. templates lists ready-made rules; create makes one, and with enabled false it is checked with preview before update switches it on. runs, changes and alerts read what a rule did; undo takes one change back. An ad account includes 750 rule checks a month across its enabled rules, counted from their schedules (hourly is 744, daily 31); allowance reads it. A rule that switches ads on counts against the running ads. Values go in fields; the fields action lists what each action takes.

