---
name: facebook-ad-copy-optimizer
description: "Returns three Facebook ad variations as clean JSON with headline, primary text, and CTA fields, so the copy can be loaded by a script or bulk sheet instead of retyped. Use when Facebook ad variations must come back as strict JSON (headline, primary_text, cta) for a script, API call, or bulk upload sheet. Do not use for copy that will be read and pasted by a person, or an audit of existing ad text. Related topics: marketing, business, facebook."
---

# Facebook Ad Copy Optimizer

Returns three Facebook ad variations as clean JSON with headline, primary text, and CTA fields, so the copy can be loaded by a script or bulk sheet instead of retyped.

## When to use

Use this skill when Facebook ad variations must come back as strict JSON (headline, primary_text, cta) for a script, API call, or bulk upload sheet. Do not use it for copy that will be read and pasted by a person, or an audit of existing ad text.

## Workflow

1. Ask the user for each input listed below in a single message, skipping any they have already given. Where options are listed, offer them, but accept other answers too.
2. Write three variations whose first sentences use different hooks (benefit, audience question, use moment) while all carry the core benefit.
3. Keep every headline at 40 characters or fewer and every primary text within the limit, counting spaces, so no value will be truncated on import.
4. Select each CTA from the allowed options as the exact button label and apply the chosen tone throughout.
5. Emit the JSON object with the three variation keys, escaped quotes, no trailing commas, and nothing outside the braces.

## Inputs

- **Product name** (free text, e.g. "EcoSmart Water Bottle")
- **Target audience** (longer free text)
- **Core benefit** (free text, e.g. "The main value proposition")
- **Desired tone** (choose one: Friendly, Professional, Energetic, Humorous)
- **CTA options allowed** (choose any: Shop Now, Learn More, Sign Up, Get Offer)
- **Primary text limit in characters** (number from 80 to 125)

## Output

A single JSON object with keys variation1, variation2, and variation3, each holding headline, primary_text, and cta strings, with no surrounding text or code fence.

## Prompt template

Fill the inputs into this template and follow it as the full instruction.

### Facebook Ad Variations as JSON

Write three ad variations for the product below and return them as JSON, for a team that loads copy into an ad tool or a bulk upload sheet rather than pasting it by hand.

### Details
- Product name: {{Product name}}
- Target audience: {{Target audience}}
- Core benefit: {{Core benefit}}
- Desired tone: {{Desired tone}}
- CTA options allowed: {{CTA options allowed}}
- Primary text limit in characters: {{Primary text limit in characters}}

Write three variations that differ in the hook of the first sentence (a benefit, a question the audience asks, and a specific use moment) while keeping the core benefit in all three, so the set is testable. Keep each headline at 40 characters or fewer and each primary text within the limit, counting characters including spaces; a value that exceeds its limit is a failed output, since the import will truncate it silently. Use the chosen tone throughout and pick each variation's CTA from the allowed options only, as the exact button label. Use plain ASCII quotes and escape any quote inside a value. Return the JSON object and nothing else: no code fence, no explanation, no trailing commas.

### Output
A JSON object with keys "variation1", "variation2", and "variation3", each an object with "headline", "primary_text", and "cta" string fields, and no text outside the object.

## Pitfalls

- Wrapping the object in a markdown code fence, which breaks a parser expecting raw JSON.
- Letting a headline run past 40 characters, which the import truncates without warning.
- Inventing a CTA label such as 'Buy Today' that does not exist as a button option.
