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
Last updated
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
Last updated
GET
https://api.adbreakmedia.com/api/offers
Get All active Offers directly for clientside
Name | Type | Description |
---|---|---|
field | Description | Example |
---|---|---|
GET
https://api.adbreakmedia.com/api/users/userHistory
Get All user history directly for client side
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.
Name | Type | Description |
---|---|---|
identifier*
String
Your Placement Identifier
userId*
The id
of the user
sub1
Extra value (it will be returned back to you)
sub2
Second Extra value (it will be returned back to you)
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
, id
, phone
, both
none
multipleTimes
boolean value, it means if the offer can be completed multiple times or not! true
, false
false
isFeatured
boolean value, to feature offer on top : true
, false
true
icon
Offer icon image to display to the user
category
category of the offer, app
, web
etc
app
url
tracking url of the offer
device
Array of supported device android
, ios
, desktop
android
popularity
score of the offer depending on it's performance from 0-100
80
error
boolean value : true
, false
false
message
message to determine offer fetching errors
Offers fetched successfully
device
User's Device based on our detection
desktop
userId
The user id you passed to us
1234
placement_identifier*
String
Your Placement Identifier
userId*
String
The id
of the user