diff --git a/scripts/build-pages.sh b/scripts/build-pages.sh index afbda2b..0f33546 100755 --- a/scripts/build-pages.sh +++ b/scripts/build-pages.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Cloudflare Pages 배포본(dist/) 조립: PWA + 개인정보처리방침 + 초대 링크 안내 페이지 + 앱 링크 검증 파일. +# Cloudflare Pages 배포본(dist/) 조립: PWA + 개인정보처리방침 + 초대 링크 안내 페이지 + 앱 링크 검증 파일 + app-ads.txt. # scripts/build-pages.sh && npx wrangler pages deploy dist --project-name tetrig --branch main set -euo pipefail ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" @@ -10,5 +10,6 @@ cp index.html sw.js manifest.webmanifest icon-192.png icon-512.png apple-touch-i cp store/privacy.html dist/privacy.html cp store/room.html dist/r/index.html cp store/_redirects dist/_redirects +cp store/app-ads.txt dist/app-ads.txt cp .well-known/assetlinks.json dist/.well-known/assetlinks.json echo "dist/ 준비 완료" diff --git a/store/app-ads.txt b/store/app-ads.txt new file mode 100644 index 0000000..2692e31 --- /dev/null +++ b/store/app-ads.txt @@ -0,0 +1 @@ +google.com, pub-5620940055268952, DIRECT, f08c47fec0942fa0 diff --git a/store/listing.md b/store/listing.md index 5e00582..054035e 100644 --- a/store/listing.md +++ b/store/listing.md @@ -107,7 +107,7 @@ TETRIG은 개인이 만든 앱입니다. Tetris Holding LLC 및 관련 회사와 - 보상형(사용자가 고를 때만): 30분 전면 끄기 · TIME ATTACK 이어하기(1판 1회, 기록 미반영) · 리소 스킨/흑연 보드 해금. - 광고 제거·서포터 팩 구매자는 배너·결과·전면이 모두 꺼지고 보상형만 선택지로 남는다. - 미디에이션: AppLovin·Pangle 어댑터 포함. AdMob 콘솔 > 미디에이션에서 그룹을 만들어야 입찰에 들어온다. -- `app-ads.txt`: AdMob 한 줄 + AppLovin·Pangle 이 주는 줄을 개발자 웹사이트 루트에 올린다. +- `app-ads.txt`: `store/app-ads.txt` → https://tetrig.pages.dev/app-ads.txt (`scripts/build-pages.sh` 가 복사). 현재 AdMob 한 줄. AppLovin·Pangle 계정을 만들면 그쪽이 주는 줄을 추가한다. Play 등록정보의 웹사이트는 `https://tetrig.pages.dev` 로 둔다. ## 인앱 상품 (Play Console > 수익 창출 > 인앱 상품)