Server Side & Client Side
Important Notes:
- The Appnext platform can receive clicks and impressions sent from the server-side.
In return, the publisher will need to open the market URL as it will be provided by Appnext in the API JSON response.- The publisher will need to add the user's device IP, GAID and user-agent (client)
Sending Impressions and Clicks from Server Side
- Add s2s=1 to the API call
http://global.appnext.com/offerWallApi.aspx?pimp=1&tid=API&did=aaaa-bbbbb-ccccc&id=yyyyy-xxxxx-zzzzz&ip=103.216.82.30&cnt=20&s2s=1
- In return, you will receive back a JSON response includes -
- urlApp with s2s=1 parameter
- New field in the response - market_url link
urlApp with s2s=1 paramter
http://admin.appnext.com/appLink.aspx?b=642795&e=1030578&d=aaaa-bbbbb-ccccc&id=yyyyy-xxxxx-zzzzztid=2000&q=&osid=100&auid=500&fi=nd&pml=&s2s=1&clickId=B79L1CUPWA334U9F&sid=35ea77ef7b8841d18deee2ef32265dfb&ip=103.216.82.30
API response with Market URL
- Once the user is clicking on an advertisement, 2 operations should happen -
- The click will be sent to Appenxt servers (urlAppp)
- The publisher will open the market URL (market_url)
- The outcome will be a much simpler user experience for the user and no browser OR redirection should be involved in the process.
Sending Impressions and Clicks from Client Side
Important Notes
- Client-side integration provides the publisher with 2 options:
a) Open the market without any redirection and without browser opening (recommended)
b) Redirect the user to the store through the browser
Open the market without re-directions (recommended):
- Add s2s=1 to the API call and
http://global.appnext.com/offerWallApi.aspx?pimp=1&tid=API&did=aaaa-bbbbb-ccccc&id=yyyyy-xxxxx-zzzzz&ip=103.216.82.30&cnt=20&s2s=1
- In return, you will receive back a JSON response includes -
- urlApp with s2s=1 parameter
- New field in the response - market_url link
urlApp with s2s=1 paramter
http://admin.appnext.com/appLink.aspx?b=642795&e=1030578&d=aaaa-bbbbb-ccccc&id=yyyyy-xxxxx-zzzzztid=2000&q=&osid=100&auid=500&fi=nd&pml=&s2s=1&clickId=B79L1CUPWA334U9F&sid=35ea77ef7b8841d18deee2ef32265dfb&ip=103.216.82.30
API response with Market URL
Open the market with re-directions:
Send the urlApp without s2s=1 through the browser and we will redirect the user to the application details page in the store.
Updated about 4 years ago