Skip to content

Commit

Permalink
[update] Adsenseについて追記
Browse files Browse the repository at this point in the history
  • Loading branch information
shibe97 committed Sep 12, 2023
1 parent 8522f4e commit 8a740bf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,11 @@ Google Analytics や Google Cloud Platform などの各設定が完了しない
schedule:
- cron: '0 0 * * *'
```
## Google Adsense について
本テンプレートでは Google Adsense にも対応しています。
(広告掲載には審査が必要です。デフォルトでは該当コードをコメントアウトしてあります。)
オンにしたい場合は`app/layout.tsx`内のスクリプト読み込み部分と、`app/_components/Ad/index.tsx`内のコメントアウトを解除してください。
その際には、`data-ad-client`などの値は Adsense から取得してきた値に適宜変更してください。

0 comments on commit 8a740bf

Please sign in to comment.