The dfareporting2d2
command-line interface (CLI) allows to use most features of the Google dfareporting 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 dfareporting 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-dfareporting2d2-cli
Find the source code on github.
Usage
This documentation was generated from the dfareporting API at revision 20160803. The CLI is at version 1.0.5.
```bash
dfareporting2d2 [options]
account-active-ad-summaries
get [-p ]... [-o ]
account-permission-groups
get [-p ]... [-o ]
list [-p ]... [-o ]
account-permissions
get [-p ]... [-o ]
list [-p ]... [-o ]
account-user-profiles
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
accounts
get [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
ads
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
advertiser-groups
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
advertisers
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
browsers
list [-p ]... [-o ]
campaign-creative-associations
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
campaigns
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
change-logs
get [-p ]... [-o ]
list [-p ]... [-o ]
cities
list [-p ]... [-o ]
connection-types
get [-p ]... [-o ]
list [-p ]... [-o ]
content-categories
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
countries
get [-p ]... [-o ]
list [-p ]... [-o ]
creative-assets
insert (-r )... (-u (simple|resumable) -f [-m ]) [-p ]... [-o ]
creative-field-values
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update (-r )... [-p ]... [-o ]
creative-fields
delete [-p ]...
get [-p ]... [-o ]
insert (-r )... [-p ]... [-o ]
list [-p ]... [-o ]
patch (-r )... [-p ]... [-o ]
update