Pilot ad localization before automation

Map two language versions to one template and repair a missing-image row before expanding the batch.

Creative operations8 min read

Before automating a campaign, prove that one approved ad layout works in two languages. Start with the editable design, approved source copy, target placements, translations, and localized images. Produce two reviewed files manually, then use them to check your renderer's row-to-template mapping and failed-row handling. This pilot gives the person building the automation a concrete expected result.

Use a spreadsheet for the pilot if that is where your team already approves copy. A translation-management integration can come later; it does not fix a template that cannot fit the translated headline.

Choose a useful pilot set

Choose pilot strings that exercise the layout: a long headline, an unbreakable product name, multiple lines, and each script you intend to support. Test the actual translations. Character count alone does not tell you how much space a line needs; W3C's text-size guidance explains how width, word breaks, and line height change.

For a right-to-left locale, review the reading order separately from the artwork. Do not mirror the exported bitmap, logos, or product captures. Placement safe zones follow the destination's overlays and do not reverse merely because the copy is Arabic.

In HTML-based templates, use the language and text-direction settings supported by the renderer. W3C documents base direction and logical layout properties, and isolating mixed-direction text. Include a price, Latin brand name, and punctuation in the pilot so their ordering is actually reviewed.

Define the batch input

Give the person wiring the automation a concrete input table. For example, one row can represent one locale and placement:

  • variant_id: Example — spring_offer_de-DE_story; Purpose — Stable identifier for review and retry.
  • template_version: Example — offer-layout-v3; Purpose — Exact approved layout.
  • locale: Example — de-DE; Purpose — Language and regional variant.
  • placement: Example — story; Purpose — Selects the required dimensions and safe zones.
  • headline: Example — Approved German copy; Purpose — Text to render.
  • cta: Example — Approved German CTA; Purpose — Separate text field.
  • image: Example — Link or asset identifier; Purpose — Approved image for this variant.
  • destination: Example — Market landing-page URL; Purpose — Handoff destination.

Add the fields your creative actually uses, including an offer or disclosure when present. Do not hide market-specific text inside the template.

The batch should follow four steps: validate rows, render files, collect checks and review decisions, then copy approved outputs into the delivery pack. A failed row needs its identifier and a reason. Keep it out of that pack without losing the rest of the batch.

A missing-image locale branches into a repair loop while the other approved locale outputs remain untouched.

If a translation service is already in use, map its approved string keys to these fields. Preserve variables and product names through translation; reject a row with a missing required value instead of silently using English.

Run two rows through the mapping before requesting a full connector. Here is an illustrative square-ad pilot; replace the copy and images with your approved material:

Pilot fieldEnglish rowGerman row
variant_idbooking_en-GB_squarebooking_de-DE_square
localeen-GBde-DE
headlineFewer missed appointmentsWeniger verpasste Termine
ctaBook a demoDemo buchen
imagebooking-en.pngbooking-de.png

Both rows use booking-v1, a 1080 × 1080 pilot template. These dimensions are the example's chosen canvas, not a requirement for every square placement. Add the real market destination and approval status to each row. The filenames above identify images you supply; they are not downloadable assets.

In your editable design, name the two text layers headline and cta and the replaceable image layer product. Map spreadsheet headline to that headline layer, cta to the CTA layer, and image to product; map variant_id to the exported filename. locale tells the reviewer which language to check; it does not translate text by itself. Keep destination in the delivery manifest unless the design actually prints that URL.

You can execute this first pilot manually in your existing design editor: duplicate the approved canvas twice, name the copies with the row IDs, paste each row's text into its named layers, replace its image, and export each copy as PNG. Open both exports and compare the visible wording, image, and pixel dimensions with the two rows. Record approved, needs-copy-fix, or missing-image beside each row. This proves the mapping and fitting decisions; it is not an automated batch.

