Retrieve an ad's tracking link

Parameters


subId1 optional

Appends the submitted parameter value as subId1= to the tracking link.


subId2 optional

Appends the submitted parameter value as subId2= to the tracking link.


subId3 optional

Appends the submitted parameter value as subId3= to the tracking link.


sharedId optional

Appends the submitted parameter value as sharedId= to the tracking link.


landingPage optional

If the ad allows deep linking, uses the submitted parameter value as the custom landing page. Include the full URL, including the protocol (http or https).

Returns


Returns an ad's tracking link if a valid request was provided.

Example request


curl 'https://api.impact.com/Mediapartners/{AccountSID}/Ads/{AdId}/TrackingLink' \
  -X GET \
  -u '<AccountSID>:<AuthToken>' \
  -H 'Accept: application/json'

Example response


{
  "TrackingLink": "https://example.com/c/123456/7891011/1213",
  "Uri": "/Mediapartners/<AccountSID>/Ads/<AdId>/TrackingLink"
}