Skip to content

Commit a0c1672

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

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
@@ -449,13 +449,13 @@ const BLOG = {
449449
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:
452-
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_IN_ARTICLE || '3806269138', // Google AdScene>广告>按单元广告>新建文章内嵌广告 粘贴html代码中的data-ad-slot值
452+
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_IN_ARTICLE || '2124169028', // Google AdScene>广告>按单元广告>新建文章内嵌广告 粘贴html代码中的data-ad-slot值
453453
ADSENSE_GOOGLE_SLOT_FLOW:
454-
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_FLOW || '1510444138', // Google AdScene>广告>按单元广告>新建信息流广告
454+
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_FLOW || '9244111142', // Google AdScene>广告>按单元广告>新建信息流广告
455455
ADSENSE_GOOGLE_SLOT_NATIVE:
456-
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_NATIVE || '4980048999', // Google AdScene>广告>按单元广告>新建原生广告
456+
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_NATIVE || '5430673421', // Google AdScene>广告>按单元广告>新建原生广告
457457
ADSENSE_GOOGLE_SLOT_AUTO:
458-
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_AUTO || '8807314373', // Google AdScene>广告>按单元广告>新建展示广告 (自动广告)
458+
process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_AUTO || '6219326702', // Google AdScene>广告>按单元广告>新建展示广告 (自动广告)
459459

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

0 commit comments

Comments
 (0)