← Back to Docs
Recipe

Recipe: Ad copy rewriter

Transform a single product brief into platform-optimized ad variants using Meridian's structured rewriting pipeline.

Overview

This recipe takes a raw product description and produces three distinct ad copy variants tailored for Meta, Google, and TikTok. Each output respects platform character limits, tone conventions, and CTA placement rules.

Input schema

{
  "product_name": "string",
  "value_prop": "string",
  "target_audience": "string",
  "tone": "casual | urgent | luxury",
  "max_chars": { "meta": 125, "google": 90, "tiktok": 150 }
}

Pipeline steps

  1. 1Extract — parse the product brief into atomic claims and emotional hooks.
  2. 2Route — assign each claim to the platform where it performs best based on audience intent signals.
  3. 3Generate — produce three variants with platform-specific formatting, emoji rules, and CTA placement.
  4. 4Validate — enforce character limits, brand safety filter, and hallucination check.

Output example

{
  "meta": "Tired of...",
  "google": "Premium... | Shop now",
  "tiktok": "POV: you just found..."
}