pixellint

Active View measurements allow nonmeasurable size and position values.

The published Active View pixel describes ad keys and measurement fields on pagead2 /pcs/activeview. The pack checks their observable syntax and dimensions.

Negative size and position values can describe a nonmeasurable impression. Viewability thresholds and timing correlations need browser and session context.

Apply the contracts within their published source scope.

Negative size and position values can describe a nonmeasurable impression. Viewability thresholds and timing correlations need browser and session context.

What this pack matches

Hosts
pagead2.googlesyndication.com
Paths
/pcs/activeview
Vendor docs
support.google.com/admanager/answer/6123557?hl=en

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
id optional Measurement ID. The source shows osdim, lidar and lidarv without an exhaustive accepted set. vendor.google-activeview.param.id.empty docs
adk optional Opaque slot identifier used to correlate with the ad request. Numeric spelling is an example, not an explicit accepted grammar. vendor.google-activeview.param.adk.empty docs
bs optional Browser viewport width,height. Negative dimensions are explicitly valid diagnostics. vendor.google-activeview.param.bs.empty
vendor.google-activeview.param.bs.invalid
docs
mtos optional The published list has five coverage buckets, in order100%,75to99%,50to74%,25to49%,1to24%. Do not infer positivity or monotonicity from examples. vendor.google-activeview.param.mtos.empty
vendor.google-activeview.param.mtos.invalid
docs
p optional Four creative coordinates, top,left,bottom,right. Negative and zero-size rectangles are diagnostics, not malformed input. vendor.google-activeview.param.p.empty
vendor.google-activeview.param.p.invalid
docs

Validate a payload

pixellint validate url "$ARTIFACT" --rulepack vendor/google-activeview

Or paste it into the playground. Same engine, in the browser, nothing sent anywhere.

cargo install pixellint · npm install pixellint