LinkedIn PDF ads (document ads)
Use this when someone wants a LinkedIn document ad: a PDF that people page through inside the feed, one swipe at a time. Marketers also call it a PDF ad, a swipeable guide or a PDF carousel. The same file works as an ordinary document post on the brand's page. For one picture in the feed, use the linkedin-image-ads playbook.
Work on your own as far as you can: ask only for what you can't find, then go. Picture the reader. They are at work, on a phone, and a page shows about 390 pixels wide. They swipe for as long as each page pays them back, and they keep the document only if it helps them do their job. So this is not an ad stretched over eight pages. It is a short, useful guide, and the product comes in last and lightly.
Treat what follows as what usually works, not as a script: where it says "maybe" or "usually", use your judgment for this brand.
Four things make a document ad work:
- It is a guide, not a brochure. Cover the logo: would the buyer still save it? A checklist, the steps of a job or the numbers from a report pass that test. A tour of features does not.
- Page one is a promise. The cover says what the reader will be able to do and how many things are inside. It is the only page everyone sees.
- One point a page, read on a phone. A headline, a sentence or two, maybe one small figure.
- Every fact has a source. The content comes only from what the brand has published. You keep a sources sheet from the first minute, and every page points to rows on it.
The pages are typeset in HTML in the brand's own font files and printed to a PDF by a browser, so the text in the file is real text. This needs a shell with a browser (Chrome) and the usual PDF tools. Without them, stop after the writing and hand over the copy and the sources sheet.
Before you start
- You need the brand's website. Everything else you can usually find yourself.
- Ask what the campaign is for, if the person knows:
- Awareness or engagement: the whole document is open to everyone.
- Lead generation: the first pages are a preview and a LinkedIn form unlocks the rest.
- Website visits or conversions: a preview, then a button to the brand's page.
- If nobody says, build it open, written so that it also works gated ("The preview" below).
- Ask who the buyer is (job title, size of company), or take it from the site and say so.
- Defaults: one document of six to eight square pages, three covers to test (so three PDFs that differ only in page one), the post text, page images, an overview and a feed mockup.
- Agree a spending cap, then quote before you spend: every
runcall takesestimate: true. - Pass
playbook: "linkedin-pdf-ads"on everyruncall, anidempotency_keyon paid ones, and onebudget_tagfor the whole job, sospend_getcan report this job on its own. - Keep a progress note as you go: what is done, the run ids, and what was spent.
The specs
These are LinkedIn's rules for document ads. Check them before a big job against LinkedIn's own pages: "Document ads advertising specifications", "Document ads best practices" and "Create document ads in Campaign Manager" in LinkedIn Marketing Solutions Help, and "Document Ads specs" in LinkedIn's ads guide.
| Thing | LinkedIn's rule | What this playbook makes | |---|---|---| | File type | PDF, DOC, DOCX, PPT or PPTX. With a lead form, PDF only | PDF | | Weight | 100 MB or less | Usually under 1 MB | | Length | 300 pages or 1 million words at most. Under 10 pages recommended | 6 to 8 pages | | Shape | Vertical, horizontal or square. Every page the same size | Square | | Page size | No pixel size, only paper sizes such as Letter and A4 | 1080 x 1080 CSS pixels | | Layers, motion | Layers must be flattened. Video and animation show as a still | None | | Links | Work only after someone downloads the file. They must be https | One, on the last page |
- Intro text, above the document: 150 characters or fewer so it is not cut. 3,000 is the hard limit. Legally required wording goes here.
- Headline, under the document: 70 characters or fewer, 200 at most. Campaign Manager fills it in from the file's name.
- The button. With a lead form it is always "Unlock full document". For website visits and conversions the advertiser gives a web address and picks a button from a list in Campaign Manager. LinkedIn's set-up page asks for no button on the other objectives.
- The preview. For lead generation, website visits and conversions, a slider in Campaign Manager sets how many pages show before the form or the button.
- LinkedIn's own advice: use a PDF, avoid long documents, multi-column text and small type, keep prices and addresses that go out of date to a minimum, and rely on nothing clickable in a page.
- Real document ads are mostly 4:5 or square. Square is the default here. Make 4:5 (1080 x 1350) when asked: it fills more of a phone.
1. Research the brand
- The site, and above all what the brand teaches. Read the home, product and pricing pages for what they sell and to whom. Then find where the brand explains things: the blog, guides, reports, help pages. If the site refuses a plain fetch, load it in a headless browser.
- Pick one source piece, two at most. A guide stitched from the home page is a brochure. Prefer a piece with steps, a checklist, mistakes and fixes, or the brand's own numbers, that the buyer you chose would act on. Save the page's full text to a file and work from the file. A summary of it loses the qualifiers.
- What the brand's own posts show. To choose between two good pieces, look at what the brand already posts.
linkedin/posts/by-accountwithcompanyset to its LinkedIn page (the url, or the name in it) lists the page's posts, newest first: each one's words, link and date. It gives no likes and does not say which posts carry a document. Use it to see which subjects and articles the brand keeps coming back to. For the response,linkedin/posts/searchwith the brand's name and a subject asqueryreturns likes and comments where LinkedIn shows them: a sample, not every post. Take the piece whose subject drew more. - The sources sheet. Start
sources.mdwith a row for every fact, number, step and product claim you might use: an id, the exact words, the page address, whose fact it is, its qualifiers, and what it is about. them: write down the name and the year, and carry both onto the page ("Acme Institute, 2024"). A figure the article marks as its own sum carries that note too.- "Whose fact it is" matters most. A number the article quotes from someone else belongs to
- Copy words exactly, with their qualifiers: "about", "commonly", "most", a date.
- This sheet is the only source of facts. If it is not on the sheet, it is not in the document.
- Fonts, logo, colours, real screens. Take the real ones, as the
linkedin-image-adsplaybook describes (read it withplaybook_get). In short: the font files behind the site's styles, at the weight its headlines really use; the logo as an SVG with its fill set by you; colours from the stylesheet. Fonts from a type foundry or a font service are licensed to the brand: say so when you deliver.
2. Choose the guide and write it
Do all of this before any page is built.
What kind of guide. Usually one of these, in the order that tends to get saved:
- A checklist: the things to check before a known event (an audit, a launch, a renewal).
- The steps of a job, in order.
- Mistakes and fixes: what goes wrong, and what prevents it.
- Numbers from the brand's own report: one finding a page, each with its base and date.
The outline. Six to eight pages:
- Page 1, the cover. The promise. See below.
- The middle pages, one point each, numbered. The count on the cover equals the count inside. If the source has twenty items, choose the five to seven that matter most, or one whole group of them. Never squeeze them all in.
- The last page, what to do next. A headline, one line, and one short web address set as plain text that is also a real https link. Nothing in the player can be tapped, so the address must be short enough to type: the site's name and one short path. Check that it opens. This is the one page where the product belongs, in the brand's own words. In small type, name the article the guide comes from and its date.
- Keep the article's sales lines (how many customers, how accurate) out of the middle pages.
Each middle page:
- A headline of eight words or fewer that is the point itself, not a label. "Test cutoff around period-end" beats "Step 3: Cutoff".
- One or two sentences, 35 words or fewer in all.
- Maybe one figure under them: a number set large with its meaning beside it, a timeline, three boxes joined by signs, a short sample of what to type. One figure, never two.
- Say it in your own short words, but change no fact. Numbers, ranges, names and qualifiers go over exactly as the sheet has them: a range the article calls common keeps "commonly".
- If the article's sample uses a made-up company, keep the sample's useful lines and leave the name out. Label a sample as a sample.
The cover. It is read at about a third of its size, between two posts, in a second.
- A title of ten words or fewer. It names the job or the moment, and usually how many things are inside: "6 payables tests to run before your auditors do", not "Rethinking finance".
- One line under it, maybe: who it is for. The logo, small. A swipe cue: the word "Swipe" and an arrow. No button, no price, no claim about the product.
- Three covers, so the person can test which promise wins. Usually: line under it does. Write down what each one tests.
- A, the thing and its count: "6 tests to run before your auditors do".
- B, the stake: what it costs to skip it, from a sourced line.
- C, the question the reader is already asking, which the document answers.
- Same design, same type size, same inside pages. If the title does not carry the count, the
The preview. If a form or a button gates the document, the open pages must give something whole. Write it so that by the end of page three the reader has two complete points and knows how many more are inside.
The post text.
- Intro text: 150 characters or fewer. Open with the buyer's moment or problem, say what the document gives, and tell them to swipe. Don't repeat the cover title word for word.
- Headline: 70 or fewer, usually the guide's title. It is also the PDF's file name.
- No hashtags, no "We're excited".
Copy. Write the way the buyer talks at work. Use the article's own terms of art and no vendor words: unlock, elevate, seamless.
Write the plan as a table: for each page its headline, body, figure and source ids. Add the three cover titles and the post text with character counts. If anyone is there to look, show it and get a yes before you build.
3. Build the pages
Build one HTML file. Each page is a block exactly 1080 by 1080 CSS pixels with hidden overflow and a page break after it. Type is text in the brand's font files. The logo is the real file.
- One grid for every page. The same margins, 80 pixels or more, the same place for the page count and the small logo, the same headline size on every middle page.
- Type sizes on the 1080 canvas. Cover title 96 to 120. Middle headlines 72 to 88. Body 40 to number can go to 140 beside its meaning. If the words don't fit, cut words.
- Words inside a figure 32 or more. Labels, captions and footers 28 to 32, never less. A lone
- Break headline lines by hand, and use one title size on all three covers. A cover with fewer lines then has spare room: fill it with something that shows the count, such as a row of numbered tiles, the same on all three.
- One column, left-aligned.
- The ground. The feed is white and pale grey, so a cover in the brand's dark tone or its strongest colour holds its edges. Middle pages can turn light for easy reading or stay dark. Keep one accent colour for numbers and key words, and check every pair for contrast.
- Furniture on every page: a label such as "Test 2 of 6", the page count, the small logo, and on every page but the last a small arrow at the lower right.
- Keep the edges quiet. The player lays its own counter and controls over or beside the page, differently on each device. Nothing a reader needs sits outside the 80 pixel margin.
- Figures are drawn in HTML or SVG from the figures on the sheet. An image model never draws a chart, a table or a screen of the product: it changes the numbers. A picture of the product is a real screenshot, cropped to one part. If the person wants a photograph or a person on the cover, make it as
linkedin-image-adsdescribes and use it on all three covers. Most strong documents use none. - Things that break in a PDF. Blur, blend modes and backdrop effects can turn a page into a flat picture. Anything with a fixed position repeats on every page.
- Have the file measure itself. Add a few lines of script that compare each page block's scroll height with 1080 and write the result into an attribute on the root element. Hidden overflow cuts a long page silently, and a change of words can add a line.
- Set the page's title to the guide's title. Chrome writes it into the PDF as its title.
4. Export the PDF and the page images
Print the HTML with headless Chrome. This usually works:
- In the page's styles:
@page { size: 1080px 1080px; margin: 0 }, each page block withbreak-after: page, andprint-color-adjust: exacton the body so dark grounds print. - First
chrome --headless=new --virtual-time-budget=5000 --dump-dom page.htmland read the attribute your script wrote. Thenchrome --headless=new --no-pdf-header-footer --virtual-time-budget=5000 --print-to-pdf=out.pdf page.html. Give each run a fresh--user-data-dirand a time limit. The time budget lets the fonts load before the print.
Make three PDFs, one for each cover, with the same inside pages. Name each file as the headline should read, with the cover's letter at the end, such as 6 payables tests to run before your auditors do - A.pdf. A file name can't hold a colon or a slash: note the true headline in the copy sheet.
Measure the PDF. Don't trust the page you built.
pdfinfo: the page count is what you planned (a block one pixel too tall adds a blank page), every page is 810 points square, and the title is the guide's. With-urlit lists the links.pdffonts: the fonts inside are the brand's, embedded. A system font in the list means a font file did not load. A variable font comes out as "Type 3": still real text, and fine.pdftotext: the text comes out as text, page by page. Read it: it is your spelling check.
Make the page images from the PDF itself, so they prove what the file holds: pdftoppm -png -r 96 out.pdf page gives 1080 pixel pages. Use them for everything below.
5. Check the document
Look at every page at full size, then at 390 pixels wide, which is about what a phone shows.
- Each cover, alone and small, says what the reader gets and how many things are inside.
- The count on the cover matches the numbered pages inside. One point on each.
- With the logo covered, the middle pages are still worth saving.
- At 390 pixels wide every word reads, figures and footers included.
- Every fact points to a row of the sources sheet, with its qualifiers. Someone else's number names them and the year on the page.
- The product appears on the last page only, in the brand's own words.
- The last page gives one short address, and the link in the PDF opens that https page.
- The first three pages stand as a preview.
- Intro text 150 or fewer, headline 70 or fewer. Count them with a tool.
- The real logo and fonts, every word spelled right, no line ending on one short word.
- Nothing imitates the player or LinkedIn: no drawn buttons, reactions or "see more".
- No real person's face. No customer's name or logo unless the person asked for it.
Then have google/gemini-4-argon look, as someone in the buyer's job who has never heard of the brand. Give it one sheet of all the pages at 390 pixels each and one sheet of the three covers, and ask: what does the cover promise, does each page deliver one point, is anything unreadable or confusing, does it read as a useful guide or a sales brochure, would you save it, and which cover would you open? It costs three to six cents. Treat what it says as a lead, not a verdict. If the endpoint is down, do the look yourself and say on delivery that the outside check was skipped.
Fix what fails, print and measure again.
6. Deliver
- The three PDFs and the page images in one folder, and a zip of the folder.
asset_uploadtakes pictures, not PDFs or zips, so hand those over as files. Keep the HTML: a change of wording is then a one-minute rebuild. - One overview image: the three covers in a row with what each tests, then the inside pages in reading order. Upload it with
asset_uploadso there is a link to share. - A mockup in the feed, also uploaded. Build a feed page in HTML for a made-up professional network and place the document as it would run. iPhone 17 Pro frame. cover's page image at the full width of the card. Under it a strip with the headline and "Page 1 of 8", and the button if the campaign has one. Never LinkedIn's name or logo, never a real person or another company. Say it is a drawing.
- A page 402 pixels wide and 874 tall, rendered at a device scale of 3, inside a plain drawn
- The post: the brand's small mark and name with "Promoted" under it, the intro text, then the
- Draw nothing over the page itself: in a test, a counter drawn in a corner hid the logo.
- Maybe a second picture: the same post on page three, to show an inside page in place.
- Use the page images themselves, placed by code. Grey placeholder posts above and below.
- The copy, ready to paste into Campaign Manager: intro text, headline and an ad name for each of the three, with character counts, and the button and landing page if there is one.
- The sources sheet, with a table of pages against source ids, for the brand's reviewer.
- Set-up notes: the objective it was built for, how many pages to open in a preview (usually three), that a lead form takes PDF only, and what each cover tests.
- What it cost, from
spend_getwith the job's budget tag. - To confirm before it runs: numbers that may have aged since the article, anything of a third party's (figures, product names, menu paths), made-up examples, and licensed fonts.
- Offer more: the 4:5 version, a single image ad from the strongest page with
linkedin-image-ads, or a second document from the next best article.
Watch out for
- A brochure. If most pages are about the product, start again from a better source article.
- No invented statistics, quotes, customers, prices or awards. No fact without a row on the sheet.
- Advice that reads as legal, tax, medical or investment advice. Keep the article's own hedges, and put any wording the brand's site requires in the intro text.
- A number that belongs to one product or service is not proof for another.
- Too much on a page. If a page needs body type under 40 pixels, it is two pages.
- A blank last page, a fallback font, a page of another size, a wrong title: measure the PDF.