Adfox simple links need a numeric randomization value.
The documented simple-link templates use /ads/adfox/{account}/getCode or goLink and carry a randomization value in pr. The pack checks presence, integer syntax and the documented bounds.
Runtime event URLs use a separate protocol, including pr=a. They remain outside this pack. Actual randomness and uniqueness require observations across requests.
Runtime events retain their own protocol.
An /adfox/{account}/event URL does not inherit the simple-link numeric contract. Core privacy and macro checks continue to run.
What this pack matches
Rules
Codes are stable. A finding in CI, MCP, or the playground lands on the same id.
| Field | Required | What it checks | Rule ids | Source |
|---|---|---|---|---|
pr |
required | Adfox requires its simple links to be randomized with an integer from 1 through 4294967295. This does not test randomness or per-request uniqueness. Minimum numeric value: 1. Maximum numeric value: 4294967295. | vendor.yandex-adfox-links.param.pr.missingvendor.yandex-adfox-links.param.pr.emptyvendor.yandex-adfox-links.param.pr.invalid |
docs |
Validate a payload
pixellint validate url "$ARTIFACT" --rulepack vendor/yandex-adfox-links
Try this failing payload in the playground. An Adfox simple link with zero randomization.
https://yandex.com/ads/adfox/123456/getCode?pr=0
cargo install pixellint
·
npm install pixellint