Postback v2 → v3
Postback v2 delivers conversions as a GET request with query-string parameters; v3 delivers them as a signed POST with a JSON body. v2 is still supported, but v3 is recommended for new integrations. See Postbacks (v3) and Postbacks (v2) for full details.
Side by side
| v2 | v3 | |
|---|---|---|
| Method | GET | POST |
| Payload | query-string parameters | JSON body |
| Body shape | flat parameters | request_id and timestamp at the top level; all other fields under data |
| Signature | verifier query parameter (HMAC-SHA256 over the URL) | Signature request header (HMAC-SHA256 over the raw request body) |
| Booleans | strings (1/0 or true/false) | native JSON booleans |
Migrate
- Accept
POSTwith a JSON body instead of parsing GET query parameters. - Read fields from the new shape.
request_idandtimestampare top-level; the conversion fields (player_id,amount,payout,conversion_id, …) are nested underdata. - Verify the
Signatureheader instead of theverifierquery parameter: compute an HMAC-SHA256 hash of the raw request body, keyed with your secret, and compare it. (v2 hashes the URL; v3 hashes the JSON body.) See Postbacks (v3). - Expect native JSON types — booleans arrive as
true/false, not"1"/"0". - Switch the postback version in the AdGem Dashboard (or ask your Publisher Support Advocate), and test against your new endpoint before cutting over.
Both versions carry the same conversion data — only the transport, structure, and signature location change.