Google AdSense
Use gog for Google AdSense operations. Read ../gog/SKILL.md first for shared auth,
output, safety, and live-write rules.
Safe start
gog auth list --check --json --no-input
gog schema adsense --json
gog --readonly --account user@example.com adsense --help
- Select the account explicitly with
--account. - Use
--json --wrap-untrustedfor agent-readable Google content. - Use
--readonlywhen the task must not mutate Google data. - Use
--no-inputin automation and--dry-runbefore supported writes. - Confirm the exact account, object, and mutation before any write or delete.
Commands
| Command | Purpose |
|---|---|
accounts |
List/get AdSense accounts |
adclients |
List/get ad clients |
adunits |
List/get ad units |
alerts |
List account alerts |
customchannels |
List/get custom channels |
payments |
List account payments |
policyissues |
List/get policy issues |
reports |
Generate AdSense reports |
sites |
List/get AdSense sites |
urlchannels |
List/get URL channels |
Run gog adsense <command> --help for flags and gog schema adsense <command> --json
for the machine-readable contract. Do not guess command syntax.