p202 ppc-network list

List traffic source networks (PPC networks)

Web UISetup › Traffic Sources
All commands

01Jobs it does

Each one is a real command line. Copy it, or open it in the builder below to change it.

traffic sources

Also: ad networks

p202 ppc-network list
Web UISetup › Traffic Sources

02What you get

Captured from the real binary, run against a demo store with 30 days of traffic. Switch tabs to see the same run as JSON, the shape scripts and agents parse.

p202 ppc-network list
$ p202 ppc-network list
etag                                        ppc_network_id  ppc_network_name  user_id  version
------------------------------------------  --------------  ----------------  -------  ----------------------------------------
"f3eb1d2b94c1032c733552529905c2117e80904c"  3               Owned Media       1        f3eb1d2b94c1032c733552529905c2117e80904c
"2f3b9676ca65da3e58a22e1f3702af8d2432f522"  2               Social            1        2f3b9676ca65da3e58a22e1f3702af8d2432f522
"b5c79e4e712591518fc05c00db3bcda7be97bb37"  1               Search            1        b5c79e4e712591518fc05c00db3bcda7be97bb37
Total: 3 | Limit: 50 | Offset: 0
Real output · p202 1.9.77 · demo dataexit 0

03Build your command

Pick values and the command line writes itself, quoted and ready to paste.

p202 ppc-network list

Set flags below; the command updates as you type.

04Flags

5 flags, plus the global flags every command takes.

FlagWhat it does
--allboolFetch all rows across pages
--limit, -lstringMax results
--offset, -ostringPagination offset
--pagestringPage number
--resolve-namesboolResolve foreign key IDs to names

05For agents

Running this from an agent

  • Read the same facts as JSON: p202 commands ppc-network list --json.
  • With AI_AGENT, CLAUDECODE or another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with a hint.
  • Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure.
p202 commands ppc-network list --json
{
  "path": "p202 ppc-network list",
  "use": "list",
  "short": "List traffic source networks (PPC networks)",
  "runnable": true,
  "tasks": [
    {
      "run": "p202 ppc-network list",
      "ui_pages": [
        "Setup › Traffic Sources"
      ],
      "phrases": [
        "traffic sources",
        "ad networks"
      ]
    }
  ],
  "flags": [
    {
      "name": "all",
      "type": "bool",
      "default": "false",
      "usage": "Fetch all rows across pages",
      "required": false
    },
    {
      "name": "limit",
      "shorthand": "l",
      "type": "string",
      "default": "",
      "usage": "Max results",
      "required": false
    },
    {
      "name": "offset",
      "shorthand": "o",
      "type": "string",
      "default": "",
      "usage": "Pagination offset",
      "required": false
    },
    {
      "name": "page",
      "type": "string",
      "default": "",
      "usage": "Page number",
      "required": false
    },
    {
      "name": "resolve-names",
      "type": "bool",
      "default": "false",
      "usage": "Resolve foreign key IDs to names",
      "required": false
    }
  ]
}