[object Object]

← back to Stayclaim

AdSense: inject Auto-ads loader into root layout + add public/ads.txt (monetize pastdoor surfaces wholivedthere/claimmyaddress/bubbesblock — Steve-approved 2026-08-05, pub-5278231299883833)

3d9c885248d6e7afb83654da6a659d134ca36327 · 2026-08-05 07:30:06 -0700 · Steve Abrams

Files touched

Diff

commit 3d9c885248d6e7afb83654da6a659d134ca36327
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Aug 5 07:30:06 2026 -0700

    AdSense: inject Auto-ads loader into root layout + add public/ads.txt (monetize pastdoor surfaces wholivedthere/claimmyaddress/bubbesblock — Steve-approved 2026-08-05, pub-5278231299883833)
---
 public/ads.txt     | 1 +
 src/app/layout.tsx | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/public/ads.txt b/public/ads.txt
new file mode 100644
index 0000000..8f11fe6
--- /dev/null
+++ b/public/ads.txt
@@ -0,0 +1 @@
+google.com, pub-5278231299883833, DIRECT, f08c47fec0942fa0
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 66b6ef6..5dc96c0 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -90,6 +90,14 @@ export default async function RootLayout({ children }: { children: React.ReactNo
             </>
           );
         })()}
+        {/* Google AdSense (Auto ads) — monetizes the pastdoor surfaces
+            (wholivedthere / claimmyaddress / bubbesblock). Pub id is public;
+            ads.txt in /public authorizes the account. Approved 2026-08-05. */}
+        <script
+          async
+          src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833"
+          crossOrigin="anonymous"
+        ></script>
         <header className={`${chrome.headerBg} ${chrome.headerBorder} backdrop-blur sticky top-0 z-20`}>
           <div className="max-w-6xl mx-auto px-6 h-16 flex items-center justify-between gap-6">
             <Link href="/" aria-label={surface.brandName}>

← 8d62069 chore: macstudio3 migration — reconcile from mac2 + repoint  ·  back to Stayclaim  ·  add AdSense-compliant privacy policy (/privacy) + footer lin 6449ef3 →