[object Object]

← back to Philipperomano

TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to remove ads)

a99dece5335731e9eeed26826f59a5d20eb81925 · 2026-09-09 16:02:15 -0700 · Steve

Files touched

Diff

commit a99dece5335731e9eeed26826f59a5d20eb81925
Author: Steve <steve@designerwallcoverings.com>
Date:   Wed Sep 9 16:02:15 2026 -0700

    TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to remove ads)
---
 server.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/server.js b/server.js
index 403d926..9b54ddf 100644
--- a/server.js
+++ b/server.js
@@ -24,6 +24,7 @@ const DW_PHONE_TEL = '+18883734564';
 const PR_EMAIL = 'info@philipperomano.com';
 
 const app = express();
+app.get('/ads.txt', (req, res) => res.type('text/plain').send('google.com, pub-5278231299883833, DIRECT, f08c47fec0942fa0'));
 
 // Minimal security headers (no helmet dep — keep this storefront tiny).
 // Customer-facing storefront → at minimum: clickjacking guard, MIME-sniff
@@ -431,6 +432,7 @@ const PR_DESC = 'Phillipe Romano commercial wallcoverings, naturals, and fabrics
 const layout = (title, body, { q='', type='', cat='', canonical='', ogImage='', ogTitle='', ogDesc='' } = {}) => `<!doctype html>
 <html lang="en">
 <head>
+    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width,initial-scale=1">
 <!-- Google tag (gtag.js) — GA4 G-8WGHZ5FTV0 -->
@@ -589,6 +591,7 @@ ${canonical ? `<meta property="og:url" content="${esc(canonical)}">\n` : ''}${og
 })();
 </script>
 <header class="top">
+    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
   <a href="/" class="brand">Phillipe Romano<small>A Designer Wallcoverings Exclusive</small></a>
 </header>
 <nav class="types">

← 8dbe850 TK-11304: PDP shows bold 'Type II Commercial Wallcovering' l  ·  back to Philipperomano  ·  Keep one AdSense loader in inline page templates de5ffba →