Your offerwall is live. Users are completing offers, rewards are flowing, and revenue is showing in your Perkox dashboard. Then your UA manager asks the question that ends most offerwall conversations: “How much of that revenue came from paid installs?”
If your MMP doesn’t see offerwall revenue events, the answer is a guess. Paid campaigns look weaker than they are, LTV models under-count, and scaling decisions get made on half the picture. This guide shows the exact setup that fixes it: connecting Perkox offerwall postbacks to your MMP’s server-to-server (S2S) event API, so offerwall revenue appears inside AppsFlyer or Adjust cohorts like any other in-app event.
Why MMPs miss your offerwall revenue by default
MMPs attribute events to installs and media sources using identifiers their SDK generates: the AppsFlyer ID on AppsFlyer, or the advertising ID (IDFA / GPS ADID) on Adjust. The offerwall lives on the reward layer of your stack, and its conversions are reported to you — the publisher — not to the MMP. The Perkox platform sends you a server-to-server postback when a user completes an offer, with the fields you need to credit the reward: player ID, click ID, offer ID, reward amount, payout, and conversion status.
Nothing in that flow tells AppsFlyer or Adjust anything. The revenue is real, but invisible to attribution. Every cohort report, every ROAS calculation, every UA optimization run inside your MMP is missing it.
The fix is a relay: when Perkox sends you a postback, your backend forwards the event to the MMP’s S2S endpoint, attached to the user’s MMP identifier. One small service, two endpoints, and offerwall revenue becomes first-class data in your attribution stack.
Step 1 — Configure the Perkox postback
In the Perkox Publisher Portal, under Postback URL Configuration, set your postback endpoint. Perkox supports GET (recommended for simple integrations) and POST (recommended for advanced backends), and uses dynamic placeholders that get replaced with real values on each conversion:
{player_id}— the user ID passed from your app{click_id}— unique ID for the click event{offer_id}— the completed offer{reward_amount}— amount credited to the user{payout}— your publisher payout{status}— conversion status (approved,pending,rejected,reversed){sub1}–{sub5}— custom tracking parameters
A postback template that gives your relay everything it needs looks like:
https://yourbackend.com/perkox/postback?player_id={player_id}&click_id={click_id}&offer_id={offer_id}&reward_amount={reward_amount}&payout={payout}&status={status}&sub1={sub1}
The sub parameters are the key to attribution. They travel through the offerwall click and come back on the postback — which means you can carry your MMP identifier through them. More on that in step 3.
Before anything else, apply the backend hygiene from the docs: validate the postback on your server, check conversion status before crediting, block duplicate conversions by storing click IDs, and log every event. A relay that forwards junk pollutes your MMP data — rejected and reversed conversions must never be reported as revenue.
Step 2 — Build the identity map (the step everyone skips)
Here is the hard truth of offerwall attribution: the Perkox postback identifies the user by player_id. AppsFlyer and Adjust identify users by their own identifiers. Those two IDs mean nothing to each other until you connect them.
The mapping has to be built on the client, at app launch:
- AppsFlyer: get the
appsflyer_idfrom the SDK and register it as the Customer User ID (CUID). AppsFlyer’s own S2S documentation describes exactly this: to map your CUID to the AppsFlyer ID, you must set the CUID in the app. - Adjust: capture the advertising ID (or the Adjust device ID) your SDK exposes and store it against your player ID server-side.
So the flow at first launch is: SDK generates the MMP identifier → your app sends (player_id, appsflyer_id) or (player_id, adid) to your backend → your backend stores the pair. From then on, every player_id on a Perkox postback resolves to an MMP-attributable user.
Skip this step and the relay has nothing to forward. This is the single most common reason offerwall revenue “doesn’t show up” in MMP dashboards — the postbacks arrive fine, but they arrive unattributable.
Step 3 — Forward events to AppsFlyer’s S2S API
AppsFlyer’s S2S in-app events API accepts events that happen outside the app, which is exactly what an offerwall conversion is. The endpoint is:
POST https://api3.appsflyer.com/inappevent/{app_id}
with authentication via your AppsFlyer Dev Key. The essential payload fields, per AppsFlyer’s documentation:
appsflyer_id(required) — the identifier from step 2. AppsFlyer uses it to attach the event to the original install and its media source. iOS app IDs in the URL path must be prefixed withid— AppsFlyer notes that omitting it returns a valid 200 OK without recording the event, a silent failure worth knowing about.eventName— define a custom event likeofferwall_conversionin your dashboard and mark it as revenue-relevant.eventValue(required, JSON string) — this is where revenue goes:{"af_revenue": "0.12", "af_content_type": "offerwall", "af_content_id": "10101"}. Sendaf_revenuein real currency, using your publisherpayoutvalue — not the virtual currency amount the user received. If you report reward-amount instead of payout, your cohorts overstate revenue.eventTime— optional, but send the postback timestamp so conversions land in the right day.
Your relay receives the Perkox postback, looks up player_id → appsflyer_id, checks status == approved, dedupes on click_id, and posts the event. AppsFlyer then populates attribution fields from the associated install, and the revenue shows up in dashboards, raw data, and cohort analytics like any SDK event.
Step 4 — Forward events to Adjust’s S2S API
Adjust’s S2S events endpoint is https://s2s.adjust.com/event and accepts GET or POST with URL parameters (POST with a body must be application/x-www-form-urlencoded). Each request requires:
- An advertising ID —
idfa(iOS) orgps_adid(Android) — from step 2’s identity map event_token— create a dedicated event token in the Adjust dashboard (e.g.ofwall1)app_token— your Adjust app tokens2s=1— the hardcoded parameter marking the request as server-to-server
Revenue and metadata travel in callback_params as a JSON object: {"revenue":"0.12","currency":"USD","offer_id":"10101"}. If you enable S2S Security on the app — and you should — the request must also carry an Authorization bearer token with the Events scope generated in your dashboard; requests without a valid token are rejected.
One note per Adjust’s docs: the S2S API is for custom events only. Installs and sessions stay with the SDK; your relay adds offerwall conversions on top. That is precisely the right division of labor for this integration.
What you get once it’s wired
With the relay live, offerwall revenue stops being a dashboard island and becomes attribution-native:
- Cohort LTV includes the reward layer. Day-7 and Day-30 revenue per user finally counts the 95% of players who never make an IAP but complete offers daily.
- ROAS by channel is honest. If a UA source’s users are heavy offerwall completers, that shows up — often the difference between killing a campaign and scaling it.
- Custom event segmentation. Because the event carries
af_content_id/ callback params, you can split by offer type (surveys vs. trials vs. installs) inside the MMP. - Clean exits. Status handling matters beyond rewards: forwarding only
approvedconversions keepsrejectedfraud out of your revenue data andreversedchargebacks from inflating cohorts.
Common failure modes (and the fix for each)
- Events return 200 but never appear (AppsFlyer). Almost always the iOS app ID missing the
idprefix in the path, or anappsflyer_idthat doesn’t match a real install. AppsFlyer documents both as silent failures. - Adjust returns 400 “Invalid event token.” The event token doesn’t exist or doesn’t belong to the app token in the request. Create both in the same app.
- Revenue attributed but tiny. You’re sending
reward_amount(user-facing virtual currency) instead ofpayout(your real revenue). Report the payout. - Some users never attribute. ATT-limited iOS users may have no IDFA; the identity map should fall back to the Adjust device ID or another accepted identifier. Users your map can’t resolve should be logged, not silently dropped.
- Duplicate revenue. Offerwalls retry postbacks. Dedupe on
click_idbefore forwarding — AppsFlyer and Adjust will both happily record the same event twice.
The bigger picture: the monetization stack, measured
The industry default is to treat the offerwall as a bolt-on that lives outside the measurement stack. That’s a mistake. The offerwall is a monetization layer — rewarded engagement that pays 2–4× more per engagement than rewarded video — and with a two-endpoint relay it reports into the same systems your UA team already runs on. IAP for the payers, ads for the middle, offerwall for the 95% who never pay — and all three visible in one cohort report.
Perkox sends the events; your relay forwards them; your MMP does what it does best. If you’re planning the integration, the postback configuration docs cover the placeholders, status handling, and testing checklist, and our earlier complete postback guide walks the reward-crediting side end to end.
