Skip to main content

Posts

PropellerAds S2S Postback Guide: Fixing Missing ${SUBID} and Token Mismatches

  There is no costlier error in performance marketing than a disconnected feedback loop. You spend thousands on traffic, your affiliate network records conversions, but your traffic source—PropellerAds—shows zero conversions. When the traffic source is blind to conversions, its optimization algorithms cannot function. You are essentially bidding manually against competitors using automated machine learning. The root cause is almost always a failure in the Server-to-Server (S2S) postback chain. Specifically, the mismanagement of the click ID generation (macros) or the failure to persist that ID through the user session. This guide details exactly how to capture the PropellerAds  ${SUBID} , preserve it across your backend architecture, and fire a valid postback using modern PHP (8.2+) and Node.js (v20+). The Anatomy of an S2S Failure To fix the tracking, you must understand the lifecycle of the click ID. PropellerAds uses the macro  ${SUBID} . This is  not  a vari...

Solving "sw.js 404 Not Found" Errors for PropellerAds Push Notifications

  You have integrated the PropellerAds script, deployed your application, and checked your browser console only to find a critical error:   GET /sw.js 404 (Not Found) . Consequently, your push notification revenue stream fails to initialize, and the ad network dashboard reports your zone as "Not Verified." This is a ubiquitous issue in modern JavaScript development environments. While PropellerAds provides the  sw.js  file, modern bundlers like Webpack, Vite, or Parcel do not automatically place this file where the browser expects it. This guide details the root cause of this scope error and provides a rigorous, architectural solution to correctly bundle and serve the Service Worker file using Webpack and standard PWA practices. The Root Cause: Service Worker Scope and Bundling To fix the 404 error, you must first understand the strict security model of Service Workers and how build pipelines disrupt it. 1. The Scope Constraint A Service Worker can only control clien...