# Ad Rules engine

A central rule management service that helps you easily, efficiently and intelligently manage ads. Without it, you must query the Marketing API to monitor an ad's performance and manually take actions on certain conditions. Since we can express most conditions as logical expressions, we can automate management two ways: using Schedule-based or Trigger-based Based rules.

<figure><img src="https://2592634121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT5HLPrqZhkeNGgJP37dC%2Fuploads%2FCQktdzGYhYNKgj8FTSoC%2FScreen%20Shot%202022-09-26%20at%2018.32.48.png?alt=media&#x26;token=788824aa-5538-4adc-b0aa-c91ef2532192" alt=""><figcaption></figcaption></figure>
