p202 user prefs update

Update user preferences (profile, report defaults, integration keys, LTV settings)

Web UIPersonal SettingsWritessupports --staged
All commands

01Jobs it does

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

my preferences

Also: report defaults, privacy setting

p202 user prefs update <user_id>
Web UIPersonal Settings

02What you get

Pick the shape you need. People get a table. Add --json, --csv or --ndjson for scripts, or -q for ids only. An AI agent gets compact JSON without asking. All output formats

03Build your command

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

p202 user prefs update

Set flags below; the command updates as you type.

04Flags

22 flags, plus the global flags every command takes.

FlagWhat it does
--cb-keystringClickBank secret key; changing it resets its verification ("" removes it)
--chart-time-rangestringOverview chart resolution: hours, days
hoursdays
--ipqs-api-keystringIPQualityScore API key ("" removes it)
--jvzoo-ipn-secret-keystringJVZoo IPN secret key ("" removes it)
--user-account-currencystringAccount currency; re-prices every campaign's payout into it: AUD, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, ILS, INR, JPY, MXN, MYR, NOK, NZD, PHP, PLN, RUB, SEK, SGD, THB, TRY, TWD, USD
AUDBRLCADCHFCNYCZKDKKEURGBPHKDHUFILSINRJPYMXNMYRNOKNZDPHPPLNRUBSEKSGDTHBTRYTWDUSD
--user-cpc-or-cpvstringShow costs per click (cpc) or per view (cpv, 5 decimals): cpc, cpv
cpccpv
--user-daily-emailstringHour the daily stats email is sent, in your time zone: never, 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
never000102030405060708091011121314151617181920212223
--user-keyword-searched-or-biddedstringKeyword to record: the one searched or the one bid on: searched, bidded
searchedbidded
--user-ltv-customer-cparamstringTracking variable that carries a customer id: 0 off, 1-4 for c1-c4: 0, 1, 2, 3, 4
01234
--user-ltv-personalization-fieldsstringFields a landing page may personalize with: comma list of first_name, last_name, company, city, country, cf:<field_key>, rec:next_offer ("" none)
--user-ltv-rec-fatiguestringNext-offer fatigue: times,days such as 3,21; 0 turns it off ("" the defaults)
--user-ltv-score-weightsstringEngagement score weights, volume:N,time:N,scroll:N,video:N,recency:N summing to 100 ("" the defaults 40/20/15/15/10)
--user-pref-ad-settingsstringWhere Prosper202 shows its ads: show_all, hide_login, hide_all
show_allhide_loginhide_all
--user-pref-cloak-refererstringWhat a cloaked link shows as referer: origin (this domain) or never (blank): origin, never
originnever
--user-pref-dynamic-bidstringClick cost: 0 from the tracker's setup, 1 from the t202b link parameter: 0, 1
01
--user-pref-limitstringDefault rows per report page: 10, 25, 50, 75, 100, 150, 200
10255075100150200
--user-pref-privacystringPrivacy mode: disabled, eu (European traffic only) or all traffic: disabled, eu, all
disabledeuall
--user-pref-referer-datastringReferer to record: the browser's, or the t202ref link parameter: browser, t202ref
browsert202ref
--user-pref-time-predefinedstringDefault report date range: today, yesterday, last7, last14, last30, thismonth, lastmonth, thisyear, lastyear, alltime
todayyesterdaylast7last14last30thismonthlastmonththisyearlastyearalltime
--user-slack-incoming-webhookstringSlack incoming webhook URL, https:// ("" stops Slack notifications)
--user-tracking-domainstringDomain tracking links are built on, e.g. track.example.com ("" uses this install's own)
--zaxaa-api-signaturestringZaxaa API signature ("" removes it)

05How it works

Sets the preferences the settings pages set: Personal settings (time zone is on user update), the report defaults, Integrations' network keys and LTV › Settings. Each value is checked against the page's own choices before any request; a free-text value given as "" clears it. Changing --user-account-currency re-prices every campaign's payout into the new currency, as Personal settings does, through the exchange-rate service.

06For agents

Running this from an agent

  • Read the same facts as JSON: p202 commands user prefs update --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.
  • This command writes. Add --staged to record it as a proposal a person applies with p202 change apply.
p202 commands user prefs update --json
{
  "path": "p202 user prefs update",
  "use": "update <user_id>",
  "short": "Update user preferences (profile, report defaults, integration keys, LTV settings)",
  "long": "Sets the preferences the settings pages set: Personal settings (time zone is on `user update`), the report\ndefaults, Integrations' network keys and LTV › Settings. Each value is checked against the page's own choices\nbefore any request; a free-text value given as \"\" clears it. Changing --user-account-currency re-prices every\ncampaign's payout into the new currency, as Personal settings does, through the exchange-rate service.",
  "runnable": true,
  "example": "p202 user prefs update 1 --user-daily-email 07 --user-pref-time-predefined last7\n  p202 user prefs update 1 --user-tracking-domain \"\"     # back to this install's own domain\n  p202 user prefs update 1 --user-account-currency EUR",
  "tasks": [
    {
      "run": "p202 user prefs update",
      "ui_pages": [
        "Personal Settings"
      ],
      "phrases": [
        "my preferences",
        "report defaults",
        "privacy setting"
      ]
    }
  ],
  "flags": [
    {
      "name": "cb-key",
      "type": "string",
      "default": "",
      "usage": "ClickBank secret key; changing it resets its verification (\"\" removes it)",
      "required": false
    },
    {
      "name": "chart-time-range",
      "type": "string",
      "default": "",
      "usage": "Overview chart resolution: hours, days",
      "allowed_values": [
        "hours",
        "days"
      ],
      "required": false
    },
    {
      "name": "ipqs-api-key",
      "type": "string",
      "default": "",
      "usage": "IPQualityScore API key (\"\" removes it)",
      "required": false
    },
    {
      "name": "jvzoo-ipn-secret-key",
      "type": "string",
      "default": "",
      "usage": "JVZoo IPN secret key (\"\" removes it)",
      "required": false
    },
    {
      "name": "user-account-currency",
      "type": "string",
      "default": "",
      "usage": "Account currency; re-prices every campaign's payout into it: AUD, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, ILS, INR, JPY, MXN, MYR, NOK, NZD, PHP, PLN, RUB, SEK, SGD, THB, TRY, TWD, USD",
      "allowed_values": [
        "AUD",
        "BRL",
        "CAD",
        "CHF",
        "CNY",
        "CZK",
        "DKK",
        "EUR",
        "GBP",
        "HKD",
        "HUF",
        "ILS",
        "INR",
        "JPY",
        "MXN",
        "MYR",
        "NOK",
        "NZD",
        "PHP",
        "PLN",
        "RUB",
        "SEK",
        "SGD",
        "THB",
        "TRY",
        "TWD",
        "USD"
      ],
      "required": false
    },
    {
      "name": "user-cpc-or-cpv",
      "type": "string",
      "default": "",
      "usage": "Show costs per click (cpc) or per view (cpv, 5 decimals): cpc, cpv",
      "allowed_values": [
        "cpc",
        "cpv"
      ],
      "required": false
    },
    {
      "name": "user-daily-email",
      "type": "string",
      "default": "",
      "usage": "Hour the daily stats email is sent, in your time zone: never, 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23",
      "allowed_values": [
        "never",
        "00",
        "01",
        "02",
        "03",
        "04",
        "05",
        "06",
        "07",
        "08",
        "09",
        "10",
        "11",
        "12",
        "13",
        "14",
        "15",
        "16",
        "17",
        "18",
        "19",
        "20",
        "21",
        "22",
        "23"
      ],
      "required": false
    },
    {
      "name": "user-keyword-searched-or-bidded",
      "type": "string",
      "default": "",
      "usage": "Keyword to record: the one searched or the one bid on: searched, bidded",
      "allowed_values": [
        "searched",
        "bidded"
      ],
      "required": false
    },
    {
      "name": "user-ltv-customer-cparam",
      "type": "string",
      "default": "",
      "usage": "Tracking variable that carries a customer id: 0 off, 1-4 for c1-c4: 0, 1, 2, 3, 4",
      "allowed_values": [
        "0",
        "1",
        "2",
        "3",
        "4"
      ],
      "required": false
    },
    {
      "name": "user-ltv-personalization-fields",
      "type": "string",
      "default": "",
      "usage": "Fields a landing page may personalize with: comma list of first_name, last_name, company, city, country, cf:<field_key>, rec:next_offer (\"\" none)",
      "required": false
    },
    {
      "name": "user-ltv-rec-fatigue",
      "type": "string",
      "default": "",
      "usage": "Next-offer fatigue: times,days such as 3,21; 0 turns it off (\"\" the defaults)",
      "required": false
    },
    {
      "name": "user-ltv-score-weights",
      "type": "string",
      "default": "",
      "usage": "Engagement score weights, volume:N,time:N,scroll:N,video:N,recency:N summing to 100 (\"\" the defaults 40/20/15/15/10)",
      "required": false
    },
    {
      "name": "user-pref-ad-settings",
      "type": "string",
      "default": "",
      "usage": "Where Prosper202 shows its ads: show_all, hide_login, hide_all",
      "allowed_values": [
        "show_all",
        "hide_login",
        "hide_all"
      ],
      "required": false
    },
    {
      "name": "user-pref-cloak-referer",
      "type": "string",
      "default": "",
      "usage": "What a cloaked link shows as referer: origin (this domain) or never (blank): origin, never",
      "allowed_values": [
        "origin",
        "never"
      ],
      "required": false
    },
    {
      "name": "user-pref-dynamic-bid",
      "type": "string",
      "default": "",
      "usage": "Click cost: 0 from the tracker's setup, 1 from the t202b link parameter: 0, 1",
      "allowed_values": [
        "0",
        "1"
      ],
      "required": false
    },
    {
      "name": "user-pref-limit",
      "type": "string",
      "default": "",
      "usage": "Default rows per report page: 10, 25, 50, 75, 100, 150, 200",
      "allowed_values": [
        "10",
        "25",
        "50",
        "75",
        "100",
        "150",
        "200"
      ],
      "required": false
    },
    {
      "name": "user-pref-privacy",
      "type": "string",
      "default": "",
      "usage": "Privacy mode: disabled, eu (European traffic only) or all traffic: disabled, eu, all",
      "allowed_values": [
        "disabled",
        "eu",
        "all"
      ],
      "required": false
    },
    {
      "name": "user-pref-referer-data",
      "type": "string",
      "default": "",
      "usage": "Referer to record: the browser's, or the t202ref link parameter: browser, t202ref",
      "allowed_values": [
        "browser",
        "t202ref"
      ],
      "required": false
    },
    {
      "name": "user-pref-time-predefined",
      "type": "string",
      "default": "",
      "usage": "Default report date range: today, yesterday, last7, last14, last30, thismonth, lastmonth, thisyear, lastyear, alltime",
      "allowed_values": [
        "today",
        "yesterday",
        "last7",
        "last14",
        "last30",
        "thismonth",
        "lastmonth",
        "thisyear",
        "lastyear",
        "alltime"
      ],
      "required": false
    },
    {
      "name": "user-slack-incoming-webhook",
      "type": "string",
      "default": "",
      "usage": "Slack incoming webhook URL, https:// (\"\" stops Slack notifications)",
      "required": false
    },
    {
      "name": "user-tracking-domain",
      "type": "string",
      "default": "",
      "usage": "Domain tracking links are built on, e.g. track.example.com (\"\" uses this install's own)",
      "required": false
    },
    {
      "name": "zaxaa-api-signature",
      "type": "string",
      "default": "",
      "usage": "Zaxaa API signature (\"\" removes it)",
      "required": false
    }
  ]
}