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

Request data format application/x-www-form-urlencoded.

Returns the list of generated deeplinks, w_id is the ad space ID, and с_id is the affiliate program ID.

For AliExpress programs, also returns the link affiliation attribute.

  • * 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
:

[
{
"link": "https://ad.admitad.com/goto/9a03752bb275478cca00463f97455a/?subid=Reebok&subid1=white_sneakers&subid2=40sale&ulp=http%3A%2F%2Fadmitad.com%2Fpost%2F250618%2F",
"is_affiliate_product": <true>
},
{
"link": "https://ad.admitad.com/goto/9a03752bb275478cca00463f97455a/?subid=Reebok&subid1=white_sneakers&subid2=40sale&ulp=http%3A%2F%2Fadmitad.com%2Fpost%2F220658%2F",
"is_affiliate_product": <null>
}
]

API-server response fields description

Name Description
link Generated URL
is_affiliate_product

Affiliation attribute of the generated link:

  • true — affiliate
  • false — non-affiliate
  • null — the link doesn’t belong to the AliExpress program, there are no data of affiliation