From ff1a05f6bd76abca51cc1afa27715f27109f8f69 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Fri, 17 Jul 2026 07:15:39 +0000 Subject: [PATCH] =?UTF-8?q?ads:=20surface=20the=20Mobile=20Banner=20(320?= =?UTF-8?q?=C3=9750)=20size=20on=20the=20Monetize=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the 320×50 mobile banner to the publisher size picker. It's already in the ad_slots.formats default and reads fine before , so this is just the allowlist entry — the toggle button, copyable embed, and one-click install all come from the shared plumbing. Co-Authored-By: Claude Opus 4.8 --- lib/ads/formats.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ads/formats.ts b/lib/ads/formats.ts index 391c896a..38593b4b 100644 --- a/lib/ads/formats.ts +++ b/lib/ads/formats.ts @@ -19,7 +19,11 @@ export const AD_FORMAT_IDS = AD_FORMATS.map((f) => f.id) as AdFormatId[]; // embed for and install. A subset of AD_FORMATS that grows as each size is // surfaced (one PR per size). Keep the medium rectangle first: it's the safe // default the auto-installer falls back to. -export const PUBLISHER_FORMAT_IDS: AdFormatId[] = ["banner_300x250", "banner_728x90"]; +export const PUBLISHER_FORMAT_IDS: AdFormatId[] = [ + "banner_300x250", + "banner_728x90", + "banner_320x50", +]; export function formatSpec(id: AdFormatId) { return AD_FORMATS.find((f) => f.id === id) ?? AD_FORMATS[0];