p202 app

App measurement: registered apps, SKAN encodings, postbacks and the report

Aliasapps
All commands

01How it works

Register the apps you advertise (from a store link or an app key), decode their SKAdNetwork and AdAttributionKit postbacks, and read the report.

p202 app create --store-link https://apps.apple.com/us/app/summit-run/id990077001
p202 goal create --registration-id 1 --name purchase --event purchase
p202 app encoding create --registration-id 1 --fine-value 40 --goal-id 12 --revenue-override 4.99
p202 app report --group-by registration

02Commands

15 under p202 app.

03For agents

Running this from an agent

  • Read the same facts as JSON: p202 commands app --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 app --json
{
  "path": "p202 app",
  "use": "app",
  "short": "App measurement: registered apps, SKAN encodings, postbacks and the report",
  "long": "Register the apps you advertise (from a store link or an app key), decode their\nSKAdNetwork and AdAttributionKit postbacks, and read the report.\n\n  p202 app create --store-link https://apps.apple.com/us/app/summit-run/id990077001\n  p202 goal create --registration-id 1 --name purchase --event purchase\n  p202 app encoding create --registration-id 1 --fine-value 40 --goal-id 12 --revenue-override 4.99\n  p202 app report --group-by registration",
  "aliases": [
    "apps"
  ],
  "runnable": false
}