Deeplink generator¶
Parameters¶
HTTP method |
Access rights |
URL | Parameters |
Note |
---|---|---|---|---|
GET | deeplink_generator | https://api.admitad.com/deeplink/{w_id}/advcampaign/{c_id}/ |
Parameter request list |
|
* Returns the result in the JSON format.
Parameter request list¶
Name |
Type |
Required |
Settings restrictions |
Allowed values |
|
---|---|---|---|---|---|
subid subid1 subid2 subid3 | string | Max number of characters |
50 | Text |
|
subid4 | Max number of characters |
120 | |||
Do not use the “%00” combination |
|||||
ulp | string | ✔ | Max number of links |
200 | Text |
Example of use¶
Example of a request with utility ``curl``:
curl -L -H 'Authorization: Bearer access_token' -X GET https://api.admitad.com/deeplink/232236/advcampaign/234433/?subid=Reebok&subid1=white_sneakers&subid2=40sale&ulp=http%3A%2F%2Fadmitad.com%2Fpost%2F250618%2F&ulp=http%3A%2F%2Fadmitad.com%2Fpost%2F220658%2F
Example of the response from the API server in the JSON format:
[
'https://ad.admitad.com/goto/9a03752bb275478cca00463f97455a/?subid=Reebok&subid1=white_sneakers&subid2=40sale&ulp=http%3A%2F%2Fadmitad.com%2Fpost%2F250618%2F',
'https://ad.admitad.com/goto/9a03752bb275478cca00463f97455a/?subid=Reebok&subid1=white_sneakers&subid2=40sale&ulp=http%3A%2F%2Fadmitad.com%2Fpost%2F220658%2F'
]