adjust-icon

Server-to-server (S2S) API

S2S endpoints

EndpointFunction
https://s2s.adjust.com/eventNotifies Adjust of in-app events
https://s2s.adjust.com/ad_revenueNotifies Adjust of ad revenue data
https://s2s.adjust.com/sessionNotifies Adjust of session data

Device identifiers

The device identifiers accepted for S2S events are as follows:

Preferred identifiers

NameValue
Raw IDFA (IOS only)idfa
Raw Google advertising IDgps_adid
Raw Amazon Fire advertising IDfire_adid
Open Advertising ID (OAID, Huawei only)oaid
Web ID (Generated by the Adjust Web SDK)web_uuid

Backup identifiers

NameValue
Raw IDFV (IOS only)idfv
Android ID (Android only)android_id

Event submission responses

All successfully recorded events return an OK response.

Failed events return an HTTP error code and JSON message.

Error response
{ "error": "Event request failed (${error_message})" }

Error messages define the request problem. Use this table to identify your error, then review your setup or reach out to support@adjust.com for help.

Error codeError messageReason
400Bad event stateOccurs if request details don’t meet expectations. For example: created at time is before installed_at time.
400Invalid app tokenApp token not set correctly
400Ignoring event, earlier unique event trackedA unique event was already recorded. This is ignored as a duplicate.
400Invalid callback parametersCallback parameters couldn’t be extracted
400Invalid event tokenEvent token doesn’t exist, was set incorrectly, or doesn’t match the app token.
400Invalid revenueAmount set incorrectly or value too high (limit = 100,000,000,000)
401Failed to authorize requestAuthorization token missing or doesn’t match
403App is inactiveApp was deactivated in the dashboard
403Tracking disabledMeasurement not enabled for this platform
403Event token blocklistedEvent token blocklisted
404App token not foundApp token not found
404Device not foundNo device data found
413Request size too largeYour request exceeds the limit of 1 MB
451Device is opted outDevice is opted out
500Internal error, contact support@adjust.comInternal error when updating device data