Campaign-level audit rule results
audit_rule_result_campaignGet campaign-level audit rule results as a Markdown summary. Single account only (not cross-account). Included: campaigns that are currently failing (have output rows in the latest audit run) AND, when numberOfWeeks > 0, campaigns that were failing in any historical week but are now resolved (shown with "Rows (0)" in the current column). Not included: campaigns that passed in both the current run and all historical weeks (no output rows at any point). Only rules where IsCampaignSpecific = Yes are considered. Cell values in historical week columns: an actual result means the rule ran and found issues; "Rows (0)" means the rule ran and calculated results for that campaign but found nothing (passed); "-" means the rule did not run at all that week.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Single TrueClicks account id (the numeric Id field from the account listing, not the platform customer id). | |
| campaignIds | No | Campaign IDs to filter results. Only rows with matching CampaignId are returned. If null or empty, all campaigns are returned. | |
| numberOfWeeks | No | Number of historical weeks to include (e.g. 4 = last 4 weeks) alongside current results. Default 0 returns current results only. |