创建 Google Analytics Reporting API 可以用于回传/统计 Adsense 效果
文章中不明朗之后可以在本帖中提问。
登陆 Google API 后台
https://console.developers.google.com/apis
新建一个工程
创建一个 Service Account
填写信息
直接继续
创建 Key
选择类型为 Json,保存自动下载的文件
保存自动下载的文件
完成创建
添加好之后,访问
https://console.developers.google.com/apis/library/analyticsreporting.googleapis.com
为用户添加 API权限
激活成功:
复制生成的 Email
adsense@xxxxxx.iam.gserviceaccount.com
登陆分析后台
弹出界面中,点击 User Management
弹出的界面中
添加新用户
然后在 Adsense 插件中配置即可。