01Jobs it does
Each one is a real command line. Copy it, or open it in the builder below to change it.
dayparting
Also: time of day
p202 report daypart02What 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 report daypart --period last30 --sort roi Clicks Clickthroughs Conversions Conv % Revenue Cost Profit ROI % EPC CPA Avg CPC hour_of_day ------ ------------- ----------- ------- ------- ------ ------- --------- ------- ------- ------- ----------- 24 24 0 0 0 13.53 -13.53 -100 0 0 0.5637 0 44 44 0 0 0 32.89 -32.89 -100 0 0 0.7475 1 87 87 0 0 0 59.40 -59.40 -100 0 0 0.6828 19 34 34 0 0 0 23.97 -23.97 -100 0 0 0.705 20 18 18 0 0 0 14.49 -14.49 -100 0 0 0.805 22 22 22 0 0 0 13.53 -13.53 -100 0 0 0.615 23 147 147 4 2.7211 286 97.42 188.58 193.5742 1.9456 24.355 0.6627 10 155 155 6 3.871 392 108.58 283.42 261.0241 2.529 18.0967 0.7005 12 112 112 2 1.7857 300 82.12 217.88 265.319 2.6786 41.06 0.7332 3 18 18 2 11.1111 63 15.39 47.61 309.3567 3.50 7.695 0.855 21 178 178 7 3.9326 592 120.64 471.36 390.7162 3.3258 17.2343 0.6778 17 219 219 8 3.653 822 153.13 668.87 436.7988 3.7534 19.1412 0.6992 16 156 156 7 4.4872 623 105.15 517.85 492.4869 3.9936 15.0214 0.674 8 223 223 9 4.0359 954 158.02 795.98 503.721 4.278 17.5578 0.7086 15 171 171 6 3.5088 904 124.87 779.13 623.9529 5.2865 20.8117 0.7302 6 162 162 8 4.9383 1023 113.78 909.22 799.1035 6.3148 14.2225 0.7023 9 145 145 7 4.8276 1118 118.38 999.62 844.4163 7.7103 16.9114 0.8164 4 133 133 6 4.5113 925 92.28 832.72 902.384 6.9549 15.38 0.6938 11 167 167 8 4.7904 1343 120.27 1222.73 1016.6542 8.0419 15.0337 0.7202 13 164 164 9 5.4878 1346 118.65 1227.35 1034.429 8.2073 13.1833 0.7235 7 195 195 10 5.1282 1738 131.52 1606.48 1221.472 8.9128 13.152 0.6745 14 136 136 11 8.0882 1125 79.71 1045.29 1311.3662 8.2721 7.2464 0.5861 5 124 124 6 4.8387 1380 93.20 1286.80 1380.6867 11.129 15.5333 0.7516 18 67 67 5 7.4627 903 42.06 860.94 2046.933 13.4776 8.412 0.6278 2
$ p202 report daypart --period last30 --sort roi --json { "data": [ { "avg_cpc": 0.56375, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 0, "roi": -100, "total_click_throughs": 24, "total_clicks": 24, "total_cost": 13.53, "total_income": 0, "total_leads": 0, "total_net": -13.53 }, { "avg_cpc": 0.7475, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 1, "roi": -100, "total_click_throughs": 44, "total_clicks": 44, "total_cost": 32.89, "total_income": 0, "total_leads": 0, "total_net": -32.89 }, { "avg_cpc": 0.68275862, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 19, "roi": -100, "total_click_throughs": 87, "total_clicks": 87, "total_cost": 59.4, "total_income": 0, "total_leads": 0, "total_net": -59.4 }, { "avg_cpc": 0.705, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 20, "roi": -100, "total_click_throughs": 34, "total_clicks": 34, "total_cost": 23.97, "total_income": 0, "total_leads": 0, "total_net": -23.97 }, { "avg_cpc": 0.805, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 22, "roi": -100, "total_click_throughs": 18, "total_clicks": 18, "total_cost": 14.49, "total_income": 0, "total_leads": 0, "total_net": -14.49 }, { "avg_cpc": 0.615, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 23, "roi": -100, "total_click_throughs": 22, "total_clicks": 22, "total_cost": 13.53, "total_income": 0, "total_leads": 0, "total_net": -13.53 }, { "avg_cpc": 0.662721088, "conv_rate": 2.7211, "cpa": 24.355, "epc": 1.945578231, "hour_of_day": 10, "roi": 193.57421474, "total_click_throughs": 147, "total_clicks": 147, "total_cost": 97.42, "total_income": 286, "total_leads": 4, "total_net": 188.58 }, { "avg_cpc": 0.700516129, "conv_rate": 3.871, "cpa": 18.096666666, "epc": 2.529032258, "hour_of_day": 12, "roi": 261.024129674, "total_click_throughs": 155, "total_clicks": 155, "total_cost": 108.58, "total_income": 392, "total_leads": 6, "total_net": 283.42 }, { "avg_cpc": 0.733214285, "conv_rate": 1.7857, "cpa": 41.06, "epc": 2.678571428, "hour_of_day": 3, "roi": 265.3190453, "total_click_throughs": 112, "total_clicks": 112, "total_cost": 82.12, "total_income": 300, "total_leads": 2, "total_net": 217.88 }, { "avg_cpc": 0.855, "conv_rate": 11.1111, "cpa": 7.695, "epc": 3.5, "hour_of_day": 21, "roi": 309.356725146, "total_click_throughs": 18, "total_clicks": 18, "total_cost": 15.39, "total_income": 63, "total_leads": 2, "total_net": 47.61 }, { "avg_cpc": 0.677752808, "conv_rate": 3.9326, "cpa": 17.234285714, "epc": 3.325842696, "hour_of_day": 17, "roi": 390.716180371, "total_click_throughs": 178, "total_clicks": 178, "total_cost": 120.64, "total_income": 592, "total_leads": 7, "total_net": 471.36 }, { "avg_cpc": 0.699223744, "conv_rate": 3.653, "cpa": 19.14125, "epc": 3.753424657, "hour_of_day": 16, "roi": 436.798798407, "total_click_throughs": 219, "total_clicks": 219, "total_cost": 153.13, "total_income": 822, "total_leads": 8, "total_net": 668.87 }, { "avg_cpc": 0.674038461, "conv_rate": 4.4872, "cpa": 15.021428571, "epc": 3.993589743, "hour_of_day": 8, "roi": 492.486923443, "total_click_throughs": 156, "total_clicks": 156, "total_cost": 105.15, "total_income": 623, "total_leads": 7, "total_net": 517.85 }, { "avg_cpc": 0.708609865, "conv_rate": 4.0359, "cpa": 17.557777777, "epc": 4.278026905, "hour_of_day": 15, "roi": 503.721047969, "total_click_throughs": 223, "total_clicks": 223, "total_cost": 158.02, "total_income": 954, "total_leads": 9, "total_net": 795.98 }, { "avg_cpc": 0.730233918, "conv_rate": 3.5088, "cpa": 20.811666666, "epc": 5.286549707, "hour_of_day": 6, "roi": 623.952911027, "total_click_throughs": 171, "total_clicks": 171, "total_cost": 124.87, "total_income": 904, "total_leads": 6, "total_net": 779.13 }, { "avg_cpc": 0.702345679, "conv_rate": 4.9383, "cpa": 14.2225, "epc": 6.314814814, "hour_of_day": 9, "roi": 799.103533134, "total_click_throughs": 162, "total_clicks": 162, "total_cost": 113.78, "total_income": 1023, "total_leads": 8, "total_net": 909.22 }, { "avg_cpc": 0.816413793, "conv_rate": 4.8276, "cpa": 16.911428571, "epc": 7.710344827, "hour_of_day": 4, "roi": 844.416286535, "total_click_throughs": 145, "total_clicks": 145, "total_cost": 118.38, "total_income": 1118, "total_leads": 7, "total_net": 999.62 }, { "avg_cpc": 0.693834586, "conv_rate": 4.5113, "cpa": 15.38, "epc": 6.954887218, "hour_of_day": 11, "roi": 902.384048548, "total_click_throughs": 133, "total_clicks": 133, "total_cost": 92.28, "total_income": 925, "total_leads": 6, "total_net": 832.72 }, { "avg_cpc": 0.72017964, "conv_rate": 4.7904, "cpa": 15.03375, "epc": 8.041916167, "hour_of_day": 13, "roi": 1016.654194729, "total_click_throughs": 167, "total_clicks": 167, "total_cost": 120.27, "total_income": 1343, "total_leads": 8, "total_net": 1222.73 }, { "avg_cpc": 0.723475609, "conv_rate": 5.4878, "cpa": 13.183333333, "epc": 8.207317073, "hour_of_day": 7, "roi": 1034.428992836, "total_click_throughs": 164, "total_clicks": 164, "total_cost": 118.65, "total_income": 1346, "total_leads": 9, "total_net": 1227.35 }, { "avg_cpc": 0.674461538, "conv_rate": 5.1282, "cpa": 13.152, "epc": 8.912820512, "hour_of_day": 14, "roi": 1221.472019465, "total_click_throughs": 195, "total_clicks": 195, "total_cost": 131.52, "total_income": 1738, "total_leads": 10, "total_net": 1606.48 }, { "avg_cpc": 0.586102941, "conv_rate": 8.0882, "cpa": 7.246363636, "epc": 8.272058823, "hour_of_day": 5, "roi": 1311.366202484, "total_click_throughs": 136, "total_clicks": 136, "total_cost": 79.71, "total_income": 1125, "total_leads": 11, "total_net": 1045.29 }, { "avg_cpc": 0.751612903, "conv_rate": 4.8387, "cpa": 15.533333333, "epc": 11.129032258, "hour_of_day": 18, "roi": 1380.686695279, "total_click_throughs": 124, "total_clicks": 124, "total_cost": 93.2, "total_income": 1380, "total_leads": 6, "total_net": 1286.8 }, { "avg_cpc": 0.627761194, "conv_rate": 7.4627, "cpa": 8.412, "epc": 13.47761194, "hour_of_day": 2, "roi": 2046.932952924, "total_click_throughs": 67, "total_clicks": 67, "total_cost": 42.06, "total_income": 903, "total_leads": 5, "total_net": 860.94 } ], "timezone": "America/New_York" }
Profit by hour of day
- 00h
- 20h
- 10h
- 21h
- 08h
- 09h
- 13h
- 05h
- 02h
Drawn from the JSON output above; hover a column for its value. The highest is labeled.
$ p202 report daypart Clicks Clickthroughs Conversions Conv % Revenue Cost Profit ROI % EPC CPA Avg CPC hour_of_day ------ ------------- ----------- ------- ------- ------ ------- --------- ------- ------- ------- ----------- 24 24 0 0 0 13.53 -13.53 -100 0 0 0.5637 0 44 44 0 0 0 32.89 -32.89 -100 0 0 0.7475 1 67 67 5 7.4627 903 42.06 860.94 2046.933 13.4776 8.412 0.6278 2 112 112 2 1.7857 300 82.12 217.88 265.319 2.6786 41.06 0.7332 3 145 145 7 4.8276 1118 118.38 999.62 844.4163 7.7103 16.9114 0.8164 4 136 136 11 8.0882 1125 79.71 1045.29 1311.3662 8.2721 7.2464 0.5861 5 171 171 6 3.5088 904 124.87 779.13 623.9529 5.2865 20.8117 0.7302 6 164 164 9 5.4878 1346 118.65 1227.35 1034.429 8.2073 13.1833 0.7235 7 156 156 7 4.4872 623 105.15 517.85 492.4869 3.9936 15.0214 0.674 8 162 162 8 4.9383 1023 113.78 909.22 799.1035 6.3148 14.2225 0.7023 9 147 147 4 2.7211 286 97.42 188.58 193.5742 1.9456 24.355 0.6627 10 133 133 6 4.5113 925 92.28 832.72 902.384 6.9549 15.38 0.6938 11 155 155 6 3.871 392 108.58 283.42 261.0241 2.529 18.0967 0.7005 12 167 167 8 4.7904 1343 120.27 1222.73 1016.6542 8.0419 15.0337 0.7202 13 195 195 10 5.1282 1738 131.52 1606.48 1221.472 8.9128 13.152 0.6745 14 223 223 9 4.0359 954 158.02 795.98 503.721 4.278 17.5578 0.7086 15 219 219 8 3.653 822 153.13 668.87 436.7988 3.7534 19.1412 0.6992 16 178 178 7 3.9326 592 120.64 471.36 390.7162 3.3258 17.2343 0.6778 17 124 124 6 4.8387 1380 93.20 1286.80 1380.6867 11.129 15.5333 0.7516 18 87 87 0 0 0 59.40 -59.40 -100 0 0 0.6828 19 34 34 0 0 0 23.97 -23.97 -100 0 0 0.705 20 18 18 2 11.1111 63 15.39 47.61 309.3567 3.50 7.695 0.855 21 18 18 0 0 0 14.49 -14.49 -100 0 0 0.805 22 22 22 0 0 0 13.53 -13.53 -100 0 0 0.615 23
$ p202 report daypart --json { "data": [ { "avg_cpc": 0.56375, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 0, "roi": -100, "total_click_throughs": 24, "total_clicks": 24, "total_cost": 13.53, "total_income": 0, "total_leads": 0, "total_net": -13.53 }, { "avg_cpc": 0.7475, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 1, "roi": -100, "total_click_throughs": 44, "total_clicks": 44, "total_cost": 32.89, "total_income": 0, "total_leads": 0, "total_net": -32.89 }, { "avg_cpc": 0.627761194, "conv_rate": 7.4627, "cpa": 8.412, "epc": 13.47761194, "hour_of_day": 2, "roi": 2046.932952924, "total_click_throughs": 67, "total_clicks": 67, "total_cost": 42.06, "total_income": 903, "total_leads": 5, "total_net": 860.94 }, { "avg_cpc": 0.733214285, "conv_rate": 1.7857, "cpa": 41.06, "epc": 2.678571428, "hour_of_day": 3, "roi": 265.3190453, "total_click_throughs": 112, "total_clicks": 112, "total_cost": 82.12, "total_income": 300, "total_leads": 2, "total_net": 217.88 }, { "avg_cpc": 0.816413793, "conv_rate": 4.8276, "cpa": 16.911428571, "epc": 7.710344827, "hour_of_day": 4, "roi": 844.416286535, "total_click_throughs": 145, "total_clicks": 145, "total_cost": 118.38, "total_income": 1118, "total_leads": 7, "total_net": 999.62 }, { "avg_cpc": 0.586102941, "conv_rate": 8.0882, "cpa": 7.246363636, "epc": 8.272058823, "hour_of_day": 5, "roi": 1311.366202484, "total_click_throughs": 136, "total_clicks": 136, "total_cost": 79.71, "total_income": 1125, "total_leads": 11, "total_net": 1045.29 }, { "avg_cpc": 0.730233918, "conv_rate": 3.5088, "cpa": 20.811666666, "epc": 5.286549707, "hour_of_day": 6, "roi": 623.952911027, "total_click_throughs": 171, "total_clicks": 171, "total_cost": 124.87, "total_income": 904, "total_leads": 6, "total_net": 779.13 }, { "avg_cpc": 0.723475609, "conv_rate": 5.4878, "cpa": 13.183333333, "epc": 8.207317073, "hour_of_day": 7, "roi": 1034.428992836, "total_click_throughs": 164, "total_clicks": 164, "total_cost": 118.65, "total_income": 1346, "total_leads": 9, "total_net": 1227.35 }, { "avg_cpc": 0.674038461, "conv_rate": 4.4872, "cpa": 15.021428571, "epc": 3.993589743, "hour_of_day": 8, "roi": 492.486923443, "total_click_throughs": 156, "total_clicks": 156, "total_cost": 105.15, "total_income": 623, "total_leads": 7, "total_net": 517.85 }, { "avg_cpc": 0.702345679, "conv_rate": 4.9383, "cpa": 14.2225, "epc": 6.314814814, "hour_of_day": 9, "roi": 799.103533134, "total_click_throughs": 162, "total_clicks": 162, "total_cost": 113.78, "total_income": 1023, "total_leads": 8, "total_net": 909.22 }, { "avg_cpc": 0.662721088, "conv_rate": 2.7211, "cpa": 24.355, "epc": 1.945578231, "hour_of_day": 10, "roi": 193.57421474, "total_click_throughs": 147, "total_clicks": 147, "total_cost": 97.42, "total_income": 286, "total_leads": 4, "total_net": 188.58 }, { "avg_cpc": 0.693834586, "conv_rate": 4.5113, "cpa": 15.38, "epc": 6.954887218, "hour_of_day": 11, "roi": 902.384048548, "total_click_throughs": 133, "total_clicks": 133, "total_cost": 92.28, "total_income": 925, "total_leads": 6, "total_net": 832.72 }, { "avg_cpc": 0.700516129, "conv_rate": 3.871, "cpa": 18.096666666, "epc": 2.529032258, "hour_of_day": 12, "roi": 261.024129674, "total_click_throughs": 155, "total_clicks": 155, "total_cost": 108.58, "total_income": 392, "total_leads": 6, "total_net": 283.42 }, { "avg_cpc": 0.72017964, "conv_rate": 4.7904, "cpa": 15.03375, "epc": 8.041916167, "hour_of_day": 13, "roi": 1016.654194729, "total_click_throughs": 167, "total_clicks": 167, "total_cost": 120.27, "total_income": 1343, "total_leads": 8, "total_net": 1222.73 }, { "avg_cpc": 0.674461538, "conv_rate": 5.1282, "cpa": 13.152, "epc": 8.912820512, "hour_of_day": 14, "roi": 1221.472019465, "total_click_throughs": 195, "total_clicks": 195, "total_cost": 131.52, "total_income": 1738, "total_leads": 10, "total_net": 1606.48 }, { "avg_cpc": 0.708609865, "conv_rate": 4.0359, "cpa": 17.557777777, "epc": 4.278026905, "hour_of_day": 15, "roi": 503.721047969, "total_click_throughs": 223, "total_clicks": 223, "total_cost": 158.02, "total_income": 954, "total_leads": 9, "total_net": 795.98 }, { "avg_cpc": 0.699223744, "conv_rate": 3.653, "cpa": 19.14125, "epc": 3.753424657, "hour_of_day": 16, "roi": 436.798798407, "total_click_throughs": 219, "total_clicks": 219, "total_cost": 153.13, "total_income": 822, "total_leads": 8, "total_net": 668.87 }, { "avg_cpc": 0.677752808, "conv_rate": 3.9326, "cpa": 17.234285714, "epc": 3.325842696, "hour_of_day": 17, "roi": 390.716180371, "total_click_throughs": 178, "total_clicks": 178, "total_cost": 120.64, "total_income": 592, "total_leads": 7, "total_net": 471.36 }, { "avg_cpc": 0.751612903, "conv_rate": 4.8387, "cpa": 15.533333333, "epc": 11.129032258, "hour_of_day": 18, "roi": 1380.686695279, "total_click_throughs": 124, "total_clicks": 124, "total_cost": 93.2, "total_income": 1380, "total_leads": 6, "total_net": 1286.8 }, { "avg_cpc": 0.68275862, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 19, "roi": -100, "total_click_throughs": 87, "total_clicks": 87, "total_cost": 59.4, "total_income": 0, "total_leads": 0, "total_net": -59.4 }, { "avg_cpc": 0.705, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 20, "roi": -100, "total_click_throughs": 34, "total_clicks": 34, "total_cost": 23.97, "total_income": 0, "total_leads": 0, "total_net": -23.97 }, { "avg_cpc": 0.855, "conv_rate": 11.1111, "cpa": 7.695, "epc": 3.5, "hour_of_day": 21, "roi": 309.356725146, "total_click_throughs": 18, "total_clicks": 18, "total_cost": 15.39, "total_income": 63, "total_leads": 2, "total_net": 47.61 }, { "avg_cpc": 0.805, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 22, "roi": -100, "total_click_throughs": 18, "total_clicks": 18, "total_cost": 14.49, "total_income": 0, "total_leads": 0, "total_net": -14.49 }, { "avg_cpc": 0.615, "conv_rate": 0, "cpa": 0, "epc": 0, "hour_of_day": 23, "roi": -100, "total_click_throughs": 22, "total_clicks": 22, "total_cost": 13.53, "total_income": 0, "total_leads": 0, "total_net": -13.53 } ], "timezone": "America/New_York" }
03Build your command
Pick values and the command line writes itself, quoted and ready to paste.
p202 report daypartSet flags below; the command updates as you type.
04Flags
22 flags, plus the global flags every command takes.
| Flag | What it does |
|---|---|
| --aff-campaign-idstring | Filter by INTERNAL campaign id (from campaign list), not the public id in tracking URLs |
| --aff-network-idstring | Filter by affiliate network ID |
| --browser-idstring | Filter by browser ID (the id of a --breakdown browser row) |
| --country-idstring | Filter by country ID |
| --device-typestring | Filter by device type ID: 1 Desktop, 2 Mobile, 3 Tablet, 4 Bot (the ids of --breakdown device_type rows) |
| --ipstring | Only clicks from this one IP address, IPv4 or IPv6 |
| --isp-idstring | Filter by ISP/carrier ID (the id of a --breakdown isp row) |
| --keywordstring | Only clicks whose keyword contains this text (case-insensitive) |
| --landing-page-idstring | Filter by landing page ID |
| --method-of-promotionstring | Only direct-link clicks or only landing-page clicks: directlink, landingpagedirectlinklandingpage |
| --period, -pstring | Period: today, yesterday, last7, last14, last30, last90, thismonth, lastmonth, thisyear, lastyear, alltimetodayyesterdaylast7last14last30last90thismonthlastmonththisyearlastyearalltime |
| --platform-idstring | Filter by platform (OS) ID (the id of a --breakdown platform row) |
| --ppc-account-idstring | Filter by PPC account ID |
| --ppc-network-idstring | Filter by PPC network ID, or none for the clicks with no traffic source |
| --refererstring | Only clicks whose referring URL contains this text (case-insensitive) |
| --region-idstring | Filter by region ID (the id of a --breakdown region row) |
| --showstring | Which clicks count (default all): all, real, filtered, filtered_bot, leads; real = not filtered, filtered_bot = filtered as bots, leads = convertedallrealfilteredfiltered_botleads |
| --sort, -sstring | Sort by: hour_of_day, total_clicks, total_click_throughs, total_leads, total_income, total_cost, total_net, epc, avg_cpc, conv_rate, roi, cpa (aliases: clicks=total_clicks, conversions=total_leads, cost=total_cost, income=total_income, leads=total_leads, net=total_net, profit=total_net, revenue=total_income)hour_of_daytotal_clickstotal_click_throughstotal_leadstotal_incometotal_costtotal_netepcavg_cpcconv_rateroicpaclicks → total_clicksconversions → total_leadscost → total_costincome → total_incomeleads → total_leadsnet → total_netprofit → total_netrevenue → total_income |
| --sort-dirstring | Sort direction (also --sort-dir): ASC, DESCASCDESC |
| --text-ad-idstring | Filter by text ad ID |
| --time-fromstring | Start: unix seconds, a date (2026-10-01, from its first second in the account's timezone) or a time with its offset (2026-10-01T09:30:00Z) |
| --time-tostring | End, inclusive: unix seconds, a date (2026-10-01, through its last second in the account's timezone) or a time with its offset |
05For agents
Running this from an agent
- Read the same facts as JSON:
p202 commands report daypart --json. - With
AI_AGENT,CLAUDECODEor another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with ahint. - Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure.
{
"path": "p202 report daypart",
"use": "daypart",
"short": "Get stats grouped by hour of day (0-23) to find best-performing hours",
"runnable": true,
"tasks": [
{
"run": "p202 report daypart",
"ui_pages": [
"Overview › Day Parting"
],
"phrases": [
"dayparting",
"time of day"
]
}
],
"flags": [
{
"name": "aff-campaign-id",
"type": "string",
"default": "",
"usage": "Filter by INTERNAL campaign id (from `campaign list`), not the public id in tracking URLs",
"required": false
},
{
"name": "aff-network-id",
"type": "string",
"default": "",
"usage": "Filter by affiliate network ID",
"required": false
},
{
"name": "browser-id",
"type": "string",
"default": "",
"usage": "Filter by browser ID (the id of a `--breakdown browser` row)",
"required": false
},
{
"name": "country-id",
"type": "string",
"default": "",
"usage": "Filter by country ID",
"required": false
},
{
"name": "device-type",
"type": "string",
"default": "",
"usage": "Filter by device type ID: 1 Desktop, 2 Mobile, 3 Tablet, 4 Bot (the ids of `--breakdown device_type` rows)",
"required": false
},
{
"name": "ip",
"type": "string",
"default": "",
"usage": "Only clicks from this one IP address, IPv4 or IPv6",
"required": false
},
{
"name": "isp-id",
"type": "string",
"default": "",
"usage": "Filter by ISP/carrier ID (the id of a `--breakdown isp` row)",
"required": false
},
{
"name": "keyword",
"type": "string",
"default": "",
"usage": "Only clicks whose keyword contains this text (case-insensitive)",
"required": false
},
{
"name": "landing-page-id",
"type": "string",
"default": "",
"usage": "Filter by landing page ID",
"required": false
},
{
"name": "method-of-promotion",
"type": "string",
"default": "",
"usage": "Only direct-link clicks or only landing-page clicks: directlink, landingpage",
"allowed_values": [
"directlink",
"landingpage"
],
"required": false
},
{
"name": "period",
"shorthand": "p",
"type": "string",
"default": "",
"usage": "Period: today, yesterday, last7, last14, last30, last90, thismonth, lastmonth, thisyear, lastyear, alltime",
"allowed_values": [
"today",
"yesterday",
"last7",
"last14",
"last30",
"last90",
"thismonth",
"lastmonth",
"thisyear",
"lastyear",
"alltime"
],
"required": false
},
{
"name": "platform-id",
"type": "string",
"default": "",
"usage": "Filter by platform (OS) ID (the id of a `--breakdown platform` row)",
"required": false
},
{
"name": "ppc-account-id",
"type": "string",
"default": "",
"usage": "Filter by PPC account ID",
"required": false
},
{
"name": "ppc-network-id",
"type": "string",
"default": "",
"usage": "Filter by PPC network ID, or none for the clicks with no traffic source",
"required": false
},
{
"name": "referer",
"type": "string",
"default": "",
"usage": "Only clicks whose referring URL contains this text (case-insensitive)",
"required": false
},
{
"name": "region-id",
"type": "string",
"default": "",
"usage": "Filter by region ID (the id of a `--breakdown region` row)",
"required": false
},
{
"name": "show",
"type": "string",
"default": "",
"usage": "Which clicks count (default all): all, real, filtered, filtered_bot, leads; real = not filtered, filtered_bot = filtered as bots, leads = converted",
"allowed_values": [
"all",
"real",
"filtered",
"filtered_bot",
"leads"
],
"required": false
},
{
"name": "sort",
"shorthand": "s",
"type": "string",
"default": "",
"usage": "Sort by: hour_of_day, total_clicks, total_click_throughs, total_leads, total_income, total_cost, total_net, epc, avg_cpc, conv_rate, roi, cpa (aliases: clicks=total_clicks, conversions=total_leads, cost=total_cost, income=total_income, leads=total_leads, net=total_net, profit=total_net, revenue=total_income)",
"allowed_values": [
"hour_of_day",
"total_clicks",
"total_click_throughs",
"total_leads",
"total_income",
"total_cost",
"total_net",
"epc",
"avg_cpc",
"conv_rate",
"roi",
"cpa"
],
"value_aliases": {
"clicks": "total_clicks",
"conversions": "total_leads",
"cost": "total_cost",
"income": "total_income",
"leads": "total_leads",
"net": "total_net",
"profit": "total_net",
"revenue": "total_income"
},
"required": false
},
{
"name": "sort-dir",
"type": "string",
"default": "",
"usage": "Sort direction (also --sort-dir): ASC, DESC",
"allowed_values": [
"ASC",
"DESC"
],
"required": false
},
{
"name": "text-ad-id",
"type": "string",
"default": "",
"usage": "Filter by text ad ID",
"required": false
},
{
"name": "time-from",
"type": "string",
"default": "",
"usage": "Start: unix seconds, a date (2026-10-01, from its first second in the account's timezone) or a time with its offset (2026-10-01T09:30:00Z)",
"required": false
},
{
"name": "time-to",
"type": "string",
"default": "",
"usage": "End, inclusive: unix seconds, a date (2026-10-01, through its last second in the account's timezone) or a time with its offset",
"required": false
}
]
}