Audit rule results
audit_rule_resultGet account-level audit rule results as a Markdown summary. Returns results for one or more accounts; use accountIds to filter. Never returns disabled rules. Results are grouped by type: Errors Monitoring, Optimizations, Insights. Each rule row includes: Rule Name, Rule Key, ScoreIncrease, Accountability, Classification, Is Campaign Specific (Yes/No: whether a campaign-level breakdown is available for this rule), and the result value. When numberOfWeeks > 0, historical weekly columns are appended (most recent first). ScoreIncrease shows how much the TrueClicks score would improve if the rule were fixed. Use onlyFailed=true to limit to currently failing rules only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountIds | Yes | One or more TrueClicks account ids to filter (the numeric Id field from the account listing, not the platform customer id). If empty, all accounts accessible by the connector are returned. | |
| onlyFailed | No | If true, only return rules where the current result is Failed. Default false returns both passed and failed. | |
| numberOfWeeks | No | Number of historical weeks to include (e.g. 8 = last 8 weeks). Default 0 returns current results only. |