⚙️Postback
Experience a seamless journey towards setting up your own Postback as we walk you through each step, providing comprehensive guidance along the way.
Last updated
Experience a seamless journey towards setting up your own Postback as we walk you through each step, providing comprehensive guidance along the way.
Last updated
Quick Info : When a user successfully completes an offer, we immediately trigger a call to the Postback URL you have provided in your placement. This call contains all the relevant information required to credit your users, serving as a real-time notification to your server.
PARAMETER | DESCRIPTION | EXAMPLE |
---|---|---|
REWARD_VALUE
and PAYOUT
parameters are always absolute values, you will need to check status parameter to see if you need to add or subtract that amount from your users.
All values are URL encoded.
This is how we call your postback url :
https://example.com/api/adbreakmedia?user=abc123&coins=999&offerName=Lords%20Mobile&offerId=5620&ip=139.144.178.218&status=completed&transaction_id=1b6acc68414e699ebab37e0d5d2a17ab&country=US&is_multi=true&ename=Lords%20Mobile%20Castle%20level%207&eid=476ede1881042f072794e3cfb5c&hash=0c4c8e302e7a074a8a1c2600cd1af07505843adb2c026ea822f46d3b5a98dd1f
Note :
Our servers expect an HTTP Status Code 200 from your Postback URL. If this response is not received from your URL, we will attempt to resend the Postback up to 5 times. There is a 1 hour delay between each attempt. After 5th attempt, you will receive a Postback failure email from us.
Please be aware that the message returned by your postback endpoint should not include error messages such as fail
or error
. Otherwise, it will be considered a postback failure.
For enhanced security and to prevent tampering, please ensure that the postback URL used is exclusively designated for AdBreak Media. Additionally, consider whitelisting the server IP 139.144.178.218
for added protection.
You should also verify the hash received in the Postback to ensure that the call comes from our servers. Hash parameter should match SHA256 of :
To obtain your publisher secret key, please navigate to the dashboard settings/secret credentials section. Make sure to use this key for your postback verification purposes.
If you encounter any difficulties while setting up the postback, please don't hesitate to reach out to us at publishers@adbreakmedia.com. Our team will be more than happy to assist you as soon as possible!
[YOUR_USER_ID]
This is the unique identifier code of the user who completed action on your platform.
123GnL
[REWARD_VALUE]
The amount of your virtual currency to be credited to your user.
9000
[OFFER_NAME]
The Name of the offer completed.
Lords Mobile
[MULTI_EVENT]
Boolean: true
for a multi-event offer, false
otherwise.
false
[EVENT_NAME]
Name of the event action that got conversion
Lords Mobile Castle level 7
[EVENT_ID]
ID of the event action that got conversion
476ede1881042f072794e3cfb5c
[STATUS]
For determining the reward amount, completed
status adds currency while rejected
status subtracts it..
completed
[OFFER_ID]
ID of the offer as displayed on the AdBreak Media dashboard
5620
[USER_IP]
IP address of the user that completed the offer
139.144.178.218
[PAYOUT]
Amount in USD that you earned for this conversion
90.00
[TXID]
Unique ID of the conversion generated by AdBreak Media
1b6acc68414e699ebab37e0d5d2a17ab
[COUNTRY]
Country (ISO2 form) from the lead comes.
US
[HASH]
SHA256 hash that can be used to verify that the call has been made from our servers.
2cfbbd0297294396caf5c7db13bc36d5
[SUB1]
Extra Param that you passed though offerwall
Sa123s
[SUB2]
Extra Param that you passed though offerwall
Na70t