Skip to content

Commit 913780d

Browse files
committed
add Google Adsense
1 parent 4ddc154 commit 913780d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

blog.config.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -450,13 +450,13 @@ const BLOG = {
450450
ADSENSE_GOOGLE_ID: process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_ID || 'ca-pub-8337601681919371', // 谷歌广告ID e.g ca-pub-xxxxxxxxxxxxxxxx
451451
ADSENSE_GOOGLE_TEST: process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_TEST || false, // 谷歌广告ID测试模式,这种模式获取假的测试广告,用于开发 https://www.tangly1024.com/article/local-dev-google-adsense
452452
ADSENSE_GOOGLE_SLOT_IN_ARTICLE:
453-
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_IN_ARTICLE || '3806269138', // Google AdScene>广告>按单元广告>新建文章内嵌广告 粘贴html代码中的data-ad-slot值
453+
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_IN_ARTICLE || '2124169028', // Google AdScene>广告>按单元广告>新建文章内嵌广告 粘贴html代码中的data-ad-slot值
454454
ADSENSE_GOOGLE_SLOT_FLOW:
455-
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_FLOW || '1510444138', // Google AdScene>广告>按单元广告>新建信息流广告
455+
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_FLOW || '9244111142', // Google AdScene>广告>按单元广告>新建信息流广告
456456
ADSENSE_GOOGLE_SLOT_NATIVE:
457-
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_NATIVE || '4980048999', // Google AdScene>广告>按单元广告>新建原生广告
457+
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_NATIVE || '5430673421', // Google AdScene>广告>按单元广告>新建原生广告
458458
ADSENSE_GOOGLE_SLOT_AUTO:
459-
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_AUTO || '8807314373', // Google AdScene>广告>按单元广告>新建展示广告 (自动广告)
459+
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_AUTO || '6219326702', // Google AdScene>广告>按单元广告>新建展示广告 (自动广告)
460460

461461
// 万维广告
462462
AD_WWADS_ID: process.env.NEXT_PUBLIC_WWAD_ID || null, // https://wwads.cn/ 创建您的万维广告单元ID

0 commit comments

Comments
 (0)