Project clicks against a supplied CTR curve
project_clicks_from_ctr_curveProject how many clicks a set of query rows would earn at a target position instead of their current position, using a CTR curve THAT YOU SUPPLY. This server deliberately ships no built-in CTR table: every published average-CTR-by-position table is a third-party estimate over someone else's traffic, so applying one silently would disguise a guess as a measurement. Pass your own measured curve (Search Console clicks/impressions by position is the honest source). Positions between curve points are linearly interpolated; positions beyond the curve clamp to the last point rather than extrapolate, and are counted in clamped_row_count. If any row carries observed clicks, the output also reports how far the supplied curve is from your reality.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Query rows. | |
| ctr_curve | Yes | Required. Map of position to click-through rate as a 0-1 fraction, e.g. {"1":0.28,"2":0.15,"3":0.10,"10":0.02}. Supply your own measured values. | |
| target_position | No | Target position applied to every row that does not carry its own. |