Skip to content

Commit 895943d

Browse files
committed
add Google Adsense
1 parent e83ea7a commit 895943d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ const BLOG = {
446446
// START---->营收相关
447447

448448
// 谷歌广告
449-
ADSENSE_GOOGLE_ID: process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_ID || '', // 谷歌广告ID e.g ca-pub-xxxxxxxxxxxxxxxx
449+
ADSENSE_GOOGLE_ID: process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_ID || 'ca-pub-8337601681919371', // 谷歌广告ID e.g ca-pub-xxxxxxxxxxxxxxxx
450450
ADSENSE_GOOGLE_TEST: process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_TEST || false, // 谷歌广告ID测试模式,这种模式获取假的测试广告,用于开发 https://www.tangly1024.com/article/local-dev-google-adsense
451451
ADSENSE_GOOGLE_SLOT_IN_ARTICLE:
452452
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_IN_ARTICLE || '3806269138', // Google AdScene>广告>按单元广告>新建文章内嵌广告 粘贴html代码中的data-ad-slot值

0 commit comments

Comments
 (0)