Description
Advance the bucket while impressions ≥ each cutoff and return the selected label.
Marketing records combine campaign dates, labels, attribution terms, and supplied counts. A local arithmetic or formatting result describes the stated record without proving campaign effectiveness or causal impact.
Advance the bucket while impressions ≥ each cutoff and return the selected label.
When to use this tool
Use Campaign Frequency Bucket Label when you need one campaign-record calculation or formatter under the stated convention.
How to use the tool and how it works
- Enter impressions, cutoffs, labels. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read bucket. Use the output convention below.
Require increasing nonnegative integer cutoffs and exactly one more label than cutoffs. Advance the bucket while impressions ≥ each cutoff and return the selected label.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| impressions | Impressions | Required. Safe integer; minimum 0. |
| cutoffs | Cutoffs | Required. Array of safe integer; maximum items 256. |
| labels | Labels | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| bucket | Bucket | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"impressions": 5,
"cutoffs": [
1,
4,
8
],
"labels": [
"none",
"low",
"medium",
"high"
]
},
"output": {
"bucket": "medium"
}
} Limitations and assumptions
- Exact cutoff values enter the higher bucket; labels and impression counts are supplied and no audience deduplication or frequency recommendation is made.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Review the complete measurement model, source data, and campaign terms before interpreting a performance result.
References
Similar or alternative tools
- Work Item Ageing Band
Select the last bound no greater than nonnegative ageDays.
- Restoration Plot Cover Class
Choose the last bound at or below cover percent.