Technical

Server-to-Server (S2S)

Glossary Term

Technical

Server-to-Server (S2S)

Glossary Term

Technical

Server-to-Server (S2S)

Glossary Term

What is Server-to-Server (S2S)?

Server-to-Server (S2S) is a direct connection between two servers that passes data reliably without depending on the user's device or browser. In advertising, S2S tracking confirms conversions and delivers rewards through postbacks, and it is much harder to spoof than client-side tracking.

What is Server-to-Server (S2S)?

Server-to-Server (S2S) is a direct connection between two servers that passes data reliably without depending on the user's device or browser. In advertising, S2S tracking confirms conversions and delivers rewards through postbacks, and it is much harder to spoof than client-side tracking.

What is Server-to-Server (S2S)?

Server-to-Server (S2S) is a direct connection between two servers that passes data reliably without depending on the user's device or browser. In advertising, S2S tracking confirms conversions and delivers rewards through postbacks, and it is much harder to spoof than client-side tracking.

Server-to-Server (S2S) describes two servers talking directly to each other, without routing the message through a user's phone or browser. In mobile advertising, this is how conversions get confirmed and rewards get delivered. When something important needs to be recorded accurately, sending it server to server keeps it out of reach of the device, where data can be lost, delayed, or tampered with.

How it works

In a typical S2S setup, one server sends a signed request to another when an event happens. If a user completes an action, the advertiser's server notifies the publisher's server directly, usually through a postback carrying an identifier for the user and the conversion. Because the two endpoints are known and the message is often signed or sent over a secured channel, the receiving server can trust that the event is real. The user's device is not asked to carry the message, so a slow connection or a closed app does not lose it.

S2S vs. client-side tracking

Client-side tracking relies on code running on the user's device to report events. It is simple to set up, but the device is an untrusted environment where events can be blocked, duplicated, delayed, or faked. S2S tracking moves the critical reporting to servers that each side controls. It takes more work to integrate, but the payoff is data that is reliable and much harder to manipulate. For anything tied to money, a payout or a confirmed sale, S2S is the standard.

Why S2S matters for accuracy and fraud

Two things make S2S worth the effort. The first is accuracy: a Mobile Measurement Partner (MMP) using S2S postbacks records conversions consistently, even when the app is backgrounded or the network drops. The second is defense against Ad Fraud. Client-side signals are easy to spoof, so a bad actor can fake installs or completions from a script. A signed server-to-server confirmation, tied to a specific event and validated by the receiving server, is far harder to forge, which is why payouts and attribution both lean on it. There is a privacy benefit as well. Because the data moves between servers the two parties control, sensitive identifiers do not have to pass through the browser or sit in a URL where they could leak.

S2S on an offerwall

An offerwall depends on S2S to work correctly. When a user completes an offer, the advertiser confirms it to the offerwall provider server to server, and the provider confirms the reward to the publisher the same way. Because every completion is verified through an S2S postback rather than a signal from the user's device, the reward the user receives and the payout the publisher earns both stay accurate. It also means a user cannot fake a completion from their phone to claim currency they did not earn.

Common mistakes to avoid

  • Treating client-side tracking as good enough for events that trigger a payout, where spoofing is easy.

  • Failing to validate or sign S2S requests, which leaves the connection open to forged calls.

  • Assuming S2S removes all fraud risk on its own, when it is one layer among several rather than a complete defense.

Frequently asked questions

Q: What is the difference between S2S and client-side tracking?

A: Client-side tracking reports events from code running on the user's device, which is easy to set up but simple to block or fake. S2S tracking passes the same events directly between two servers, so the data is more reliable and far harder to manipulate. Anything tied to a payout usually uses S2S.

Q: Why is S2S harder to spoof?

A: A server-to-server confirmation is sent between known endpoints and is often signed, so the receiving server can validate that the event is genuine. Because the message never passes through the user's device, a script on the phone cannot forge it, which is a key defense against Ad Fraud.