[object Object]

← back to NationalPaperHangers

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

15f17c0245d7a94ec8764013c8a52ad6af46bfc1 · 2026-09-09 16:02:14 -0700 · Steve

Files touched

Diff

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

    TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to remove ads)
---
 public/ads.txt          | 1 +
 views/partials/head.ejs | 1 +
 2 files changed, 2 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/views/partials/head.ejs b/views/partials/head.ejs
index f459170..ade90e0 100644
--- a/views/partials/head.ejs
+++ b/views/partials/head.ejs
@@ -1,6 +1,7 @@
 <!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">
   <title><%= typeof title !== 'undefined' ? title : 'National Paper Hangers' %></title>

← b672493 chore: add TK-10428 nph measure-fix deploy scripts (HTTP-01  ·  back to NationalPaperHangers  ·  Allow AdSense through public CSP adc428e →