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,59 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="1200" height="628" viewBox="0 0 1200 628">
<!--
App campaign image, landscape 1.91:1 (1200 x 628) — the orientation Google Ads asks for in
horizontal placements (Display, YouTube in-stream, the feed).
Same palette (#0D3D13 -> #1B5E20 -> #2E7D32) and the same icon motif as icon.svg and
feature-graphic.svg, copied verbatim, so the ad, the store listing and the launcher icon
cannot drift apart.
The screenshot is store-assets/screenshots/phone/03-results.png — the committed Play
screenshot of the *generated* demo library (17 groups, 83.5 MB reclaimable), never a real
library. It is anchored to the card's top edge (xMidYMin slice) so the summary card stays in
frame and the card bleeds off the bottom instead of ending in mid-air.
This file is a *source*, not an upload. Google Ads takes raster image assets (PNG or JPG) and
rejects SVG — the file to upload is the PNG this source renders to through the script below.
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="760" y="150" width="400" height="560" rx="26" />
</clipPath>
</defs>
<rect x="0" y="0" width="1200" height="628" fill="url(#bg)" />
<!-- Icon motif, centred on (165, 195) at ~170 px wide. scale 4.67 = 170 / 36.4, the motif's
own bbox width; translate(-49.8, -46.85) is that bbox's centre, as in feature-graphic.svg. -->
<g transform="translate(165,195) scale(4.67) 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="760" y="150" width="400" height="560" clip-path="url(#shot)"
preserveAspectRatio="xMidYMin slice"
xlink:href="../../store-assets/screenshots/phone/03-results.png" />
<text id="app-name" x="80" y="360" font-family="DejaVu Sans" font-weight="bold" font-size="62"
fill="#FFFFFF">Foto Dup Finder</text>
<text id="tagline-1" x="82" y="416" font-family="DejaVu Sans" font-size="31"
fill="#FFFFFF" fill-opacity="0.92">Find and remove duplicate photos</text>
<text id="tagline-2" x="82" y="460" font-family="DejaVu Sans" font-size="31"
fill="#FFFFFF" fill-opacity="0.92">No ads. No uploads. Fully offline.</text>
</svg>

After

Width:  |  Height:  |  Size: 3.0 KiB