Skip to content

[CHORE] 구글 애드센스 검증 스크립트 추가 - #483

Merged
coli-geonwoo merged 2 commits into
developfrom
chore/#482-google-adsense
Sep 28, 2026
Merged

coli-geonwoo merged 2 commits into
developfrom
chore/#482-google-adsense

Conversation

@coli-geonwoo

@coli-geonwoo coli-geonwoo commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

🚩 연관 이슈

closed #482

📝 작업 내용

  • Google AdSense 사이트 검증 및 광고 게재를 위해 index.html의 <head>에 adsbygoogle.js 스크립트(ca-pub-1875212521362490)를 추가했습니다.
  • 이 앱은 Vite SPA라 HTML 진입점이 index.html 하나뿐이므로 모든 라우트에 적용됩니다.
  • .storybook/preview-head.html은 개발용 문서라 광고 스크립트를 넣지 않았습니다.
  • 프로젝트에 CSP 설정이 없어 별도의 헤더 수정은 필요하지 않습니다.
  • AdSense 판매자 인증을 위해 public/ads.txt(google.com, pub-1875212521362490, DIRECT, f08c47fec0942fa0)를 추가했습니다. 빌드 시 /ads.txt 루트 경로로 서빙됩니다.
  • vite build 결과물 dist/index.html에 스크립트가 포함되는 것을 확인했습니다.

🗣️ 리뷰 요구사항 (선택)

🤖 Generated with Claude Code

https://claude.ai/code/session_01DBBEvy3VfNSHMQcopJvGhk

Summary by CodeRabbit

  • 새 기능
    • Google AdSense 광고 스크립트를 추가했습니다.

AdSense 사이트 검증 및 광고 게재를 위해 SPA 진입점인 index.html의
head에 adsbygoogle 스크립트를 추가한다. Storybook 미리보기에는 넣지 않는다.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DBBEvy3VfNSHMQcopJvGhk
@coli-geonwoo coli-geonwoo linked an issue Sep 14, 2026 that may be closed by this pull request
@coderabbitai

coderabbitai Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

Warning

Review limit reached

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 5519684a-b4de-4dce-9362-101be93d85ba

📥 Commits

Reviewing files that changed from the base of the PR and between e84a03b and 9f22402.

📒 Files selected for processing (1)
  • public/ads.txt

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 0cc92fd4-af10-4f38-b43b-89414a7de90b

📥 Commits

Reviewing files that changed from the base of the PR and between 30a7859 and e84a03b.

📒 Files selected for processing (1)
  • index.html

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


Walkthrough

index.html의 <head>에 Google AdSense 스크립트를 추가했습니다. 스크립트는 async와 crossorigin="anonymous" 속성을 사용합니다.

Changes

AdSense 스크립트 통합

Layer / File(s) Summary
스크립트 로드 설정
index.html
<head>에 Google AdSense의 adsbygoogle.js 스크립트를 추가했습니다. 스크립트는 async와 crossorigin="anonymous" 속성을 사용합니다.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to e84a0

The AdSense script change is narrowly scoped and presents no established merge-blocking risk.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Linked Issues check ✅ Passed 이 PR은 직접 연결된 이슈 #482의 Google AdSense 검증 링크 추가 요구를 구현합니다. index.html의 <head>에 publisher ID ca-pub-1875212521362490를 포함한 adsbygoogle.js 스크립트를 추가했습니다. Vite SPA 진입점을 통해 모든 애플리케이션 라우트에 적용되며, Storyb…
Out of Scope Changes check ✅ Passed 변경 사항은 index.html의 AdSense 스크립트 추가에 한정됩니다. 이 변경은 이슈 #482의 검증 링크 추가 목적과 직접 연결됩니다. CSP 변경이나 Storybook 미리보기 변경과 같은 관련 없는 변경은 포함되지 않습니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 제목은 index.html에 Google AdSense 검증 스크립트를 추가하는 주요 변경 사항을 정확하고 간결하게 설명합니다.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/#482-google-adsense

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

토끼가 광고 스크립트를 심었네
머리말 안에 조용히 놓았네
async로 빠르게 달리고
anonymous로 건너가며
타이머 곁에 새 길을 열었네

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

🚀 Preview 배포 완료!

환경 URL
Preview 열기
API Dev 환경

PR이 닫히면 자동으로 정리됩니다.

AdSense 광고 판매자 인증을 위해 루트 경로에서 서빙되도록
public/ads.txt를 추가한다.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DBBEvy3VfNSHMQcopJvGhk
@coli-geonwoo
coli-geonwoo merged commit 4ccb9d4 into develop Sep 28, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown

🧹 Preview 배포가 정리되었습니다.

This branch was successfully deployed

2 active deployments
PREVIEW_ENV — 9f224024 Deployed Sep 28, 2026 by coli-geonwoo via cleanup #37
DEPLOY_DEV — 9f224024 Deployed Sep 28, 2026 by coli-geonwoo via build-and-deploy #189
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.

[CHORE] 구글 애드센스 검증 링크 산입

3 participants