Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/motemen/adsense-report-cli
Generate Google Adsense's report in your terminal
https://github.com/motemen/adsense-report-cli
Last synced: 3 months ago
JSON representation
Generate Google Adsense's report in your terminal
- Host: GitHub
- URL: https://github.com/motemen/adsense-report-cli
- Owner: motemen
- Created: 2014-07-06T13:44:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-17T04:05:38.000Z (almost 9 years ago)
- Last Synced: 2024-05-01T23:29:28.818Z (8 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 7
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
adsense-report-cli
==================Usage
-----adsense-report-cli [-force-auth] [-no-header] [-dimension=DIMENSION] [-metric=METRIC] [-from=DATE] [-to=DATE]
OPTIONS:
-dimension="DATE": report dimension
-force-auth=false: force authorization
-from="today-6d": date range, from
-metric="EARNINGS": report metric
-no-header=false: do not show header
-to="today": date range, toFor available values for `-metric` and `-dimension`, visit .
For available value formats of `-from` and `-to`, visit .
Installation
------------go get github.com/motemen/adsense-report-cli
Setup
-----Create a new project at with "AdSense Management API" enabled.
Then create a client ID for web application with redirect URI "http://127.0.0.1"
and download the credentials JSON under `~/.adsense-report-cli/client_secret.json`.