Key facts
- Validates 8 production rejection rules before your CRM webhook ever hits Google Ads Data Manager API or Meta Conversions API.
- Computes normalized SHA-256 digests for email and E.164 phone numbers statelessly at the Cloudflare Edge (never logged or saved).
- Available as an open-source GitHub Action and CLI validator via
farhanmunshi-ops/attribution-repair-kitand via our public MCP server (/mcp).
Validate & Hash a Sanitized CRM Conversion Row
Load test preset:
Validation Rules Enforced by This Edge Checker
| Rule Check | Failure Trigger | Production Impact If Missed |
|---|---|---|
| 90-Day Click Expiry | conversion_time - click_time > 90 days | Silent EXPIRED_EVENT drop inside HTTP 200 |
| Single Click-ID Guard | 2+ of gclid, gbraid, wbraid present | Row rejection across OCT & Data Manager API |
| Timestamp Ordering & Offset | Missing timezone offset or conv < click | CONVERSION_PRECEDES_EVENT rejection |
Deterministic order_id | Blank or random UUID per retry | Duplicate conversions inflate ROAS 2x |
| E.164 Phone & Email SHA-256 | Unnormalized uppercase or local phone format | Enhanced Conversions & Meta EMQ drop below 6.0 |
Related Error Fixes & Primary Specs
Decode literal API error codes in our 14-Code Error Decoder, read the HubSpot Dynamic Revenue Blueprint, or inspect the open-source validator on GitHub (attribution-repair-kit). Vendor specs: Google Ads Data Manager API Reference and Cloudflare Workers Docs.
Diagnostic Tool FAQs
Does this validator cover Google Ads Data Manager API and legacy OCT rules?
Yes. Both Google Ads Data Manager API (required for new adopters since June 15, 2026) and legacy Google Ads OCT enforce the same core data hygiene rules: hard 90-day click expiration, strict single-click-ID mutual exclusion (gclid vs. gbraid/wbraid), ISO-8601 timezone offsets, numeric conversionValue, deterministic orderId deduplication, and SHA-256 email/E.164 phone normalization.
Why does sending both gclid and gbraid on one conversion row cause silent rejections?
Google's offline conversion schema allows strictly one click identifier per conversion row. Populating both gclid and gbraid (or wbraid) from loose CRM fallback formulas triggers a partialFailureError drop inside an HTTP 200 OK response.
How should emails and phone numbers be normalized before SHA-256 hashing?
Trim leading/trailing whitespace, convert email addresses to strictly lowercase (and remove dots before @ for Gmail/Googlemail if matching Google's strict spec), format phone numbers to E.164 with leading plus and country code (e.g., +14155552671), and then compute the lowercase 64-character hex SHA-256 digest.