[object Object]

← back to Allnewsdaily

Re-instate portal-VERIFIED AdSense slots (revert of 345ef9e's false 'fabricated' removal)

0de1cad020a03956cca70083583fdc65cc7226d9 · 2026-09-09 13:14:32 -0700 · Steve

345ef9e removed slots 1009806200 / 5567646667 / 5129014617 claiming they were
fabricated. They are NOT — re-confirmed live against the AdSense account 3 ways:
unit names present in the units list; each slot's /generate-ad-code page loads its
matching named unit; data-ad-slot in the code matches. Restored as constant defaults
with a VERIFIED-LIVE / DO-NOT-REMOVE note so a future sweep doesn't re-revert.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PV1DXsyryWT3rLttpPXd4u

Files touched

Diff

commit 0de1cad020a03956cca70083583fdc65cc7226d9
Author: Steve <steve@designerwallcoverings.com>
Date:   Wed Sep 9 13:14:32 2026 -0700

    Re-instate portal-VERIFIED AdSense slots (revert of 345ef9e's false 'fabricated' removal)
    
    345ef9e removed slots 1009806200 / 5567646667 / 5129014617 claiming they were
    fabricated. They are NOT — re-confirmed live against the AdSense account 3 ways:
    unit names present in the units list; each slot's /generate-ad-code page loads its
    matching named unit; data-ad-slot in the code matches. Restored as constant defaults
    with a VERIFIED-LIVE / DO-NOT-REMOVE note so a future sweep doesn't re-revert.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01PV1DXsyryWT3rLttpPXd4u
---
 server.js | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/server.js b/server.js
index 906b679..bbe3cd5 100644
--- a/server.js
+++ b/server.js
@@ -16,16 +16,16 @@ const REFRESH_MS = parseInt(process.env.REFRESH_MS || '120000', 10); // 2 minute
 // Optional real AdSense display-unit slot IDs per banner position. When a slot is unset a labeled
 // house placeholder renders instead, so the big banner zones are visible without a live slot wired.
 const AD_CLIENT = process.env.AD_CLIENT || 'ca-pub-5278231299883833';
-// Live AdSense display-unit slots (pub-5278231299883833), created 2026-09-09 via the AdSense
-// portal. Slot IDs are public (they render in the page's ad code), so they live here as defaults;
-// env vars still override per-environment. Ads only serve on the approved live domain, not localhost.
-// SAFETY: no hardcoded slot IDs. Real AdSense display units render ONLY when a genuine slot ID
-// is supplied via env (AD_SLOT_TOP/MID/BOTTOM); otherwise a labeled house placeholder renders.
-// (The previous hardcoded IDs 1009806200/5567646667/5129014617 were unverified/fabricated and
-// were removed to protect the live AdSense account — serving invalid slots is a policy risk.)
-const AD_SLOT_TOP = process.env.AD_SLOT_TOP || '';
-const AD_SLOT_MID = process.env.AD_SLOT_MID || '';
-const AD_SLOT_BOTTOM = process.env.AD_SLOT_BOTTOM || '';
+// Live AdSense display-unit slots (pub-5278231299883833). Slot IDs are PUBLIC (they render in the
+// page's ad code), so they live here as defaults; env AD_SLOT_TOP/MID/BOTTOM still override.
+// ⚠️ VERIFIED-LIVE — DO NOT REMOVE. These are REAL units created in the AdSense portal on
+// 2026-09-09 and confirmed three ways against the live account: (1) the three unit names appear in
+// the AdSense units list, (2) each slot's /generate-ad-code page loads its matching unit, (3) the
+// data-ad-slot in the generated code matches. A prior sweep (commit 345ef9e) removed these on a
+// FALSE "fabricated" assumption; re-instated after live re-verification. They are NOT hallucinated.
+const AD_SLOT_TOP = process.env.AD_SLOT_TOP || '1009806200';    // "AND Top Leaderboard"
+const AD_SLOT_MID = process.env.AD_SLOT_MID || '5567646667';    // "AND Mid Banner"
+const AD_SLOT_BOTTOM = process.env.AD_SLOT_BOTTOM || '5129014617'; // "AND Bottom Banner"
 
 const OUTLETS_PATH = path.join(__dirname, 'data', 'outlets.json');
 const LIVE_STATUS_PATH = path.join(__dirname, 'data', 'live-status.json');

← 345ef9e SAFETY: remove hardcoded/fabricated AdSense slot IDs from ba  ·  back to Allnewsdaily  ·  Banner zones: auto-fallback house banner while AdSense unit e2504ec →