Integrate real-time Click IVT response
Integrate real-time Click IVT response
This guide explains how to integrate the real-time Click IVT response analysis during click redirection. It assumes you have reviewed the integration options guide and selected the Observer-Path with real-time Click IVT response.
For the Observer-Path with real-time Click IVT response, both the HUMAN JavaScript detection tag and the real-time API are used in tandem.
Prerequisites
To integrate your platform with the real-time API, ensure you meet the following requirements:
- You have deployed the detection tag by following the instructions on deploying the detection tag.
- For the real-time API, your platform must participate in the click redirection chain and be able to process HTTPS API calls.
Integrate the real-time Click IVT response
Our API consists of a single endpoint: /lookup. Use this endpoint to pass information about individual clicks, one at a time, during click redirection. In response, the endpoint will return the corresponding IVT decision for each click. HUMAN will provide you with your API credentials and the exact endpoint URL.
- Request Type:
POST - Authorization Header:
authorization: Basic base64(<username>:<password>) - Request Body: JSON payload containing the click telemetry. See Real-time API request parameters for detailed parameter descriptions.
The endpoint returns the corresponding invalid traffic detection for the click. If the request results in an error, it will return a 400 Bad Request.
Response mapping:
lookupId: A unique ID for the response generated by our real-time API.ivt: A boolean value. Use this to trigger your blocking logic.true: Invalid clickfalse: Valid click
policy: Indicates whether the click was detected as part of a custom policy.serverId: Unique server ID for debugging purposes.ivtTaxonomy: The specific Click IVT taxonomy code. See Click IVT Taxonomy for detailed category descriptions.
Next steps
After integrating the real-time API, contact a HUMAN representative for assistance with testing and validation.