Generate ad variations from performance data

Have Claude Code read your ad performance export, find the weakest headlines and write new variations that fit your character limit.

Task: Generate ad variations from performance data · Other tasks

Fill in the details

An export inside your project folder. Type @ in Claude Code to pick the path.

Optional. Without it, Claude proposes a measure and a cut-off and tells you which.

Optional.

Copy your prompt

This site doesn't run Claude or show model output. Results depend on your input and the model you use.

4 required fields are empty.

What you type is kept in this tab's session storage so a reload doesn't lose it. Use "Clear this task" to remove it. Browsers can restore session data when they reopen tabs, so closing a tab isn't a guaranteed way to erase it.

When to use this template

  • You have an export from an ad platform with copy and performance columns, and you want replacements for the weakest items rather than a fresh batch from nothing.
  • The export is saved in your project folder, so Claude Code can read it. Reference it with @ and the path. This site cannot attach files.
  • The platform has a strict character limit, and you want every variation counted before it reaches your ad manager.

When not to use it

  • You have no performance data yet, for a new campaign. Ask for variations from a brief instead; there is nothing to learn from.
  • Every ad needs legal or compliance approval before it runs. You can still use this for drafts, but plan for that review and keep regulated claims out of the style rules.
  • You want Claude to change live campaigns. This prompt only writes a file; upload the variations yourself after reading them.

Why this structure

  • The limit is stated in the opening request, so it shapes every variation from the start instead of being enforced afterwards.
  • Step 1 makes Claude say which column and cut-off it used to judge performance, so you can correct the definition of "underperforming" before any copy is written.
  • Skipping rows with too little data, and saying how many were skipped, means ads that only look weak because few people saw them are set aside rather than rewritten.
  • Counting characters with code, and listing the count in the output file, means you do not have to recount each line by hand.
  • The rule against invented offers or claims tells Claude to stay within what your existing ads and style rules already say, and to flag anything new for you to decide.

Example input (fictional)

Performance data file
@reports/spring-campaign-ads.csv
What to rewrite
ad headlines
How many new variations
12
Character limit
70
What counts as underperforming
click-through rate below 1.5% with at least 1,000 impressions
Brand and style rules
Plain words, no exclamation marks, mention free returns where it fits.

Follow-ups to send Claude

  • Group the new variations by the idea they try, and pick the two strongest from each group for a first round.
  • Write a description line for each of the top five headlines, under 150 characters, in the same file.
  • After the next export, compare the new variations with the ones they replaced and tell me which ideas worked.

Common mistakes

  • Using an export without volume columns such as impressions. Claude then cannot tell weak copy from copy that barely ran.
  • Giving the limit as "short". Platforms count characters exactly; give the number.
  • Uploading the variations without reading them. Check each line for claims, tone and fit with the landing page.
  • Analyze a data file and report the patterns: Point Claude Code at a CSV or other data file; it checks the data, computes the key patterns with code and writes them to a report file.
  • Edit a draft for clarity: Make a draft clearer for a named reader while keeping your meaning and voice, with a short list of what changed and why.
  • Compare options and recommend one: Weigh two or more options against your criteria and hard limits, see the trade-offs side by side, and get a recommendation when the facts support one.

See all templates

Sources