mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
remove changes to gen
This commit is contained in:
42
gen/dfareporting3d4-cli/Cargo.toml
Normal file
42
gen/dfareporting3d4-cli/Cargo.toml
Normal file
@@ -0,0 +1,42 @@
|
||||
# DO NOT EDIT !
|
||||
# This file was generated automatically from 'src/generator/templates/Cargo.toml.mako'
|
||||
# DO NOT EDIT !
|
||||
[package]
|
||||
|
||||
name = "google-dfareporting3d4-cli"
|
||||
version = "5.0.4+20230118"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with Dfareporting (protocol v3.4)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d4-cli"
|
||||
homepage = "https://developers.google.com/doubleclick-advertisers/"
|
||||
documentation = "http://byron.github.io/google-apis-rs/google_dfareporting3d4_cli"
|
||||
license = "MIT"
|
||||
keywords = ["dfareporting", "google", "cli"]
|
||||
autobins = false
|
||||
edition = "2018"
|
||||
|
||||
[[bin]]
|
||||
name = "dfareporting3d4"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "^ 1.0"
|
||||
hyper-rustls = "0.24.0"
|
||||
mime = "^ 0.3.0"
|
||||
serde = { version = "^ 1.0", features = ["derive"] }
|
||||
serde_json = "^ 1.0"
|
||||
itertools = "^ 0.10"
|
||||
google-clis-common = { path = "../../google-clis-common", version = "6.0" }
|
||||
strsim = "^0.5"
|
||||
clap = "^2.0"
|
||||
http = "^0.2"
|
||||
hyper = { version = "0.14", features = ["full"] }
|
||||
tokio = { version = "^ 1.0", features = ["full"] }
|
||||
tower-service = "^0.3.1"
|
||||
|
||||
|
||||
|
||||
[dependencies.google-dfareporting3d4]
|
||||
path = "../dfareporting3d4"
|
||||
version = "5.0.4+20230118"
|
||||
|
||||
30
gen/dfareporting3d4-cli/LICENSE.md
Normal file
30
gen/dfareporting3d4-cli/LICENSE.md
Normal file
@@ -0,0 +1,30 @@
|
||||
<!---
|
||||
DO NOT EDIT !
|
||||
This file was generated automatically from 'src/generator/templates/LICENSE.md.mako'
|
||||
DO NOT EDIT !
|
||||
-->
|
||||
The MIT License (MIT)
|
||||
=====================
|
||||
|
||||
Copyright © `2015-2020` `Sebastian Thiel`
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the “Software”), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
369
gen/dfareporting3d4-cli/README.md
Normal file
369
gen/dfareporting3d4-cli/README.md
Normal file
@@ -0,0 +1,369 @@
|
||||
<!---
|
||||
DO NOT EDIT !
|
||||
This file was generated automatically from 'src/generator/templates/cli/README.md.mako'
|
||||
DO NOT EDIT !
|
||||
-->
|
||||
The `dfareporting3d4` 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](https://developers.google.com/doubleclick-advertisers/).
|
||||
|
||||
# Installation and Source Code
|
||||
|
||||
Install the command-line interface with cargo using:
|
||||
|
||||
```bash
|
||||
cargo install google-dfareporting3d4-cli
|
||||
```
|
||||
|
||||
Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d4-cli).
|
||||
|
||||
# Usage
|
||||
|
||||
This documentation was generated from the *Dfareporting* API at revision *20230118*. The CLI is at version *5.0.4*.
|
||||
|
||||
```bash
|
||||
dfareporting3d4 [options]
|
||||
account-active-ad-summaries
|
||||
get <profile-id> <summary-account-id> [-p <v>]... [-o <out>]
|
||||
account-permission-groups
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
account-permissions
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
account-user-profiles
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
accounts
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
ads
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
advertiser-groups
|
||||
delete <profile-id> <id> [-p <v>]...
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
advertiser-landing-pages
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
advertisers
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
browsers
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
campaign-creative-associations
|
||||
insert <profile-id> <campaign-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> <campaign-id> [-p <v>]... [-o <out>]
|
||||
campaigns
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
change-logs
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
cities
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
connection-types
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
content-categories
|
||||
delete <profile-id> <id> [-p <v>]...
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
conversions
|
||||
batchinsert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
batchupdate <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
countries
|
||||
get <profile-id> <dart-id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
creative-assets
|
||||
insert <profile-id> <advertiser-id> (-r <kv>)... (-u simple -f <file> [-m <mime>]) [-p <v>]... [-o <out>]
|
||||
creative-field-values
|
||||
delete <profile-id> <creative-field-id> <id> [-p <v>]...
|
||||
get <profile-id> <creative-field-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> <creative-field-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> <creative-field-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <creative-field-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> <creative-field-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
creative-fields
|
||||
delete <profile-id> <id> [-p <v>]...
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
creative-groups
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
creatives
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
custom-events
|
||||
batchinsert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
dimension-values
|
||||
query <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
directory-sites
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
dynamic-targeting-keys
|
||||
delete <profile-id> <object-id> <name> <object-type> [-p <v>]...
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
event-tags
|
||||
delete <profile-id> <id> [-p <v>]...
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
files
|
||||
get <report-id> <file-id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
floodlight-activities
|
||||
delete <profile-id> <id> [-p <v>]...
|
||||
generatetag <profile-id> [-p <v>]... [-o <out>]
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
floodlight-activity-groups
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
floodlight-configurations
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
inventory-items
|
||||
get <profile-id> <project-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> <project-id> [-p <v>]... [-o <out>]
|
||||
languages
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
metros
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
mobile-apps
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
mobile-carriers
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
operating-system-versions
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
operating-systems
|
||||
get <profile-id> <dart-id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
order-documents
|
||||
get <profile-id> <project-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> <project-id> [-p <v>]... [-o <out>]
|
||||
orders
|
||||
get <profile-id> <project-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> <project-id> [-p <v>]... [-o <out>]
|
||||
placement-groups
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
placement-strategies
|
||||
delete <profile-id> <id> [-p <v>]...
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
placements
|
||||
generatetags <profile-id> [-p <v>]... [-o <out>]
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
platform-types
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
postal-codes
|
||||
get <profile-id> <code> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
projects
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
regions
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
remarketing-list-shares
|
||||
get <profile-id> <remarketing-list-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
remarketing-lists
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> <advertiser-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
reports
|
||||
compatible-fields-query <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
delete <profile-id> <report-id> [-p <v>]...
|
||||
files-get <profile-id> <report-id> <file-id> [-p <v>]... [-o <out>]
|
||||
files-list <profile-id> <report-id> [-p <v>]... [-o <out>]
|
||||
get <profile-id> <report-id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <report-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
run <profile-id> <report-id> [-p <v>]... [-o <out>]
|
||||
update <profile-id> <report-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sites
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sizes
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
subaccounts
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
targetable-remarketing-lists
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> <advertiser-id> [-p <v>]... [-o <out>]
|
||||
targeting-templates
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
user-profiles
|
||||
get <profile-id> [-p <v>]... [-o <out>]
|
||||
list [-p <v>]... [-o <out>]
|
||||
user-role-permission-groups
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
user-role-permissions
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
user-roles
|
||||
delete <profile-id> <id> [-p <v>]...
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
insert <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
patch <profile-id> <id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update <profile-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
video-formats
|
||||
get <profile-id> <id> [-p <v>]... [-o <out>]
|
||||
list <profile-id> [-p <v>]... [-o <out>]
|
||||
dfareporting3d4 --help
|
||||
|
||||
Configuration:
|
||||
[--scope <url>]...
|
||||
Specify the authentication a method should be executed in. Each scope
|
||||
requires the user to grant this application permission to use it.
|
||||
If unset, it defaults to the shortest scope url for a particular method.
|
||||
--config-dir <folder>
|
||||
A directory into which we will store our persistent data. Defaults to
|
||||
a user-writable directory that we will create during the first invocation.
|
||||
[default: ~/.google-service-cli]
|
||||
|
||||
```
|
||||
|
||||
# Configuration
|
||||
|
||||
The program will store all persistent data in the `~/.google-service-cli` directory in *JSON* files prefixed with `dfareporting3d4-`. You can change the directory used to store configuration with the `--config-dir` flag on a per-invocation basis.
|
||||
|
||||
More information about the various kinds of persistent data are given in the following paragraphs.
|
||||
|
||||
# Authentication
|
||||
|
||||
Most APIs require a user to authenticate any request. If this is the case, the [scope][scopes] determines the
|
||||
set of permissions granted. The granularity of these is usually no more than *read-only* or *full-access*.
|
||||
|
||||
If not set, the system will automatically select the smallest feasible scope, e.g. when invoking a
|
||||
method that is read-only, it will ask only for a read-only scope.
|
||||
You may use the `--scope` flag to specify a scope directly.
|
||||
All applicable scopes are documented in the respective method's CLI documentation.
|
||||
|
||||
The first time a scope is used, the user is asked for permission. Follow the instructions given
|
||||
by the CLI to grant permissions, or to decline.
|
||||
|
||||
If a scope was authenticated by the user, the respective information will be stored as *JSON* in the configuration
|
||||
directory, e.g. `~/.google-service-cli/dfareporting3d4-token-<scope-hash>.json`. No manual management of these tokens
|
||||
is necessary.
|
||||
|
||||
To revoke granted authentication, please refer to the [official documentation][revoke-access].
|
||||
|
||||
# Application Secrets
|
||||
|
||||
In order to allow any application to use Google services, it will need to be registered using the
|
||||
[Google Developer Console][google-dev-console]. APIs the application may use are then enabled for it
|
||||
one by one. Most APIs can be used for free and have a daily quota.
|
||||
|
||||
To allow more comfortable usage of the CLI without forcing anyone to register an own application, the CLI
|
||||
comes with a default application secret that is configured accordingly. This also means that heavy usage
|
||||
all around the world may deplete the daily quota.
|
||||
|
||||
You can workaround this limitation by putting your own secrets file at this location:
|
||||
`~/.google-service-cli/dfareporting3d4-secret.json`, assuming that the required *dfareporting* API
|
||||
was enabled for it. Such a secret file can be downloaded in the *Google Developer Console* at
|
||||
*APIs & auth -> Credentials -> Download JSON* and used as is.
|
||||
|
||||
Learn more about how to setup Google projects and enable APIs using the [official documentation][google-project-new].
|
||||
|
||||
|
||||
# Debugging
|
||||
|
||||
Even though the CLI does its best to provide usable error messages, sometimes it might be desirable to know
|
||||
what exactly led to a particular issue. This is done by allowing all client-server communication to be
|
||||
output to standard error *as-is*.
|
||||
|
||||
The `--debug` flag will print errors using the `Debug` representation to standard error.
|
||||
|
||||
You may consider redirecting standard error into a file for ease of use, e.g. `dfareporting3d4 --debug <resource> <method> [options] 2>debug.txt`.
|
||||
|
||||
|
||||
[scopes]: https://developers.google.com/+/api/oauth#scopes
|
||||
[revoke-access]: http://webapps.stackexchange.com/a/30849
|
||||
[google-dev-console]: https://console.developers.google.com/
|
||||
[google-project-new]: https://developers.google.com/console/help/new/
|
||||
282
gen/dfareporting3d4-cli/mkdocs.yml
Normal file
282
gen/dfareporting3d4-cli/mkdocs.yml
Normal file
@@ -0,0 +1,282 @@
|
||||
site_name: Dfareporting v5.0.4+20230118
|
||||
site_url: http://byron.github.io/google-apis-rs/google-dfareporting3d4-cli
|
||||
site_description: A complete library to interact with Dfareporting (protocol v3.4)
|
||||
|
||||
repo_url: https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d4-cli
|
||||
|
||||
docs_dir: docs
|
||||
site_dir: build_html
|
||||
|
||||
nav:
|
||||
- Home: 'index.md'
|
||||
- 'Account Active Ad Summaries':
|
||||
- 'Get': 'account-active-ad-summaries_get.md'
|
||||
- 'Account Permission Groups':
|
||||
- 'Get': 'account-permission-groups_get.md'
|
||||
- 'List': 'account-permission-groups_list.md'
|
||||
- 'Account Permissions':
|
||||
- 'Get': 'account-permissions_get.md'
|
||||
- 'List': 'account-permissions_list.md'
|
||||
- 'Account User Profiles':
|
||||
- 'Get': 'account-user-profiles_get.md'
|
||||
- 'Insert': 'account-user-profiles_insert.md'
|
||||
- 'List': 'account-user-profiles_list.md'
|
||||
- 'Patch': 'account-user-profiles_patch.md'
|
||||
- 'Update': 'account-user-profiles_update.md'
|
||||
- 'Accounts':
|
||||
- 'Get': 'accounts_get.md'
|
||||
- 'List': 'accounts_list.md'
|
||||
- 'Patch': 'accounts_patch.md'
|
||||
- 'Update': 'accounts_update.md'
|
||||
- 'Ads':
|
||||
- 'Get': 'ads_get.md'
|
||||
- 'Insert': 'ads_insert.md'
|
||||
- 'List': 'ads_list.md'
|
||||
- 'Patch': 'ads_patch.md'
|
||||
- 'Update': 'ads_update.md'
|
||||
- 'Advertiser Groups':
|
||||
- 'Delete': 'advertiser-groups_delete.md'
|
||||
- 'Get': 'advertiser-groups_get.md'
|
||||
- 'Insert': 'advertiser-groups_insert.md'
|
||||
- 'List': 'advertiser-groups_list.md'
|
||||
- 'Patch': 'advertiser-groups_patch.md'
|
||||
- 'Update': 'advertiser-groups_update.md'
|
||||
- 'Advertiser Landing Pages':
|
||||
- 'Get': 'advertiser-landing-pages_get.md'
|
||||
- 'Insert': 'advertiser-landing-pages_insert.md'
|
||||
- 'List': 'advertiser-landing-pages_list.md'
|
||||
- 'Patch': 'advertiser-landing-pages_patch.md'
|
||||
- 'Update': 'advertiser-landing-pages_update.md'
|
||||
- 'Advertisers':
|
||||
- 'Get': 'advertisers_get.md'
|
||||
- 'Insert': 'advertisers_insert.md'
|
||||
- 'List': 'advertisers_list.md'
|
||||
- 'Patch': 'advertisers_patch.md'
|
||||
- 'Update': 'advertisers_update.md'
|
||||
- 'Browsers':
|
||||
- 'List': 'browsers_list.md'
|
||||
- 'Campaign Creative Associations':
|
||||
- 'Insert': 'campaign-creative-associations_insert.md'
|
||||
- 'List': 'campaign-creative-associations_list.md'
|
||||
- 'Campaigns':
|
||||
- 'Get': 'campaigns_get.md'
|
||||
- 'Insert': 'campaigns_insert.md'
|
||||
- 'List': 'campaigns_list.md'
|
||||
- 'Patch': 'campaigns_patch.md'
|
||||
- 'Update': 'campaigns_update.md'
|
||||
- 'Change Logs':
|
||||
- 'Get': 'change-logs_get.md'
|
||||
- 'List': 'change-logs_list.md'
|
||||
- 'Cities':
|
||||
- 'List': 'cities_list.md'
|
||||
- 'Connection Types':
|
||||
- 'Get': 'connection-types_get.md'
|
||||
- 'List': 'connection-types_list.md'
|
||||
- 'Content Categories':
|
||||
- 'Delete': 'content-categories_delete.md'
|
||||
- 'Get': 'content-categories_get.md'
|
||||
- 'Insert': 'content-categories_insert.md'
|
||||
- 'List': 'content-categories_list.md'
|
||||
- 'Patch': 'content-categories_patch.md'
|
||||
- 'Update': 'content-categories_update.md'
|
||||
- 'Conversions':
|
||||
- 'Batchinsert': 'conversions_batchinsert.md'
|
||||
- 'Batchupdate': 'conversions_batchupdate.md'
|
||||
- 'Countries':
|
||||
- 'Get': 'countries_get.md'
|
||||
- 'List': 'countries_list.md'
|
||||
- 'Creative Assets':
|
||||
- 'Insert': 'creative-assets_insert.md'
|
||||
- 'Creative Field Values':
|
||||
- 'Delete': 'creative-field-values_delete.md'
|
||||
- 'Get': 'creative-field-values_get.md'
|
||||
- 'Insert': 'creative-field-values_insert.md'
|
||||
- 'List': 'creative-field-values_list.md'
|
||||
- 'Patch': 'creative-field-values_patch.md'
|
||||
- 'Update': 'creative-field-values_update.md'
|
||||
- 'Creative Fields':
|
||||
- 'Delete': 'creative-fields_delete.md'
|
||||
- 'Get': 'creative-fields_get.md'
|
||||
- 'Insert': 'creative-fields_insert.md'
|
||||
- 'List': 'creative-fields_list.md'
|
||||
- 'Patch': 'creative-fields_patch.md'
|
||||
- 'Update': 'creative-fields_update.md'
|
||||
- 'Creative Groups':
|
||||
- 'Get': 'creative-groups_get.md'
|
||||
- 'Insert': 'creative-groups_insert.md'
|
||||
- 'List': 'creative-groups_list.md'
|
||||
- 'Patch': 'creative-groups_patch.md'
|
||||
- 'Update': 'creative-groups_update.md'
|
||||
- 'Creatives':
|
||||
- 'Get': 'creatives_get.md'
|
||||
- 'Insert': 'creatives_insert.md'
|
||||
- 'List': 'creatives_list.md'
|
||||
- 'Patch': 'creatives_patch.md'
|
||||
- 'Update': 'creatives_update.md'
|
||||
- 'Custom Events':
|
||||
- 'Batchinsert': 'custom-events_batchinsert.md'
|
||||
- 'Dimension Values':
|
||||
- 'Query': 'dimension-values_query.md'
|
||||
- 'Directory Sites':
|
||||
- 'Get': 'directory-sites_get.md'
|
||||
- 'Insert': 'directory-sites_insert.md'
|
||||
- 'List': 'directory-sites_list.md'
|
||||
- 'Dynamic Targeting Keys':
|
||||
- 'Delete': 'dynamic-targeting-keys_delete.md'
|
||||
- 'Insert': 'dynamic-targeting-keys_insert.md'
|
||||
- 'List': 'dynamic-targeting-keys_list.md'
|
||||
- 'Event Tags':
|
||||
- 'Delete': 'event-tags_delete.md'
|
||||
- 'Get': 'event-tags_get.md'
|
||||
- 'Insert': 'event-tags_insert.md'
|
||||
- 'List': 'event-tags_list.md'
|
||||
- 'Patch': 'event-tags_patch.md'
|
||||
- 'Update': 'event-tags_update.md'
|
||||
- 'Files':
|
||||
- 'Get': 'files_get.md'
|
||||
- 'List': 'files_list.md'
|
||||
- 'Floodlight Activities':
|
||||
- 'Delete': 'floodlight-activities_delete.md'
|
||||
- 'Generatetag': 'floodlight-activities_generatetag.md'
|
||||
- 'Get': 'floodlight-activities_get.md'
|
||||
- 'Insert': 'floodlight-activities_insert.md'
|
||||
- 'List': 'floodlight-activities_list.md'
|
||||
- 'Patch': 'floodlight-activities_patch.md'
|
||||
- 'Update': 'floodlight-activities_update.md'
|
||||
- 'Floodlight Activity Groups':
|
||||
- 'Get': 'floodlight-activity-groups_get.md'
|
||||
- 'Insert': 'floodlight-activity-groups_insert.md'
|
||||
- 'List': 'floodlight-activity-groups_list.md'
|
||||
- 'Patch': 'floodlight-activity-groups_patch.md'
|
||||
- 'Update': 'floodlight-activity-groups_update.md'
|
||||
- 'Floodlight Configurations':
|
||||
- 'Get': 'floodlight-configurations_get.md'
|
||||
- 'List': 'floodlight-configurations_list.md'
|
||||
- 'Patch': 'floodlight-configurations_patch.md'
|
||||
- 'Update': 'floodlight-configurations_update.md'
|
||||
- 'Inventory Items':
|
||||
- 'Get': 'inventory-items_get.md'
|
||||
- 'List': 'inventory-items_list.md'
|
||||
- 'Languages':
|
||||
- 'List': 'languages_list.md'
|
||||
- 'Metros':
|
||||
- 'List': 'metros_list.md'
|
||||
- 'Mobile Apps':
|
||||
- 'Get': 'mobile-apps_get.md'
|
||||
- 'List': 'mobile-apps_list.md'
|
||||
- 'Mobile Carriers':
|
||||
- 'Get': 'mobile-carriers_get.md'
|
||||
- 'List': 'mobile-carriers_list.md'
|
||||
- 'Operating System Versions':
|
||||
- 'Get': 'operating-system-versions_get.md'
|
||||
- 'List': 'operating-system-versions_list.md'
|
||||
- 'Operating Systems':
|
||||
- 'Get': 'operating-systems_get.md'
|
||||
- 'List': 'operating-systems_list.md'
|
||||
- 'Order Documents':
|
||||
- 'Get': 'order-documents_get.md'
|
||||
- 'List': 'order-documents_list.md'
|
||||
- 'Orders':
|
||||
- 'Get': 'orders_get.md'
|
||||
- 'List': 'orders_list.md'
|
||||
- 'Placement Groups':
|
||||
- 'Get': 'placement-groups_get.md'
|
||||
- 'Insert': 'placement-groups_insert.md'
|
||||
- 'List': 'placement-groups_list.md'
|
||||
- 'Patch': 'placement-groups_patch.md'
|
||||
- 'Update': 'placement-groups_update.md'
|
||||
- 'Placement Strategies':
|
||||
- 'Delete': 'placement-strategies_delete.md'
|
||||
- 'Get': 'placement-strategies_get.md'
|
||||
- 'Insert': 'placement-strategies_insert.md'
|
||||
- 'List': 'placement-strategies_list.md'
|
||||
- 'Patch': 'placement-strategies_patch.md'
|
||||
- 'Update': 'placement-strategies_update.md'
|
||||
- 'Placements':
|
||||
- 'Generatetags': 'placements_generatetags.md'
|
||||
- 'Get': 'placements_get.md'
|
||||
- 'Insert': 'placements_insert.md'
|
||||
- 'List': 'placements_list.md'
|
||||
- 'Patch': 'placements_patch.md'
|
||||
- 'Update': 'placements_update.md'
|
||||
- 'Platform Types':
|
||||
- 'Get': 'platform-types_get.md'
|
||||
- 'List': 'platform-types_list.md'
|
||||
- 'Postal Codes':
|
||||
- 'Get': 'postal-codes_get.md'
|
||||
- 'List': 'postal-codes_list.md'
|
||||
- 'Projects':
|
||||
- 'Get': 'projects_get.md'
|
||||
- 'List': 'projects_list.md'
|
||||
- 'Regions':
|
||||
- 'List': 'regions_list.md'
|
||||
- 'Remarketing List Shares':
|
||||
- 'Get': 'remarketing-list-shares_get.md'
|
||||
- 'Patch': 'remarketing-list-shares_patch.md'
|
||||
- 'Update': 'remarketing-list-shares_update.md'
|
||||
- 'Remarketing Lists':
|
||||
- 'Get': 'remarketing-lists_get.md'
|
||||
- 'Insert': 'remarketing-lists_insert.md'
|
||||
- 'List': 'remarketing-lists_list.md'
|
||||
- 'Patch': 'remarketing-lists_patch.md'
|
||||
- 'Update': 'remarketing-lists_update.md'
|
||||
- 'Reports':
|
||||
- 'Compatible Fields Query': 'reports_compatible-fields-query.md'
|
||||
- 'Delete': 'reports_delete.md'
|
||||
- 'Files Get': 'reports_files-get.md'
|
||||
- 'Files List': 'reports_files-list.md'
|
||||
- 'Get': 'reports_get.md'
|
||||
- 'Insert': 'reports_insert.md'
|
||||
- 'List': 'reports_list.md'
|
||||
- 'Patch': 'reports_patch.md'
|
||||
- 'Run': 'reports_run.md'
|
||||
- 'Update': 'reports_update.md'
|
||||
- 'Sites':
|
||||
- 'Get': 'sites_get.md'
|
||||
- 'Insert': 'sites_insert.md'
|
||||
- 'List': 'sites_list.md'
|
||||
- 'Patch': 'sites_patch.md'
|
||||
- 'Update': 'sites_update.md'
|
||||
- 'Sizes':
|
||||
- 'Get': 'sizes_get.md'
|
||||
- 'Insert': 'sizes_insert.md'
|
||||
- 'List': 'sizes_list.md'
|
||||
- 'Subaccounts':
|
||||
- 'Get': 'subaccounts_get.md'
|
||||
- 'Insert': 'subaccounts_insert.md'
|
||||
- 'List': 'subaccounts_list.md'
|
||||
- 'Patch': 'subaccounts_patch.md'
|
||||
- 'Update': 'subaccounts_update.md'
|
||||
- 'Targetable Remarketing Lists':
|
||||
- 'Get': 'targetable-remarketing-lists_get.md'
|
||||
- 'List': 'targetable-remarketing-lists_list.md'
|
||||
- 'Targeting Templates':
|
||||
- 'Get': 'targeting-templates_get.md'
|
||||
- 'Insert': 'targeting-templates_insert.md'
|
||||
- 'List': 'targeting-templates_list.md'
|
||||
- 'Patch': 'targeting-templates_patch.md'
|
||||
- 'Update': 'targeting-templates_update.md'
|
||||
- 'User Profiles':
|
||||
- 'Get': 'user-profiles_get.md'
|
||||
- 'List': 'user-profiles_list.md'
|
||||
- 'User Role Permission Groups':
|
||||
- 'Get': 'user-role-permission-groups_get.md'
|
||||
- 'List': 'user-role-permission-groups_list.md'
|
||||
- 'User Role Permissions':
|
||||
- 'Get': 'user-role-permissions_get.md'
|
||||
- 'List': 'user-role-permissions_list.md'
|
||||
- 'User Roles':
|
||||
- 'Delete': 'user-roles_delete.md'
|
||||
- 'Get': 'user-roles_get.md'
|
||||
- 'Insert': 'user-roles_insert.md'
|
||||
- 'List': 'user-roles_list.md'
|
||||
- 'Patch': 'user-roles_patch.md'
|
||||
- 'Update': 'user-roles_update.md'
|
||||
- 'Video Formats':
|
||||
- 'Get': 'video-formats_get.md'
|
||||
- 'List': 'video-formats_list.md'
|
||||
|
||||
theme: readthedocs
|
||||
|
||||
copyright: Copyright © 2015-2020, `Sebastian Thiel`
|
||||
|
||||
24165
gen/dfareporting3d4-cli/src/main.rs
Normal file
24165
gen/dfareporting3d4-cli/src/main.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user