Skip to content

fix(adsense): publish ads.txt and hide unfilled slot - #39

Merged
gbzarelli merged 1 commit into
mainfrom
gz/adsense-ads-txt-unfilled
Oct 28, 2026
Merged

gbzarelli merged 1 commit into
mainfrom
gz/adsense-ads-txt-unfilled

Conversation

@gbzarelli

Copy link
Copy Markdown
Member

Summary

  • Publish the Google seller declaration at /ads.txt for pub-4334384724173584.
  • Hide the full footer ad container when AdSense marks the slot unfilled, avoiding an empty bordered box.

Validation

  • NEXT_PUBLIC_ADSENSE_CLIENT_ID=ca-pub-4334384724173584 NEXT_PUBLIC_ADSENSE_SLOT_ID=8535614411 npm run build
  • git diff --check
  • Playwright: the live slot returned data-ad-status="unfilled" while its container remained visible before the change; the local production export removed the container after the same status.
  • Confirmed out/ads.txt contains the exact seller declaration.

AdSense still shows the site as Requires review and asks for payment details. This PR fixes the missing ads.txt and blank placeholder; it cannot approve the AdSense account or site.

@gbzarelli
gbzarelli merged commit 2134159 into main Oct 28, 2026
1 check passed

This branch was successfully deployed

1 active deployment
deploy — 0b03d270 Deployed Oct 28, 2026 by gbzarelli via build #91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant