Apiary Powered Documentation
Sign in with Apiary account.
This is the API documentation for Tradedoubler's Publisher platform. At Tradedoubler we expose all features available in our web UI through the API. If you spot any incorrect information please: Email Us
Authentication against the API is handled by oAuth 2.0 using bearer tokens. Once you have authentication using the oauth endpoint, all requests require a bearer token sent via the Authorization
header as per the following format:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZHVzZXIiOiIzYWY2MDIyZDlmZjQ2NjcxNTEwOWY1OWQ2Yjc4MDI0YjI0NzA1Y2RiYzRhNDJkODkxMGNhNmZkYjBhN2RkNzE5ODJkNDdhNTQwN2FjNTQxYTAyZDczOTRmMmQxZmI5ODI1NTRhYjRjNWE2OTAyMjQ3NGEwZDczNDY5M2ZjMmEzMDgzYTI0MzBkYzI4OTU4ZDI2MmQ5OGZiOTBhYzk1Yjc3YTMyMmViOTM0NDdiMzFlMzY2YWU3ZTlmNzM0M2NmM2NhM2I5ZWVkNzQzYTc5Y2JmY2EyYzQzMmE0YWIxMGU5MTU2YzFlYzQxZTVmNzBjZmIwMzZiMDE5MmQ1ZTllYjQ5OGRmNzMzZDNlZWVmYTIxNDM4YjE2NGRhOTgyYjVjYmIxM2ZhMzgyMzY5NzlkZTllMTQwNWJhYTY0YWRjYmQzNTllZGM5NjcyZWVkY2MxN2IyMzY0MTU5ZmNkOWFmMzFhMDYyMWM2MmQwYzEyMGM0Y2YyOWFiNzAwYWRmNWYzMWI0YTNmN2M5NDgxNDE4M2UxM2YwODIwZmE0ZmFkMDM5NiIsInVzZXJfbmFtZSI6InVrQHRyYWRlZG91Ymxlci5jb20iLCJjcmVhdGVkIjoxNTQ5OTc3MDE3LCJzY29wZSI6WyJyZWFkIl0sImV4cCI6MTU0OTk3NzkxNywiYXV0aG9yaXRpZXMiOlsiUk9MRV9VU0VSIl0sImp0aSI6IjA2OGU4YTllLTc4ZjUtNDdkNy1iMjU1LWU1YmZmZjExYWM4OCIsImNsaWVudF9pZCI6InRkY29ubmVjdF9wdWJsaXNoZXIifQ.cN_ose-fMtxGbVN27Yg2Sotc4zz4oLLVkyZHvCvj0zs
You will need a valid Client ID and Secret code before you can use the API. You will need to retrieve this through the Tradedoubler Publisher UI. For more information see oAuth Section
The reponse format for all API requests is JSON. All requests should therefore contain the following header:
Content-Type: application/json
To ensure system stability we apply limits to the number of API requests allowed by API Clients. This is limited to 60 requests per minute. If you exceed this you will receive the a HTTP 429 Too Many Requests Status Error with the response body:
API rate limit exceeded
Please wait another minute and you will be able to make API requests again.
To handle large results and to optimise performance of our API we use paginatation on a number of our endpoints to reduce the size of results returned to the client. All endpoints supporting pagination will return 2 attributes:
offset
limit
To page through the results you need to supply two fields within the body of your GET request:
Paramater | Description | Details |
---|---|---|
offset | Offset the results by a specified amount | Integer, default is 0 |
limit | Limit the number of results to be returned | Integer, default is 20, maxmium limit is 100 unless specified |
For example:
If the limit is default at 20 and an endpoint produces 100 results, only the first 20 will be returned (results 0 to 19).
In order to retrieve the remaining results, use the offset parameter. In this example, adding offset=20 to the query string parameters.
Results begin at offset 0. If you're retrieving a report with limit=20, page 2 will begin at offset=20, page 3 at offset=40, page 4 at offset=60, etc.
Publisher users can be given one of four roles. This determines which endpoints they can access.
Method | URL | Owner | Admin | Member | Read-only |
---|---|---|---|---|---|
GET | /users/me | ✔ | ✔ | ✔ | ✔ |
PUT | /users/me | ✔ | ✔ | ✔ | ✔ |
PUT | /users/me/password | ✔ | ✔ | ✔ | ✔ |
GET | /users/me/password/reset | ✔ | ✔ | ✔ | ✔ |
PUT | /users/me/password/reset | ✔ | ✔ | ✔ | ✔ |
POST | /users/me/password/reset | ✔ | ✔ | ✔ | ✔ |
GET | /users | ✔ | |||
POST | /users | ✔ | |||
GET | /users/{logonAccountId} | ✔ | |||
PUT | /users/{logonAccountId} | ✔ | |||
DELETE | /users/{logonAccountId} | ✔ | |||
GET | /users/countries | ✔ | |||
POST | /users/countries | ✔ |
Method | URL | Owner | Admin | Member | Read-only |
---|---|---|---|---|---|
GET | /account | ✔ | ✔ | ✔ | ✔ |
PUT | /account | ✔ | |||
DELETE | /account | ✔ | |||
GET | /account/options | ✔ | ✔ | ||
GET | /ads | ✔ | ✔ | ✔ | ✔ |
GET | /sources | ✔ | ✔ | ✔ | ✔ |
POST | /sources | ✔ | ✔ | ✔ | |
GET | /sources/{sourceId} | ✔ | ✔ | ✔ | ✔ |
PUT | /sources/{sourceId} | ✔ | ✔ | ✔ | |
DELETE | /sources/{sourceId} | ✔ | ✔ | ✔ | |
GET | /sources/options/countries | ✔ | ✔ | ✔ | ✔ |
GET | /sources/options/languages | ✔ | ✔ | ✔ | ✔ |
GET | /sources/options/promotiontypes | ✔ | ✔ | ✔ | ✔ |
GET | /sources/options/sourcetypes | ✔ | ✔ | ✔ | ✔ |
GET | /programs | ✔ | ✔ | ✔ | ✔ |
GET | /programs/detail | ✔ | ✔ | ✔ | ✔ |
POST | /programs/apply | ✔ | ✔ | ✔ | |
GET | /tokens | ✔ | ✔ | ✔ | |
POST | /tokens | ✔ | ✔ | ||
GET | /payment/settings | ✔ | ✔ | ||
PUT | /payment/settings | ✔ | |||
GET | /payment/providers | ✔ | |||
GET | /payment/settings/fields/tradedoubler | ✔ | |||
GET | /payment/settings/fields/payoneer | ✔ |
Method | URL | Owner | Admin | Member | Read-only |
---|---|---|---|---|---|
GET | /statistics | ✔ | ✔ | ✔ | ✔ |
GET | /statistics/export | ✔ | ✔ | ✔ | ✔ |
GET | /transactions | ✔ | ✔ | ✔ | ✔ |
GET | /transactions/export | ✔ | ✔ | ✔ | ✔ |
GET | /transactions/payments | ✔ | ✔ | ✔ | ✔ |
GET | /transactions/export/payments | ✔ | ✔ | ✔ | ✔ |
GET | /dashboard | ✔ | ✔ | ✔ | ✔ |
GET | /dashboard/programs | ✔ | ✔ | ✔ | ✔ |
GET | /dashboard/sources | ✔ | ✔ | ✔ | ✔ |
GET | /payments | ✔ | ✔ | ||
GET | /payments/{paymentId} | ✔ | ✔ | ||
GET | /payments/earnings | ✔ | ✔ | ✔ | ✔ |
GET | /payments/accountBalanceBreakdown | ✔ | ✔ | ✔ | ✔ |
GET | /payments/pendingEarningsBreakdown | ✔ | ✔ | ✔ | ✔ |
GET | /payments/digitalWallets | ✔ | ✔ | ✔ | ✔ |
Tradedoubler APIs use oAuth2 authentification with refreshTokens. All requests must be validated with a bearerToken in the header request.
Only use oAuth2 credentials when you don't already have a refresh token!
To use our APIs you will need to create a client which provides a ClientId and ClientSecret. The client is required to generate a bearer token which is used on all subsequent API requests to validate your account and role. This is created in the Publisher UI: https://publishers.tradedoubler.com/en/uaa/clients
Your clientSecret is only shown once when you create a new client. If you do not know your clientSecret you must delete and recreate the client in the Publisher UI!
To generate a bearer token you need to send a POST request to the oauth endpoint with your username and password. All requests have to be signed with an Authorization generated by a valid ClientID and ClientSecret in the Header:
Authorization: Basic U3dhZ3dsciByb2Nrcw==
Where U3dhZ3dsciByb2Nrcw==
is Base64 encoding of ClientID and ClientSecret (seperated by a colon and no whitespaces)
base64encoded(ClientID:ClientSecret)
To refresh a token you need to send a POST request to the oauth endpoint with the refresh token received in the response when generating a bearer token. All requests have to be signed with an Authorization generated by a valid ClientID and ClientSecret in the Header:
Authorization: Basic U3dhZ3dsciByb2Nrcw==
Where U3dhZ3dsciByb2Nrcw==
is Base64 encoding of ClientID and ClientSecret (seperated by a colon and no whitespaces)
base64encoded(ClientID:ClientSecret)
Users have access to Publisher Organization and have four roles available: Owner, Admin, Write, Read. A Publisher Organization always has one user with the role owner. This service allows the creation and management of users for the Publisher Organization.
A User is an individual logon account connected to a Publisher organization.
Get details related to current logged in user. This is available for any role.
1234567
user123
A
User
user's email address
user@tradedoubler.com
Role ID of user, 1 = Owner, 2 = Admin, 3 = Member, 4 = Read-only
1
2 Character language code of user (ISO 639-1)
en
1234567
When Publisher is in a private network, the ID of the private network organization
0
array of countries the user should have access to. Countries should be ISO_3166-1 Alpha-2
Y
User type, if a publisher or advertiser. Publisher typeId is always 1
1
123456
Update details related to current logged in user. This is available for any role.
user123
A
User
user's email address
user@tradedoubler.com
2 Character language code of user (ISO 639-1)
en
Provides a list of all users connected to the Publisher Organization. This is only available for the user with the role Owner.
Create a new user for a Publisher Organization.
user123
A
User
user's email address
user@tradedoubler.com
Role ID of user, 1 = Owner, 2 = Admin, 3 = Member, 4 = Read-only
1
user's password
aUn1queP@ssword
2 Character language code of user (ISO 639-1)
en
array of countries the user should have access to. Countries should be ISO_3166-1 Alpha-2
Y
Provides information for a specific user based on their logonAcccountId. This is only available for the user with the role Owner.
1234567
user123
A
User
user's email address
user@tradedoubler.com
Role ID of user, 1 = Owner, 2 = Admin, 3 = Member, 4 = Read-only
1
2 Character language code of user (ISO 639-1)
en
1234567
When Publisher is in a private network, the ID of the private network organization
0
array of countries the user should have access to. Countries should be ISO_3166-1 Alpha-2
Y
User type, if a publisher or advertiser. Publisher typeId is always 1
1
123456
Update information for a specific user based on their logonAcccountId. This is only available for the user with the role Owner.
user123
A
User
user's email address
user@tradedoubler.com
Role ID of user, 1 = Owner, 2 = Admin, 3 = Member, 4 = Read-only
1
2 Character language code of user (ISO 639-1)
en
array of countries the user should have access to. Countries should be ISO_3166-1 Alpha-2
Y
Delete a user a specific user based on their logonAcccountId, this will remove their access to login or access any Publisher Organization information. This is only available for the user with the role Owner.
Change the password of logged in user
Provides the Account information for the Publisher Organization a user is connected to.
View account information for the Publisher Organization. This is only available for users with the role Owner or Admin.
1234567
Tradedoubler
Phone number, must include country code
"+46 84050800"
Optional additional phone number, must include country code
"+46 84050800"
https://www.tradedoubler.com/logo.jpg
About us
Floor 7
57A Birger Jarlsgatan
113 56
Stockholm
ISO-3166 Alpha 2 country code
SE
Stockholm
ISO-4217 currency code
SEK
123456
Test
Test
Update the Publisher Organization account information. Only users with the role Owner can change this.
1234567
Tradedoubler
Phone number, must include country code
"+46 84050800"
Optional additional phone number, must include country code
"+46 84050800"
https://www.tradedoubler.com/logo.jpg
About us
Floor 7
57A Birger Jarlsgatan
113 56
Stockholm
ISO-3166 Alpha 2 country code
SE
Stockholm
ISO-4217 currency code
SEK
Delete the Publisher Organization and all connected users. Only an Owner can use this service.
Provides all available options for the Publisher Organization Account. This is useful for any updates.
Returns a list of all available countries in Tradedoubler's network (or a private network) that a publisher can operate in
Allows the publisher to work in additional countries
You can view a list of available ads either across all programs you are connected to or filtered by a number of options:
sourceId | Filter available ads based on the ID of a specific source/ |
---|---|
programId | Filter available ads for specific programs |
adType | Filter available ads based on the type |
adSize | Filter available ads based on the Size. This is a free text search, to search for width use "300x" and for height only "x250" |
adName | Filter available ads based on the Name |
adId | Filter for a specific ad |
categoryIds | Filter available ads based on program categories |
statusId | Filter available ads based on programs your connection status |
sortBy | |
sortOrder | |
offset | |
limit |
You can view a list of available programs:
sourceId | Filter available programs based on the ID of a specific source/ |
---|---|
statusId | Filter available programs based on your connection status |
name | Filter available programs based on the Name |
categoryIds | Filter available ads based on program categories |
sortBy | |
sortOrder | |
offset | |
limit |
You can view detailed information on a specific programs:
sourceId | Filter available programs based on the ID of a specific source/ |
---|---|
programId | Filter available programs based on your connection status |
123456
https://clk.tradedoubler.com/click?p=123456&a=654321
Program Name
GB
if the program is a closed program, then it is invite only, publishers can not apply via the interface
true
false
the url for the program's logo
https://www.tradedoubler.com/logo.gif
if the program is prepayment then the advertiser is invoiced in advance, this allows publishers to be paid much quicker. Otherwise advertisers are invoiced on a monthly basis.
false
2009-08-21
2009-08-21
true
0
false - if the program auto accepts applications
if false, performance criteria such as avgEpc are not shown
GBP
true
if the program supports Product Level Tracking, a list of all product groups and commissions
if the program supports Product Level Tracking, a list of all product level promotions and commissions
You can view detailed information on a specific programs:
1234567
123456
A source is website or app that generates traffic
You can view a list of available programs:
You can view detailed information on a specific programs:
Tradedoubler
https://www.tradedoubler.com
ISO-3166 Alpha 2 country code
SE
See Promotion Type
1
Tradedoubler default source
See Source type
1
You can view detailed information on a specific programs:
sourceId | Filter available programs based on the ID of a specific source/ |
---|
You can view detailed information on a specific programs:
sourceId | Filter available programs based on the ID of a specific source/ |
---|
You can view detailed information on a specific programs:
sourceId | The ID of the source/ |
---|
You can view detailed information on a specific programs:
You can view detailed information on a specific programs:
You can view detailed information on a specific programs:
You can view detailed information on a specific programs:
Tokens are required to use Tradedoubler's older API services: Products, Vouchers, Claims and Conversions. Documentation found at: https://dev.tradedoubler.com Publisher tokens work for all sources. Site tokens work only for the specified source ID.
You can view a list of available tokens:
You can refresh your token should you require:
Publishers are required to choose how they will be paid and enter their payment details. Currently Tradedoubler has two payment providers: Tradedoubler are able to support SEPA (Single Euro Payment Area) which covers most European counties. For any partners outside of SEPA please sign up to our partner Payoneer
Gets the current payment provider for the Publisher Organization and all related payment settings
To change the payment settings
when changing payment provider to Tradedoubler see #reference/payment-settings/Tradedoubler-fields to see which fields are required. This will also change based on the company type and country based (for example in Sweden where personal number is required for certain business types)
when changing payment provider to Payoneer see #reference/payment-settings/Payoneer-fields for required fields
List of available payment providers - currently Tradedoubler for SEPA and Payoneer for rest of the world
List of fields that are required when updating payment provider to Tradedoubler. Fields required differ based on if the publisher organization is an company or individual or charitble organization.
businessTypeId | Unique ID for the business type (1 - individual, 2 - Non-taxable organization, 3 - VAT registered company) |
---|---|
bankCountryCode | Bank country code (ISO Alpha 2) |
accountType | mandatory only for Sweden ("bankCountryCo |
businessTypeId | Unique ID for the business type (1 - individual, 2 - Non-taxable organization, 3 - VAT registered company) |
---|---|
bankCountryCode | Bank country code (ISO Alpha 2) |
Statistics is the main reporting endpoint. This reflects a lot of work to simplify Tradedoubler's reports from the old publisher interface into a single endpoint with the ability to change how the statistics are grouped.
Detailed statistics for publisher, they can be grouped by date, source, program, ad or EPI (Enhanced Publisher Information). To see clicks at EPI level speak to your publisher manager.
intervalType | Interval Grouping. |
---|---|
reportType | Report Type Grouping |
fromDate | The date the report runs from |
toDate | The date the report runs until |
sourceId | Filter by a source ID |
programId | Filter by a program ID |
adId | Filter by an ad ID |
reportCurrencyC | The ISO 4217 code of currency |
sortBy | The field used to sort the results |
sortOrder | The order the sort field is sorted by (asc or desc) |
offset | Offset to get results from |
limit | Number of records to be retrieved |
Export summary statistics into another reporting format - for analysis in tools such as Excel
format | Format of the export file |
---|---|
intervalType | Interval Grouping. |
reportType | Report Type Grouping |
fromDate | The date the report runs from |
toDate | The date the report runs until |
sourceId | Filter by a source ID |
programId | Filter by a program ID |
adId | Filter by an ad ID |
reportCurrencyC | The ISO 4217 code of currency |
sortBy | The field used to sort the results |
sortOrder | The order the sort field is sorted by (asc or desc) |
Transactions relate to sales or leads and give detailed information
List of transactions for a given source
sourceId | Source ID. Currently we only allow transactions report to be run for one Source at a time. |
---|---|
fromDate | The date the report runs from |
toDate | The date the report runs until |
lastModified | Apply date range to timeofLastModif |
programId | Filter by a program ID |
adId | Filter by an ad ID |
reportCurrencyC | The ISO 4217 code of currency |
epi1 | Filter for transactions containing free text in EPI field (Enhanced Publisher Information) |
epi2 | Filter for transactions containing free text in EPI2 field (Enhanced Publisher Information) |
orderOrLeadNumb | Filter transactions by order or lead number |
paymentId | Filter by paymentId |
sortBy | The field used to sort the results |
sortOrder | The order the sort field is sorted by (asc or desc) |
offset | Offset to get results from |
limit | Number of records to be retrieved |
99999888901
123456
Program 1
Source 1
1234567
123456
The event name describes the transction that took place (this could be a subscription, product, or general sale)
A Sale Event
This donates the type
of transaction, where 4 = Lead (a transaction with no monetary value like a registration) and 5 = Sale
5
For transactions with a pending period this is the current status, where A = Accepted, P = Pending and D = Denied
A
2019-02-18 19:07:59.0
The timestamp of when the transaction was created in Tradedoubler's database (for offline sales this can be some time after the time of transaction)
2019-02-27 00:38:28.0
2019-02-26 23:17:56.0
The timestamp of when the transaction was last changed (usually when the status after an advertiser validates transactions)
null
Enhanced Publisher Information (EPI) is a custom field for publishers to pass their own values (up to 64 bytes), this can be used for sub networks to pass their own internal IDs
1234A
Enhanced Publisher Information 2 (EPI2) is a second custom field for publishers to pass their own values (up to 64 bytes), this can be used for sub networks to pass their own internal IDs
ABC4321
When eventTypeId = 4 (transaction is a lead) the leadNumber for the transaction
null
When eventTypeId = 5 (transaction is a sale) the orderNumber for the transaction
order123
When eventTypeId = 5 (transaction is a sale) the order value for the transaction
100
10
false
10PERCENT
If the transaction has been paid, the paymentId the transaction belongs to
Export list of transactions for a given source
format | Format of the export file |
---|---|
sourceId | Source ID. Currently we only allow transactions report to be run for one Source at a time. |
fromDate | The date the report runs from |
toDate | The date the report runs until |
lastModified | Apply date range to timeofLastModif |
programId | Filter by a program ID |
adId | Filter by an ad ID |
reportCurrencyC | The ISO 4217 code of currency |
epi1 | Filter for transactions containing free text in EPI field (Enhanced Publisher Information) |
epi2 | Filter for transactions containing free text in EPI2 field (Enhanced Publisher Information) |
orderOrLeadNumb | Filter transactions by order or lead number |
paymentId | Filter by paymentId |
sortBy | The field used to sort the results |
sortOrder | The order the sort field is sorted by (asc or desc) |
99999888901
123456
Program 1
Source 1
1234567
123456
The event name describes the transction that took place (this could be a subscription, product, or general sale)
A Sale Event
This donates the type
of transaction, where 4 = Lead (a transaction with no monetary value like a registration) and 5 = Sale
5
For transactions with a pending period this is the current status, where A = Accepted, P = Pending and D = Denied
A
2019-02-18 19:07:59.0
The timestamp of when the transaction was created in Tradedoubler's database. For offline sales this can be some time after the time of transaction
2019-02-27 00:38:28.0
2019-02-26 23:17:56.0
null
Enhanced Publisher Information (EPI) is a custom field for publishers to pass their own values, up to 64 bytes, this can be used for sub networks to pass their own internal IDs
1234A
Enhanced Publisher Information 2 (EPI2) is a second custom field for publishers to pass their own values, up to 64 bytes, this can be used for sub networks to pass their own internal IDs
ABC4321
When eventTypeId = 4 the leadNumber for the transaction
null
When eventTypeId = 5 the orderNumber for the transaction
order123
When eventTypeId = 5 the order value for the transaction
100
10
false
10PERCENT
If the transaction has been paid, the paymentId the transaction belongs to
List of transactions for a given Payment Id
paymentId | Filter by paymentId |
---|---|
reportCurrencyC | The ISO 4217 code of currency |
sortBy | The field used to sort the results |
sortOrder | The order the sort field is sorted by (asc or desc) |
99999888901
123456
Program 1
Source 1
1234567
123456
The event name describes the transction that took place (this could be a subscription, product, or general sale)
A Sale Event
This donates the type
of transaction, where 4 = Lead (a transaction with no monetary value like a registration) and 5 = Sale
5
For transactions with a pending period this is the current status, where A = Accepted, P = Pending and D = Denied
A
2019-02-18 19:07:59.0
The timestamp of when the transaction was created in Tradedoubler's database (for offline sales this can be some time after the time of transaction)
2019-02-27 00:38:28.0
2019-02-26 23:17:56.0
The timestamp of when the transaction was last changed (usually when the status after an advertiser validates transactions)
null
Enhanced Publisher Information (EPI) is a custom field for publishers to pass their own values (up to 64 bytes), this can be used for sub networks to pass their own internal IDs
1234A
Enhanced Publisher Information 2 (EPI2) is a second custom field for publishers to pass their own values (up to 64 bytes), this can be used for sub networks to pass their own internal IDs
ABC4321
When eventTypeId = 4 (transaction is a lead) the leadNumber for the transaction
null
When eventTypeId = 5 (transaction is a sale) the orderNumber for the transaction
order123
When eventTypeId = 5 (transaction is a sale) the order value for the transaction
100
10
false
10PERCENT
If the transaction has been paid, the paymentId the transaction belongs to
Export list of transactions for a given payment Id
paymentId | Filter by paymentId |
---|---|
format | Format of the export file |
reportCurrencyC | The ISO 4217 code of currency |
sortBy | The field used to sort the results |
sortOrder | The order the sort field is sorted by (asc or desc) |
offset | Offset to get results from |
limit | Number of records to be retrieved |
99999888901
123456
Program 1
Source 1
1234567
123456
The event name describes the transction that took place (this could be a subscription, product, or general sale)
A Sale Event
This donates the type
of transaction, where 4 = Lead (a transaction with no monetary value like a registration) and 5 = Sale
5
For transactions with a pending period this is the current status, where A = Accepted, P = Pending and D = Denied
A
2019-02-18 19:07:59.0
The timestamp of when the transaction was created in Tradedoubler's database. For offline sales this can be some time after the time of transaction
2019-02-27 00:38:28.0
2019-02-26 23:17:56.0
null
Enhanced Publisher Information (EPI) is a custom field for publishers to pass their own values, up to 64 bytes, this can be used for sub networks to pass their own internal IDs
1234A
Enhanced Publisher Information 2 (EPI2) is a second custom field for publishers to pass their own values, up to 64 bytes, this can be used for sub networks to pass their own internal IDs
ABC4321
When eventTypeId = 4 the leadNumber for the transaction
null
When eventTypeId = 5 the orderNumber for the transaction
order123
When eventTypeId = 5 the order value for the transaction
100
10
false
10PERCENT
If the transaction has been paid, the paymentId the transaction belongs to
Collection of summary reports
Summary statistics used for the dashboard within the publisher interface.
dateRange | Date range for the report |
---|
Provides summary statistics sorted for top performing programs
dateRange | Date range for the report |
---|---|
sortBy | The field used to sort the results |
sortOrder | The order the sort field is sorted by (asc or desc) |
offset | Offset to get results from |
limit | Number of records to be retrieved |
Provides summary statistics sorted for top performing sources
dateRange | Date range for the report |
---|---|
sortBy | The field used to sort the results |
sortOrder | The order the sort field is sorted by (asc or desc) |
offset | Offset to get results from |
limit | Number of records to be retrieved |
Reports related to payment and commission earned
Lists payments made to the publisher
fromDate | The date the report runs from |
---|---|
toDate | The date the report runs until |
sortBy | The field used to sort the results |
sortOrder | The order the sort field is sorted by (asc or desc) |
offset | Offset to get results from |
limit | Number of records to be retrieved |
Get detailed information about a payment
Breakdown of earned commission by program and seperated into three objects:
amountReadyForPayment: commission that is ready to be paid on next payment date
pendingEarnings: approved commission but not ready for payment
unapprovedBalance: commission in a pending state
Breakdown of commission not approved for payment. This is split into two objects
amountReadyForPayment: commission that has been approved but is unable to be paid for other reasons such as:
amountNotReadyForPayment: commission in a pending state
Overall earnings for a publisher broken down by pending approval and the amount to be paid and on which date.
amountToBePaid: the amount that a publisher will be paid on the next payment date.
pendingEarnings: the amount that has been approved but not yet ready for payment (i.e. an advertiser hasn't yet paid the invoice).
balance: the total amount of commission a publisher has earned that has yet to be paid (including amountToBePaid, pendingEarnings and any non-approved leads or sales).
Digital wallets are manual payments that are assigned to a publisher. These can relate to bonuses, tenancy placements or commission corrections.
programId | Filter by programId |
---|---|
sourceId | Filter by sourceId |
fromDate | Filter by date the digital wallet was created |
toDate | Filter by date the digital wallet was created |
reportCurrencyC | The ISO 4217 code of currency |
status | Status of the digital wallet - has it been invoiced to an advertiser and has it been paid. |
sortBy | The field used to sort the results |
sortOrder | The order the sort field is sorted by (asc or desc) |
offset | Offset to get results from |
limit | Number of records to be retrieved |
123456
Program 1
Source 1
1234567
2019-01-01 09:38:28.0
Tenancy Placement Jan 2019
Whether the digital wallet is a deposit (positive amount to the publisher) or withdraw (correction to the publisher)
DEPOSIT