When those two outputs pass, wire the same mapping into your chosen renderer's CSV import or automation connector. Supply its actual template/layer identifiers, select only approved rows, and run just these two first. Compare the generated files with the manual pilot. If that renderer has no supported row import, keep this manual path or ask an engineer to implement the adapter; a spreadsheet alone cannot generate exports.

Set fitting rules for each script

Agree on fitting rules with the designer before bulk rendering. Specify permitted line counts, space around the text, and the smallest approved type size. Try additional lines or an approved shorter translation before reducing type. If none of the permitted layouts works, flag the variant for redesign.

Load fonts that cover the pilot's actual scripts and weights in the export environment. Ask for a rendered proof after fonts load, then have a language reviewer inspect accents, joined letters, punctuation, and line breaks. A font name in a configuration file does not show which glyphs reached the exported image.

Keep localized product captures as image inputs; do not ask the template or a translation model to redraw their interface. The screenshot localization guide covers preparing those inputs.

Check each rendered variant

Automate checks that return a useful failure reason:

  • Missing copy, image, destination, or translation approval.
  • An unexpected output count, file type, or pixel size.
  • Text exceeding its allowed box or crossing a protected logo, product, or safe-zone region.
  • An output filename that cannot be traced to its input row and template version.

Use the renderer's own text and geometry measurements where available. A browser overflow check can catch some clipped boxes; it cannot prove that letters shaped correctly or that the message reads naturally. Searching the text for a replacement character also does not detect every missing-glyph box.

Create a review sheet of the rendered variants, labelled by locale and placement. The language reviewer checks meaning and typography; the designer checks the complete composition. Inspect suspicious details at full resolution, since a small contact sheet can hide clipping.

Prove a failure before expanding the batch

Prove the pilot with one intentional failure: remove a required image or supply a headline that exceeds the approved layout. The batch should identify that variant, withhold its export from delivery, and allow a corrected retry.

For the two-row example, clear the German image field. The expected result is one approved English file and booking_de-DE_square: missing-image, with no German file in the delivery folder. During the manual pilot, record that error yourself and skip its export; the automated path must later produce that outcome without intervention. Restore the German image, select only that failed row, and export a new attempt into a review folder. After approval, copy it into delivery and attach its filename to that row. Check the English file's content or checksum is unchanged. If the tool can only rerun the entire batch, export into a separate folder and replace only the repaired German file after review.

Try the pilot with supplied files

Download the practice PDF and save its booking-localization.zip attachment using a desktop PDF viewer that supports attachments. The ZIP contains the two CSV rows, editable HTML layout, sample image inputs, a small Node.js/Playwright batch script and the exports below. The application and interface images are fictional. The example.com destinations are placeholders.

The English output shows “Fewer missed appointments” alongside the sample English booking screen.

The German output shows “Weniger verpasste Termine” alongside the sample German booking screen.

Open README.txt in the extracted folder and follow its install and run commands. The script renders both approved rows into an exports review folder, using the same 1080 × 1080 template. It checks required fields, image availability and whether the visible elements fit; a human still needs to check translation and design. These are files from this sample script, not exports from an advertising platform.

To reproduce the failure, first move the existing German export to a backup folder, then temporarily rename assets/booking-de.png. Run only booking_de-DE_square as described in the README. The script reports missing-image and leaves the English output untouched. Restore the image name, rerun that row and compare the new German output with the CSV. The script does not delete an old German export if you leave one in the review folder, so exclude that file from delivery until it is rechecked.

Then check that:

  • Every requested locale/placement row has either an approved file or a specific unresolved failure.
  • Files retain their row identifiers and template version in the asset manifest.
  • A corrected row can be regenerated without overwriting unrelated approved variants.
  • Changing shared copy or the template identifies all outputs that need review again.

Expand the batch only after the pilot produces a pack the publisher can match to the placement list. Keep upload or publication as a separate action so a successful render cannot release unreviewed translations.

Developer tools
All guides
Pilot ad localization before automation | Formatry Media — Formatry