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
本例是從 8.0U3 升到 8.0U3d,若從更舊的版本升級,不確定是否適用 先把所有 VM 關機,進入維護模式 把 depot 升級檔 VMware-ESXi-8.0U3d-24585383-depot.zip 放到機器內 ssh ESXi 先查看 depot 有那些 Prof...
沒有留言:
張貼留言