Server-to-server (S2S)
Send events directly from your backend to Adtrace using the S2S Event API. S2S is a platform-independent API — it is not tied to Android, iOS, or Web SDK code paths.
Use S2S when:
- Data is sensitive and should not leave your server (for example purchases).
- Server-side validation must complete before an event is sent.
- You need to backfill or aggregate historical revenue.
Install is required (SDK integration needed)
S2S does not replace SDK integration. The device must have a recorded install before any S2S event is accepted, and a reliable install requires the Adtrace SDK in the app or on the web page.
You can then send selected events from your server using the platform device identifier (gps_adid, idfa, web_uuid, or adtrace_adid).
Guides
Server-to-server events
Endpoint, auth, request body, platform identifiers, and examples
FAQ
Common S2S integration questions and troubleshooting answers
Platform device identifiers
| Platform | Send one of | Read from |
|---|---|---|
| Android | gps_adid or adtrace_adid | Android device IDs |
| iOS | idfa or adtrace_adid | iOS device IDs |
| Web | web_uuid or adid | Web device IDs |
Verify the install exists in the Testing Console in the Adtrace panel before sending S2S events.