Landing page headers
Use this when someone has an ad and wants the page behind it to convert: the first screen of the landing page, also called the hero or the header, matched to that ad. It makes the first screen only, as pictures and an HTML section, not the page below it and not a live site.
Work on your own as far as you can: ask only for what you can't find. Picture the click. Someone saw one picture and one promise in a feed and tapped. A browser opens inside the app. In a few seconds they decide whether this page is the thing they tapped on. Most leave here, usually because the page does not look or sound like the ad.
Treat what follows as what usually works, not as a script. Three things hold the click:
- It is the ad, continued. The same promise in the headline, the same picture made wider or taller, the same colours and type. A visitor should recognise the page before reading it.
- It answers five questions in five seconds. Am I in the right place? What is this? What do I get? Why believe it? What do I do next? Each has one element: the match, the product in the picture, the headline, one line of proof, one button.
- Everything else is left out. Whatever answers none of the five competes with the button.
The copy is live text in the brand's own font files, laid out in HTML and rendered by a browser. Image models make the picture only. Without a shell and Chrome, stop after the copy and the pictures and hand those over.
Before you start
- You need the brand's website and the ad: a file, a link, or one you find in step 1. Ask where the button should lead if it is not obvious.
- Defaults: one ad, one first screen, at desktop (1440 wide) and phone (390 wide), in two versions that differ only in the headline. For several ads, make one first screen per ad: a page that tries to match three ads matches none.
- Agree a spending cap, and quote before you spend: every
runcall takesestimate: true. - Pass
playbook: "landing-page-headers"on everyruncall, anidempotency_keyon paid ones, and onebudget_tagfor the job, sospend_getcan report it alone. Keep a progress note.
The specs
A page has no ad spec, but these were checked on 3 December 2026. Check them again.
- The page must match the ad. Google's Ads Help page "About landing page experience" says to "choose a landing page that closely matches your ad and keywords", to mirror the ad's call to action and to avoid clutter and pop-ups. Meta's Advertising Standards (transparency.meta.com) require the page an ad opens to work and to show the product the ad promoted.
- It must show fast. Google's Core Web Vitals (web.dev, "Largest Contentful Paint") ask for the largest thing on the first screen, here the picture, to appear within 2.5 seconds for three visits in four. Its file size is part of the design.
- Screens. StatCounter (gs.statcounter.com), United States, November 2026: desktops are mostly 1920 x 1080, then 1536 x 864 and 1366 x 768. Phones are 360 to 414 points wide.
| | Window you render | Sure to be seen | Must sit inside it | |---|---|---|---| | Desktop | 1440 x 900 | the top 650 | logo, headline, button, proof, the subject | | Phone | 390 x 844 | the top 600 | logo, headline, button, proof, most of the subject |
The "sure to be seen" lines are a working rule, not a platform number: a browser's bars, and the bars an app's own browser adds, take a slice that differs by app and phone.
1. Read the ad
Write down exactly what the ad promised. The page has to continue it.
- A file: look at it. For a video, pull the frame that shows the product and the payoff with ffmpeg, and ask
google/gemini-4-argonfor the words spoken and shown. - A link to an ad library:
meta/ad-library/getwith the ad's id returns the headline, body, button and the link it opens, and saves the images as assets. Usegoogle/ad-library/getorlinkedin/ad-library/getfor those platforms. - Only a brand name: find the page with
meta/ad-library/advertisers, list its ads withmeta/ad-library/search, and take the one the person names, or else the longest-running one that is not a catalogue ad (formatofdpa). Say which you took.
Note the headline word for word and where its lines break, the offer and its terms, the button's wording, the picture (subject, setting, colours, where the type sits), any small print, and the link the ad opens today.
2. Read the brand and the page as it is now
- The site. Read the home page and the page the ad opens. Write down every claim and number with its qualifiers exactly as written, today's offers, the price, ratings with their counts, and guarantees. This list is the only source of facts for your copy. If the site refuses a plain fetch, load it in a headless browser.
- Fonts, logo, colours, product photos. Take the real ones: the font files the site's headlines really use, the logo, clean product photos. Upload the photos with
asset_upload. Fonts from a font service are licensed to the brand's own site: say so on delivery. - The page today, as a first-time visitor sees it. Screenshot the link the ad opens at 1440 x 900 and 390 x 844 in a fresh browser profile, about eight seconds after load. Leave the pop-ups and cookie banners in: they are the real first screen. In testing, a welcome-offer pop-up and a cookie box covered the whole phone screen on both sites. Score the page on the five questions and list the gaps. This "before" goes in your side-by-side.
- A trap: headless Chrome will not make a window narrower than 500 pixels. A 390-wide
--window-sizeis laid out 500 wide and cut off. For the live site, drive Chrome through its remote debugging port and set the device metrics (width 390, height 844, mobile), about forty lines of script. For your own page, use the frame in step 5.
3. Write the first screen
Do this before any picture is made, phone first: what fits in 600 pixels fits anywhere.
The parts, and no others:
- The logo, alone. No menu. A link out is an exit.
- The headline: the ad's promise. One idea, the one the visitor tapped on.
- One support line: how or why, in the site's own words. Twelve words or fewer.
- One button. Its wording matches the ad's button or says what happens next ("Shop the sneaker"). Nothing else looks like a button.
- One line of proof, right under the button, where the doubt is: a rating with its count, a guarantee, a returns promise. Exactly as the site states it, and not the fact the headline already used.
- The picture: the ad's picture, with the product in it.
Leave out: the menu, search, a second button or link, sliders, a pop-up on arrival, a sale bar the ad did not mention, autoplay video, rows of badges, paragraphs, social icons, a chat bubble.
Two versions, differing only in the headline, so the test reads cleanly.
- A, the echo. The ad's headline word for word. The strongest match and the safe default.
- B, the plain statement. The same promise said as what the product is and does, naming the kind of product. An ad line is written to stop a thumb; a visitor who has stopped wants it confirmed. If the ad said "Standing in a puddle. Socks are dry.", B is "Waterproof sneakers that keep your socks dry." B is never a new claim.
- Keep both short. In a wide typeface a phone line holds about sixteen characters, and a headline that takes four lines pushes the proof onto the picture.
Rules for every line:
- A stranger test: with the headline and the picture alone, can someone say what is sold? If not, the support line or the button must name it.
- A claim keeps its qualifiers. Nothing appears that the site does not show today, and no offer the ad did not make: a visitor promised one thing who finds another leaves.
- Maybe show the price beside the button when the site shows one price for this product. Outside looks in testing asked for it every time. Leave it out when it depends on options or a sale.
- Regulated products keep the brand's wording and small print, set small at the bottom of the section, not dropped. For supplements, "supports" is not "treats".
Write out the kit: both headlines with their line breaks, the support line, the button, the proof line, the colours, the fonts. If anyone is there to look, get a yes before you generate.
4. Make the pictures
The page needs the ad's picture without the ad's type, in two new shapes: wide for desktop and tall for the phone. Read each endpoint's schema with endpoint_get before its first run.
- If the clean picture exists, start from it. Ask for the layered file or the original photo.
- Otherwise take the type off the ad. Give the flat ad as image 1: "Remove every word, the logo and all graphics that sit on top of the photograph, fill where they were with what the photograph shows there, and keep everything else exactly the same." Ask for the ad's own shape at 2K.
google/nano-banana-2.1did this cleanly for a shoe on a plain backdrop. - With a printed pack in the picture, use `openai/gpt-image-2.6/sunburst` for that pass and the two below. Give the clean pack shot as image 2, say "its printed label is copied exactly from image 2, every word spelled as in image 2", and write the label's words out. The first model garbles small print even in a pass that should leave it alone: a jar came back reading "120 chears".
- The wide picture, 21:9 at 2K. Clean picture as image 1, real product photos after it: "Recreate the photograph in image 1 as a very wide frame. It must read as the same photograph, only wider." Describe the scene again, then give the layout as fractions: there"; above it; smallest lines came out wrong at 2K, and two label passes at 4K fixed those and dropped a letter from a larger line. Read the whole label after every pass, and tell the brand which lines are still wrong.
- the subject between 55 and 92 percent of the way across, clear of the right edge;
- the left 50 percent only plain backdrop, calm and evenly lit, "because text will be set
- where a wall meets a floor, how far down that line is (about 78 percent), so the copy can sit
- what must leave the frame (a window, a plant), so the calm half stays calm;
- a pack "nearest the camera, about 11 percent of the frame's width". Even so, its two
- The tall picture, 2:3 at 2K, the same way: "the top 47 percent is only the plain backdrop", the top of the subject 50 percent down, a pack about 24 percent of the width.
- A model will not always move a thing. A thin stream of water stayed at 72 percent across through two retakes that asked for 90. After two tries, lay the copy out around it instead.
- Never a different picture because it is easier. A stock photo or the site's usual banner breaks the match.
Look at each picture beside the ad. No leftover type. The product matches the real photos part by part. Crop each label and read every word at full size. To move a subject, generate again with new fractions; an edit usually returns the same picture.
If the picture needs a person, make them with higgsfield/soul-v2 and place them with google/nano-banana-2.1. For that and for screens, read meta-static-ads with playbook_get.
5. Build the HTML
One file per version, the same but for the headline: a section a developer can paste into a page.
- One section holding the picture, an
h1, the support line, one link styled as the button, and the proof line. The logo sits in its own header element over the top, so a site with its own header can drop it. - One style block, every class with one short prefix. No scripts. No requests to other servers: fonts and pictures sit beside the file. Fonts load with
font-display: swap. - The picture is an `img`, not a CSS background, in a
pictureelement: a source for screens under 900 pixels (the tall one) and the wide one as the default. Give itwidth,height, a plainaltandfetchpriority="high", and neverloading="lazy". - Weight: WebP at
cwebp -q 80, the wide one 2560 pixels wide, the tall one about 1170. - Desktop: the wide picture fills the section edge to edge (
object-fit: cover, anchored right). The copy sits over its calm half in a column up to 640 pixels wide, lined up with the logo and above the line where wall meets floor. Make the section 40% of the window's width tall, held between 520 and 760 pixels, so a wide screen does not crop the subject. Headline 54 to 68 pixels. - Phone: the copy starts under the logo and the subject follows it. the width tall, with the copy over the calm part: the ad's own layout with a button added. median pixel, not the mean), start the copy on that colour, and slide the picture up under it until the subject sits about 20 pixels below the proof line. The join does not show. narrower column beside it, about 70% of the width, and let the button hug its label. 12.5 to 14. Cap the headline's size by the screen's width too, so it does not re-wrap on a 360-wide phone.
- When the picture's calm top is half its height, let the picture fill the section, 150% of
- When the copy needs more room, give the section the colour of the picture's top edge (the
- When something crosses the calm area (a stream of water, a lamp cord), keep the copy in a
Render with headless Chrome.
- Because of the 500-pixel trap, make a wrapper page that holds your file in a frame of exactly 390 x 844 (and one of 1440 x 900), open it in a larger window, and crop the frame out. Media rules inside a frame follow the frame's width, so the phone layout is true.
chrome --headless=new --hide-scrollbars --force-device-scale-factor=2 --window-size=W,H --screenshot=out.png wrapper.html, a fresh--user-data-dirfor each render, a time limit.- Have a wrapper measure the page and print the numbers with
--dump-dom(add--allow-file-access-from-filesso it can read the frames): the bottom edge of the button and the proof line against the 650 and 600 lines; how many lines the headline takes against how many you broke it into; font sizes; whether each font loaded; the button's height; whether the page is wider than its frame. For contrast, render once more with the text colour transparent and read the pixels behind each line. - Run it at 1920 and 360 wide too. In testing it caught a headline that wrapped where it was not broken, a proof line that slid onto a white shoe, and a line at 4.2 to 1 on a bright floor.
6. Show the match
- The side-by-side (one image). Left to right at one height: the ad; the page it opens today on a phone; version A on a phone; version B on a phone. Under them, A and B on desktop. Give every column a fixed width. Draw the sure-to-be-seen line across each new screen, its label under the line so it covers nothing.
- The mockup: the click. Two iPhone 17 Pro frames drawn in HTML (a screen of 402 by 874 points, a dark rounded frame, the time and battery at the top) with an arrow between them. brand's own domain. Put your HTML file itself in a frame 402 wide, so the type stays true and the mockup shows what really fits. gap reads as unfinished.
- Left: the ad file itself in a plain feed, under the brand's name and the word "Sponsored".
- Right: your page after the tap, in a plain in-app browser: a top bar with a close mark and the
- Where the page runs out, show a striped placeholder marked "the rest of the page". A white
- Plain shapes only. No app's logo, no publisher's name, no other brand. Say it is a drawing.
7. Check
Look at each screen at full size, then small. Check both versions at both sizes:
- Cover the logos. Ad and page are plainly one campaign: the same picture, colours and type.
- The headline makes the ad's promise. Version A matches the ad word for word.
- Logo, headline, button and proof are above the line (650 desktop, 600 phone), by the measured numbers. On the phone, the product or enough of the subject to recognise it is above it too.
- The headline has the lines you gave it, at 360, 390, 1440 and 1920 wide.
- No line of copy touches or crosses anything in the picture. Nothing sits tight against an edge.
- One button. Nothing else looks like one. No menu, no pop-up, no second offer.
- Every claim, number and offer is on the site today with its qualifiers, the proof line included. Nothing appears that the ad did not promise.
- The picture has no leftover type, the product is the real one, every label is spelled right. No signs of generation, and no real person's face.
- The headline is live text: search the HTML file for its words. The fonts loaded.
- Contrast is 4.5 to 1 or better on every line. The button is at least 48 pixels tall.
- The page calls no other server, runs no script and lazy-loads nothing.
- Versions A and B differ in the headline and nothing else.
Then get an outside look. Give google/gemini-4-argon the side-by-side and ask two things. As someone who just tapped the ad: is each page plainly the same offer, and what is different or missing? Looking at screen A alone for five seconds: what is sold, what do you get, why believe it, what would you tap, and what looks wrong, cramped or generated, and where? Treat the answer as leads to check, not a verdict. If the run is refused or fails, try once more later. If it still fails, do not skip the step quietly: have a second agent that has not seen your work answer the same questions, or say on delivery that no outside look was done.
Fix what fails, then look again.
8. Deliver
- A folder and a zip of it: the two HTML files, the pictures and fonts they use, and the renders, named with the brand, the version and the size, such as
acme_a_phone_390x844.png. - The side-by-side and the mockup, uploaded with
asset_uploadso there are links to share. It takes pictures, not zips. Upload them last, after the final fix. - A short table: each headline and what it tests, the support line, the button, the proof line, and where on the site each fact comes from.
- A note for whoever builds the page: where the button leads (the ad's tracking tags must pass through it), the fonts and their licence, and the gap list from step 2: what on today's page should go, the arrival pop-up first.
- What it cost, from
spend_getwith the job's budget tag. - Claims the brand should confirm, whether the outside look was done and by what, known flaws.
- Offer more: the same for the next ad, or a version that leads with the offer. For the page below the first screen, look for a playbook with
playbook_search, and carry on without one if none is there.iterate-your-winnerimproves the ad itself.
Watch out for
- A page that matches the brand but not the ad. The home page is on brand and loses the click.
- A headline the copywriter likes better than the ad's. The ad's line already won the tap.
- A proof line that was rounded up or borrowed from another product's page.
- No invented statistics, reviews, press quotes, prices, awards, customers or partnerships.
- No real people's faces. Another brand's ad gives structure only: read
competitor-ad-remakesbefore using one.