feat: give Google Ads the App campaign layer, costed against what a sale pays

docs/AD_COPY.md is the new home for the ad copy: five headlines (30 characters) and five
descriptions (90 each), five spares of each for rotation, and the rule that decides the wording —
the app is paid, so "free" cannot appear, and the creatives therefore say "No ads. No uploads.
Fully offline." rather than "Ad-free". The doc checks itself: a python block reads its own tables
and asserts each count and cap, verified against a deliberately over-length row (31 characters with
a stale count) before it was trusted.

It also records the arithmetic the campaign has to clear, because the Console hides it: the price
entered there is *net* and the buyer is charged VAT on top. The live listing reads EUR 3.59 with the
sale at EUR 1.79 — 2.99 x 1.20 and 1.49 x 1.20, the 20% column — where the documents had predicted
only the German 19% figures of 3.56 and 1.77. STORE_LISTING now separates the two numbers, says
which one the strikethrough shows (the gross one, not the EUR 2.99 typed in), and quantifies making
EUR 2.99 the sticker: the tax comes out of the developer's share, so EUR 2.54 a sale becomes
EUR 2.14. PLAY_RELEASE_CHECKLIST carries the correction at the step that enters the price.

For a paid app the install *is* the purchase, so the ceiling is the net per sale — EUR 2.54 at base,
EUR 1.27 during the launch sale — and a target of EUR 0.16 is not a target but a delivery stop: it
implies a 16x return on ad spend that no auction clears. The doc recommends Maximise conversions
first, a EUR 5/day budget sized by what a wrong answer costs, an in-market or custom-segment
audience only if one is wanted at all, and stop/scale rules for the week after. HTML5 last, text,
images and video first — Google's own guidance, quoted.

tools/make-store-assets.sh now renders that image set — 1200x628, 1200x1200, 320x480 — from three
new SVG sources that reuse the icon motif and gradient of icon.svg and feature-graphic.svg verbatim
and embed the committed 03-results screenshot. Two of its checks exist because the first versions
were wrong: comparing the finished PNG with the requested size can never fail, since
--export-width forces it, so the check moved to the *declared* canvas (a sandbox edit to 1200x600
now fails loudly), and --export-area-page is pinned because the cards bleed — the drawing bbox is
1200x710, which an older Inkscape would have squashed into the page. -strip drops the tIME Inkscape
stamps on every render, so two consecutive runs are byte-identical and a rebuild leaves no fake diff
(measured: 0 differing pixels with and without it).

The SVGs are sources, not uploads — Google Ads rejects SVG — so each says so in its header and the
script prints which PNGs to upload. store-assets/app-campaign/ holds those: 8-bit RGB, no alpha.

README points at both the new doc and the new output. No CHANGELOG entry: none of this is an app
change.
This commit is contained in:
2026-10-15 18:01:55 +02:00
parent 64431d5757
commit 7b92da4f8b
11 changed files with 641 additions and 16 deletions
@@ -0,0 +1,53 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="320" height="480" viewBox="0 0 320 480">
<!--
App campaign image, portrait 2:3 (320 x 480) — the orientation Google Ads asks for in vertical
placements (YouTube Shorts, in-app interstitials).
Google's size for this one is small on purpose, so the composition is different rather than a
scaled copy: identity in the top third at a size that survives a thumbnail, then the committed
demo-library screenshot below it. Text inside the screenshot is texture at this size, which is
why the creative carries its own wording.
Same palette and icon motif as app-campaign-landscape.svg / app-campaign-square.svg.
This file is a *source*, not an upload: Google Ads takes PNG/JPG, so the file to upload is
store-assets/app-campaign/portrait-320x480.png, which this source renders to.
Edit this file, then: ./tools/make-store-assets.sh
-->
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#0D3D13" />
<stop offset="0.55" stop-color="#1B5E20" />
<stop offset="1" stop-color="#2E7D32" />
</linearGradient>
<clipPath id="shot">
<rect x="28" y="200" width="264" height="310" rx="20" />
</clipPath>
</defs>
<rect x="0" y="0" width="320" height="480" fill="url(#bg)" />
<!-- Icon motif, centred on (160, 66) at ~80 px wide (scale 2.2 = 80 / 36.4). -->
<g transform="translate(160,66) scale(2.2) translate(-49.8,-46.85)">
<g transform="translate(30,22) scale(1.9)">
<path d="M4,5 h16 a1,1 0 0 1 1,1 v12 a1,1 0 0 1 -1,1 h-16 a1,1 0 0 1 -1,-1 v-12 a1,1 0 0 1 1,-1 z"
fill="#FFFFFF" fill-opacity="0.45" />
</g>
<g transform="translate(24,28) scale(1.9)">
<path d="M4,5 h16 a1,1 0 0 1 1,1 v12 a1,1 0 0 1 -1,1 h-16 a1,1 0 0 1 -1,-1 v-12 a1,1 0 0 1 1,-1 z"
fill="none" stroke="#FFFFFF" stroke-width="1.6" />
<path d="M7.5,9 m-1.4,0 a1.4,1.4 0 1 0 2.8,0 a1.4,1.4 0 1 0 -2.8,0" fill="#FFFFFF" />
<path d="M4,17 l4,-5 l3,3.5 l3.5,-4.5 l5.5,6 z" fill="#FFFFFF" />
</g>
</g>
<image id="shot-image" x="28" y="200" width="264" height="310" clip-path="url(#shot)"
preserveAspectRatio="xMidYMin slice"
xlink:href="../../store-assets/screenshots/phone/03-results.png" />
<text id="app-name" x="160" y="142" text-anchor="middle" font-family="DejaVu Sans" font-weight="bold"
font-size="28" fill="#FFFFFF">Foto Dup Finder</text>
<text id="tagline-1" x="160" y="172" text-anchor="middle" font-family="DejaVu Sans" font-size="15"
fill="#FFFFFF" fill-opacity="0.92">Find duplicate photos</text>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB