Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
Name | Values | Description | ||||||
status | success, error | Request status | ||||||
message | Success or error message | |||||||
count | Number of results in response (in data array) | |||||||
totalCount | Number of total results | |||||||
totalPages | Number of available pages (according to used limit value) | |||||||
page | Current page number | |||||||
data | List of offers | |||||||
data.*.id | Offer id | |||||||
data.*.website_url | Offer website preview link | |||||||
data.*.status | Offer status | |||||||
data.*.category | Offer category | |||||||
data.*.category.name | Offer category name | |||||||
data.*.geo | Countries, in which this offer is available | |||||||
| *source_id required to get tracking link Tracking link or error message if something went wrong. Errors list:
| |||||||
data.*.type | Offer types | |||||||
data.*.payout | Offer payout description | |||||||
data.*.short_payout | Offer short payout description | |||||||
data.*.hold_period | Hold periods. Number of days | |||||||
data.*.cookie_lifetime | Cookie lifetime in days | |||||||
data.*.deeplink | true/false | offer deeplink | ||||||
data.*.hold_period | hold period | |||||||
data.*.cookie_lifetime | cookie lifetime | |||||||
data.*.cookie_lifetime_is_hours | true/false | Determine if the cookie lifetime is in hours (true) or not (false) | ||||||
data.*.traffic_restrictions | Offer traffic restriction | |||||||
data.*.traffic_restrictions.*.name | Traffic restriction name | |||||||
data.*.traffic_restrictions.*.status | allowed, forbiden, need approval | Traffic restriction status | ||||||
data.*.logo | Offer logo link | |||||||
data.*.banners | List of offer banners | |||||||
data.*.banners.*.size | Banner size (e.g. "100-120" => width 100px, height 120px) | |||||||
data.*.banners.*.file | Banner file name | |||||||
data.*.banners.*.link | Banner download link | |||||||
data.*.landing_pages | List of offer landing pages | |||||||
data.*.landing_pages.*.id | Landing page id | |||||||
data.*.landing_pages.*.title | Landing page title (name) | |||||||
data.*.landing_pages.*.preview_url | Landing page URL |
...
Name | Values | Description | ||||||
total | Number of total offers | |||||||
per_page | Number of data limit in one page | |||||||
current_page | Number of current page | |||||||
last_page | Number of last page | |||||||
first_page_url | URL for first page | |||||||
last_page_url | URL for last page | |||||||
next_page_url | URL for next page | |||||||
prev_page_url | URL for previous page | |||||||
path | Path of URL | |||||||
from | Number of first data in current page | |||||||
to | Number of last data in current page | |||||||
data | List of offers | |||||||
data.title | offer name | |||||||
data.type | cps, cpl, etc. | |||||||
data.deleted_at | ||||||||
data.id_thumbnail | ||||||||
data.advertiser_id | ||||||||
data.geo | ||||||||
data.short_payout | ||||||||
data.preview_url | ||||||||
data.cr | conversions rate | |||||||
data.category_id | ||||||||
data.created_at | ||||||||
data.overage | ||||||||
data.visibility | active, need approval, private, testing | Offer visibility rules: private - private offer, available for particular publishers only. testing - an offer that is used for testing or it’s integration with Indoleads is in progress. | ||||||
| bool | * Used only if visibility is ‘need approval' | ||||||
data.applied | bool | * Used only if visibility is 'need approval' The field has TRUE If Publisher applied to the offer and the application is pending, FALSE - if application was approved, rejected or doesn’t exists. | ||||||
data.rejected | bool | * Used only if visibility is 'need approval' The field has TRUE If Publisher`s application to the offer was rejected, FALSE - if publisher doesn’t applied to the offer or the application is pending or approved. | ||||||
data.blocked | bool | Displays if user was banned for using the offer. | ||||||
data.active | bool | |||||||
data.advertiser | ||||||||
data.traffic_restrictions | ||||||||
data.caps |
...
Response Fields:
Name | Values | Description | conversion_id | conversion id | offer_id | offer id | date | conversion date | status | conversion status | created | conversion created in timestamp | currency | conversion currency | payout | payout | payout_usd | payout usd |
sale_amount | sale amount | offer_title | offer title | click_time | click timestatus | Enum: error | Request processing status | |||||||||||
message | string | Error message | ||||||||||||||||
count | integer | Numer of conversions in response | ||||||||||||||||
data | array | List of conversions. Each item inside of the data list represents Conversion instance | ||||||||||||||||
data.*.conversion_id | UUID | Conversion ID | ||||||||||||||||
data.*.offer_id | integer | Offer ID / Campaign ID | ||||||||||||||||
data.*.date | string | Conversion date (in YYYY-MM-DD format) | ||||||||||||||||
data.*.status | Enum: | Conversion status | ||||||||||||||||
data.*.created | integer | Conversion created date timestamp | ||||||||||||||||
data.*.currency | string, | Conversion currency | ||||||||||||||||
data.*.payout | float | Payout, publisher`s reward | ||||||||||||||||
data.*.payout_usd | float | Payout reward converted to the USD | ||||||||||||||||
data.*.sale_amount | float | null | Order amount | ||||||||||||||||
data.*.offer_title | string | Offer title | ||||||||||||||||
data.*.click_time | string | Click event timestamp | ||||||||||||||||
data.*.p1 | string | Publisher`s custom parameter #1 | ||||||||||||||||
data.*.p2 | string | Publisher`s custom parameter #2 | ||||||||||||||||
data.*.p3 | string | Publisher`s custom parameter #3 | ||||||||||||||||
data.*.p4 | string | Publisher`s custom parameter #4 |
2.5. Search offers by domain
...
4.1. Get publisher's sources types
Route: /getPublisherSourcesTypes/{publisher_id}
Type: GET
Parameters:
...