The analyticsadmin1-alpha
command-line interface (CLI) allows to use most features of the Google Google Analytics Admin service from the comfort of your terminal.
By default all output is printed to standard out, but flags can be set to direct it into a file independent of your shell's
capabilities. Errors will be printed to standard error, and cause the program's exit code to be non-zero.
If data-structures are requested, these will be returned as pretty-printed JSON, to be useful as input to other tools.
Everything else about the Google Analytics Admin API can be found at the
official documentation site.
Installation and Source Code
Install the command-line interface with cargo using:
bash
cargo install google-analyticsadmin1_alpha-cli
Find the source code on github.
Usage
This documentation was generated from the Google Analytics Admin API at revision 20220307. The CLI is at version 3.1.0.
```bash
analyticsadmin1-alpha [options]
account-summaries
list [-p ]... [-o ]
accounts
delete [-p ]... [-o ]
get [-p ]... [-o ]
get-data-sharing-settings [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
provision-account-ticket (-r )... [-p ]... [-o ]
search-change-history-events (-r )... [-p ]... [-o ]
user-links-audit (-r )... [-p ]... [-o ]
user-links-batch-create (-r )... [-p ]... [-o ]
user-links-batch-delete (-r )... [-p ]... [-o ]
user-links-batch-get [-p ]... [-o ]
user-links-batch-update (-r )... [-p ]... [-o ]
user-links-create (-r )... [-p ]... [-o ]
user-links-delete [-p ]... [-o ]
user-links-get [-p ]... [-o ]
user-links-list [-p ]... [-o ]
user-links-patch (-r )... [-p ]... [-o ]
properties
acknowledge-user-data-collection (-r )... [-p ]... [-o ]
conversion-events-create (-r )... [-p ]... [-o ]
conversion-events-delete [-p ]... [-o ]
conversion-events-get [-p ]... [-o ]
conversion-events-list [-p ]... [-o ]
create (-r )... [-p ]... [-o ]
custom-dimensions-archive (-r )... [-p ]... [-o ]
custom-dimensions-create (-r )... [-p ]... [-o ]
custom-dimensions-get [-p ]... [-o ]
custom-dimensions-list [-p ]... [-o ]
custom-dimensions-patch (-r )... [-p ]... [-o ]
custom-metrics-archive (-r )... [-p ]... [-o ]
custom-metrics-create (-r )... [-p ]... [-o ]
custom-metrics-get [-p ]... [-o ]
custom-metrics-list [-p ]... [-o ]
custom-metrics-patch (-r )... [-p ]... [-o ]
data-streams-create (-r )... [-p ]... [-o ]
data-streams-delete [-p ]... [-o ]
data-streams-get [-p ]... [-o ]
data-streams-get-global-site-tag [-p ]... [-o ]
data-streams-list [-p ]... [-o ]
data-streams-measurement-protocol-secrets-create (-r )... [-p ]... [-o ]
data-streams-measurement-protocol-secrets-delete [-p ]... [-o ]
data-streams-measurement-protocol-secrets-get [-p ]... [-o ]
data-streams-measurement-protocol-secrets-list [-p ]... [-o ]
data-streams-measurement-protocol-secrets-patch (-r )... [-p ]... [-o ]
data-streams-patch (-r )... [-p ]... [-o ]
delete [-p ]... [-o ]
display-video360-advertiser-link-proposals-approve (-r )... [-p ]... [-o ]
display-video360-advertiser-link-proposals-cancel (-r )... [-p ]... [-o ]
display-video360-advertiser-link-proposals-create (-r )... [-p ]... [-o ]
display-video360-advertiser-link-proposals-delete [-p ]... [-o ]
display-video360-advertiser-link-proposals-get [-p ]... [-o ]
display-video360-advertiser-link-proposals-list [-p ]... [-o ]
display-video360-advertiser-links-create (-r )... [-p ]... [-o ]
display-video360-advertiser-links-delete [-p ]... [-o ]
display-video360-advertiser-links-get [-p ]... [-o ]
display-video360-advertiser-links-list [-p ]... [-o ]
display-video360-advertiser-links-patch (-r )... [-p ]... [-o ]
firebase-links-create (-r )... [-p ]... [-o ]
firebase-links-delete [-p ]... [-o ]
firebase-links-list [-p ]... [-o ]
get [-p ]... [-o ]
get-data-retention-settings [-p ]... [-o ]
get-google-signals-settings [-p ]... [-o ]
google-ads-links-create (-r )... [-p ]... [-o ]
google-ads-links-delete [-p ]... [-o ]
google-ads-links-list [-p ]... [-o ]
google-ads-links-patch (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update-data-retention-settings (-r )... [-p ]... [-o ]
update-google-signals-settings (-r )... [-p ]... [-o ]
user-links-audit (-r )... [-p ]... [-o ]
user-links-batch-create (-r )... [-p ]... [-o ]
user-links-batch-delete (-r )... [-p ]... [-o ]
user-links-batch-get