The campaigns method allows you to retrieve a list of text campaigns available in the affiliate system.
Endpoint
URL
https://api.wedos.as/partner/campaignsMethod
GETOutput
In the item
results text campaign field.What the method returns
Each record contains information about a specific text campaign,
which can be used to generate affiliate links.
which can be used to generate affiliate links.
Text campaign data
Explanation of individual data:
- ID – Text campaign ID
- advertiserId – advertiser ID
- name – campaign name
- url – target URL address
- commissionType – commission type
- commissionValue – commission value
- cookieDays – cookie duration in days
Input parameters (GET)
The method does not support any input parameters.
Output data
The method returns an array of text campaigns in the results item.
Example answer (abridged):
{
"results": [
{
"ID": 300000,
"advertiserId": 2,
"name": "Hosting sleva 30 %",
"url": "https://www.example.com/",
"commissionType": "percent",
"commissionValue": 30,
"cookieDays": 30
}
],
"requestId": "1495632212.2332.12078"
}
Example of a request
https://api.wedos.as/partner/campaigns
If you have any problems or questions regarding the commission system, please write to affiliate@wedos.com.