Client API
The following api is for client side only, meaning you can directly integrate our offers on your client side using javascript or similar code/framework
Get Offers
Get Offers
GET
https://api.adbreakmedia.com/api/offers
Get All active Offers directly for clientside
Query Parameters
Name | Type | Description |
---|---|---|
identifier* | String | Your Placement Identifier |
userId* | The | |
sub1 | Extra value (it will be returned back to you) | |
sub2 | Second Extra value (it will be returned back to you) |
field | Description | Example |
---|---|---|
id | ID of the Offer | 5026 |
name | Offer Name to display to the user | Lords Mobile |
description | Offer Description to display to the user | Discover the kingdom |
payout | The total payout that will be awarded for completing this Offer (your currency) | 9080 |
events.id | id of the event | 646fe4c6753722fa9f6c621b |
events.action | predefined requirements for users to trigger conversion | Defeat Level 2 Monster |
epc | earning per click value of an offer | 0.2 |
verification | if user is suspicious or the offer is more sensitive on frauds, this is required, | none |
multipleTimes | boolean value, it means if the offer can be completed multiple times or not! | false |
isFeatured | boolean value, to feature offer on top : | true |
icon | Offer icon image to display to the user | |
category | category of the offer, | app |
url | tracking url of the offer | |
device | Array of supported device | android |
popularity | score of the offer depending on it's performance from 0-100 | 80 |
Get userHistory
Get User History
GET
https://api.adbreakmedia.com/api/users/userHistory
Get All user history directly for client side
Query Parameters
Name | Type | Description |
---|---|---|
placement_identifier* | String | Your Placement Identifier |
userId* | String | The |
Note: payoutEarned param is only available on multievent offers
Good to know: If you have any queries or feel difficulty in integrating our offers, reach out to our publisher support at publishers@adbreakmedia.com and they will help you solve your issue.
Last updated