Most marketing prompts fail before the model writes a word. "Write me a blog post about our product" hands the model no audience, no angle, no voice, no length and no example of good work, then blames the model for the generic result. The fix is not a better model. It is a better brief. Prompt writing for marketing means giving the model the same five things you would give a human copywriter: the reader, the job, the context, the limits, and what good looks like. OpenAI, Anthropic and Google each publish their own prompting guidance, and they agree on the core techniques. This guide turns that guidance into a workflow.
Key takeaways:
- Define success first: clear criteria, a way to test against them, and a first draft to improve.
- Every marketing prompt needs five parts: role and audience, job, context, constraints, examples.
- Show, do not just tell: three examples beat a long list of rules.
- Split big jobs into chained steps and fix the output format before you ask.
- Test prompts like a campaign: keep the winners and re-test when the model changes.
Why most marketing prompts fail
A vague prompt produces vague copy because the model has to guess everything you left out. "Write a catchy ad" leaves the audience, the product, the offer, the tone and the length open, so the model fills the gaps with the most average answer it knows. That is not a model failure. It is an incomplete brief, and it is the most common mistake in marketing use of AI. The second failure is accepting the first draft: Google calls prompt engineering iterative. The third failure is treating every model the same: OpenAI says reasoning models do better with high-level guidance while GPT models benefit from precise instructions.
Before you write a prompt: define success first
Anthropic sets three preconditions before any prompt work: a clear definition of success criteria, some ways to test against them, and a first draft prompt to improve. For a marketing task, success criteria sound like this: the email subject line is under 50 characters, names the offer, and reads like our brand, not like a coupon site. Generate five options, score each against those rules, and keep the ones that pass. OpenAI adds the same discipline: build tests and evaluation suites that measure prompt behaviour. For a marketing team, that can be ten saved briefs with accepted outputs, re-run whenever the prompt or model changes.
The five parts of a marketing prompt
OpenAI structures a developer message as identity, instructions, examples and context. Anthropic uses XML tags. Google advises clear instructions, added context and a specified format. The marketing version has five parts.
| Part | What it does | Marketing example |
|---|---|---|
| Role and audience | Sets the voice and the reader | Email copywriter for parents buying school shoes |
| The job | States the task and the outcome | Write five subject lines for a back-to-school email |
| Context | Supplies facts the model cannot guess | Sale ends Sunday, 20 percent off, free delivery over 40 pounds |
| Constraints and format | Sets the limits | Each line under 50 characters, no exclamation marks |
| Examples | Shows what good looks like | Three past subject lines that worked, and one that flopped |
Write the five parts in that order and the prompt reads like a brief, which is exactly what it is. Keep each part short.
Six techniques the model makers agree on
The vendors disagree on details, and this guide says so where they do. On the techniques below they agree.
1. Be clear and direct
Anthropic puts it first: Claude responds well to clear, explicit instructions. Think of Claude as a brilliant but new employee who lacks context on your norms and workflows, the guide says, and test every prompt on a colleague with minimal context: if they would be confused, the model will be too. "Write something nice about our shoes" fails that test; a 90-word description aimed at parents, naming durability and easy cleaning, passes it.
2. Give context and explain why
Anthropic advises adding context and explaining why a behaviour matters, because it helps the model deliver more targeted responses. For marketing, context means the offer, the price, the deadline, the objection, and the differentiator. Say why a rule exists, too: "Do not use the word cheap, because our brand competes on durability, not price" gives the model a reason it can generalise from. Placement differs: OpenAI puts context near the end, Anthropic puts long documents at the top.
3. Structure with headings and XML tags
OpenAI advises using Markdown formatting and XML tags to mark logical boundaries, so the model can tell where one piece of content begins and ends. Anthropic advises wrapping each type of content in its own tag, for example <instructions>, <context> and <input>. Google recommends a consistent structure too, using XML-style tags or Markdown headings. For a marketing prompt, that means Role, Task, Context, Rules and Examples blocks.
4. Show examples, three is a good start
Examples are the most reliable steering tool the vendors describe. Anthropic calls them one of the most reliable ways to steer format, tone and structure, and says to make them relevant, diverse and structured, in <example> tags. Google is the most direct: "We recommend to always include few-shot examples in your prompts." Start with three: typical, edge case, and one to avoid, labelled as such.
5. Split big jobs into chained steps
A landing page is not one prompt. It is an outline step, a headline step, a body step and an edit step, and asking for all of them at once produces a page that is average at each. Google advises chaining prompts, so the output of one becomes the input of the next. For a landing page, the chain is outline, three headline options, body copy for the winner, then an edit that cuts a fifth of the words.
6. Fix the output format before you ask
If you want a table, say table. If you want JSON for an automation, say JSON. Google advises specifying the response format, whether a table, a bulleted list, an elevator pitch or a sentence. OpenAI offers Structured Outputs for the same reason. Anthropic adds a formatting rule that matters for marketing tone: tell the model what to do instead of what not to do.
Three worked examples
These are illustrative prompts built from the techniques above, not tested outputs. Run each one, score it against the success criteria you set, and adjust one part at a time.
Email subject lines for a sale
Weak prompt: "Write some email subject lines for our sale." Strong prompt: "Act as a senior email copywriter. Write five subject lines for a back-to-school sale email. Offer: 20 percent off school shoes, ends Sunday, free delivery over 40 pounds. Voice: warm and plain. Rules: under 50 characters each, no exclamation marks, no word sale in the first three words. Three past subject lines that performed well: [paste them]. One that flopped and why: [paste it]."
Ad copy for a running shoe launch
Weak prompt: "Write an ad for our new running shoes." Strong prompt: "Act as a performance marketing copywriter. Write three ad variants for a new lightweight running shoe aimed at runners training for a first marathon. Each variant: headline under 40 characters, primary text under 125, one call to action. Facts: 240 grams, carbon plate, 120 pounds. Do not claim it is the fastest shoe on the market. Tone: encouraging, never boastful. Two ads from our last launch that converted well: [paste them]."
Landing page hero for a bookkeeping app
Weak prompt: "Write a landing page for our app." Strong prompt, chained in two steps. Step one: "Act as a conversion copywriter. From these product facts [paste them], outline a landing page for a bookkeeping app aimed at freelance designers, with a headline, a subheading, three benefits and one objection. The audience’s main worry is that switching tools wastes a weekend." Step two: "Using that outline, write the headline and subheading only. Headline under 10 words. Subheading under 25 words. Voice: calm and confident."
Test every prompt like a campaign
A prompt that works today can drift tomorrow, because the model changes even when your brief does not. OpenAI advises pinning production applications to specific model snapshots for consistent behaviour, and building evaluation suites so you can monitor performance as you iterate or change model versions. For a marketing team, that means saving winning prompts with their model version, and re-running your ten-brief test set after an update. Anthropic’s preconditions close the loop: test against the success criteria you wrote first, and keep the first draft. Google adds that prompt design is iterative: rephrase, switch to an analogous task, or change the order of the prompt content when a result stalls. One caution for Gemini users, from Google’s own guide: Gemini 4 and Gemini 3.6 and later models ignore custom temperature, top_p and top_k values. Change the prompt instead.
Mistakes to avoid
| Mistake | What happens | Fix |
|---|---|---|
| One-line brief | Generic copy, any brand | Use the five parts: role, job, context, constraints, examples |
| No audience named | Copy for everyone, persuasive to no one | Name the reader and their main objection |
| Rules without reasons | The model obeys the letter, misses the intent | Explain why a rule exists |
| No examples | Tone and format drift | Add three examples: typical, edge case, one to avoid |
| Accepting the first draft | A flat result ships unchanged | Score the output and iterate once |
| One giant prompt | A weak section is hard to diagnose | Chain the job into steps |
| No saved winners | Good prompts are lost | Save winners with the model version |
Frequently asked questions
Which AI model is best for marketing copy?
No single model holds that title, and this guide does not award one. Run the same brief on two or three models and compare the outputs.
How long should a marketing prompt be?
As long as it needs to be to carry the five parts, and no longer. A subject line brief fits in a paragraph; a landing page brief needs the outline, the facts and the examples.
Do I need to learn XML to write good prompts?
No. Markdown headings do the same structuring job for most marketing prompts, and Google explicitly offers either XML-style tags or Markdown headings. XML tags earn their place when a prompt mixes instructions, context and examples.
Can AI write copy that sounds like my brand?
Only if you give it your voice rules and examples of copy that already sounds like your brand. Without them, the model writes the average of every brand it has seen. The examples section is where brand voice lives: three pieces of your own copy beat a paragraph of adjectives.
Sources and Further Reading
- OpenAI, Prompt engineering — https://platform.openai.com/docs/guides/prompt-engineering
- Anthropic, Prompt engineering overview — https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/overview
- Anthropic, Prompting best practices — https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices
- Google, Prompt design strategies — https://ai.google.dev/gemini-api/docs/prompting-strategies


