Mastra AI Native Services Ad Counter-Campaign Analyzer
Hyper-competitive local home services platforms face disparaging comparative marketing campaigns. Build a real-time ad monitoring and legal/PR triage engine using Mastra AI in TypeScript to detect disparaging claims and generate counter-playbooks.
What you are building
The core problem, expected build, and operating context for this challenge.
Construct an automated ad campaign monitor and risk response system using Mastra AI.
How work is evaluated
Evaluates advertisement disparagement identification and response selection.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
disparagement_detected
Ensures disparaging copy is correctly flagged.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
classification_precision
Precision of ad claim classification • target: 0.95 • range: 0-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Use Mastra AI workflows in TypeScript for multi-channel ad copy monitoring
Extract comparative product claims and score disparagement severity
Trigger dynamic legal alert notifications and public response playbooks
Reference links and supporting material
Digital ad copy corpus with ASCI regulatory tags and target brand labels.
Challenge setup
Evaluates advertisement disparagement identification and response selection.
Challenge input
JSON ad copy input
Mastra AI
Mandatory framework requirement
Evaluated output
JSON risk assessment output
- Ensures disparaging copy is correctly flagged.
- Precision of ad claim classification • target: 0.95 • range: 0-1
- Benchmark: Ad-Compliance-Bench
- Classification Precision target: 0.95
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Mastra AI · Required
- Aim · Optional
- Deepgram · Optional
- Mastra AI · Required
Evaluation contract
- disparagement_detected · Weight 1
- classification_precision · Weight 1
Metrics
- classification_precision · Target 0.95
Benchmarks
- Ad-Compliance-Bench
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON ad copy input
Output: JSON risk assessment output
Execution harness: JavaScript
Evaluation tools
- Mastra AI · Agent Framework
Recipe freeze marker
No recipe freeze time is recorded.