Sub-ID validity check
Sub ID Validity Check checks the format, length and number of distinct sub_id values. It supports clicks, conversions and impressions. Ensure your integration sends the publisher’s intended Sub ID rather than a new random value for every request.
Configuration options
Section titled “Configuration options”Open the filter in Filters and choose the event type.
| Control | Meaning and constraint |
|---|---|
| Accept Numbers Only | Restrict Sub IDs to numeric values. |
| Minimum Length | Shortest accepted value; cannot exceed the maximum length. |
| Maximum Length | Longest accepted value; at most 50 characters. |
| Maximum Unique Sub IDs | Set 0 to disable the uniqueness check, or use a limit of at least 20. |
| Unified Sub ID Name | Replacement Sub ID used when rejected clicks are sent on to the advertiser. |
When the unique-value threshold is exceeded, reporting renames the Sub ID to TOO_MANY_UNIQUE_SUB_ID while retaining the original value. This is not merely a warning label on an otherwise unchanged Sub ID. The unified redirect name is separate from that reporting value.
Select Done, then save the page.
Example and caveat
Section titled “Example and caveat”For numeric placement IDs, enable Accept Numbers Only and choose lengths that fit the publisher’s IDs. Do not enable numeric-only validation if legitimate IDs contain letters. A limit of 10 unique Sub IDs is invalid; use at least 20 or 0 to disable that check.
Use Data Validation to allow or block explicit parameter values.