Adsense API v1.4 只能用到 2021-10-12,需要 migrate 到 v2 版本
以下是用 PHP
需先安裝 google-api-php-client library
composer require google/apiclient:^2.11
再使用以下 Code,把 $account 設自己的帳號就行了,
不過 metrics TOTAL_EARNINGS 似乎有問題,都會取到 0
Adsense API v1.4 只能用到 2021-10-12,需要 migrate 到 v2 版本
以下是用 PHP
需先安裝 google-api-php-client library
composer require google/apiclient:^2.11
再使用以下 Code,把 $account 設自己的帳號就行了,
不過 metrics TOTAL_EARNINGS 似乎有問題,都會取到 0
https://github.com/winfsp/winfsp https://github.com/winfsp/sshfs-win 要先安裝這兩個工具 一般用帳密掛載,預設是掛載使用者的 home 目錄 net use Z: \\sshfs\username@host 使用...
沒有留言:
張貼留言