Get sublinks

Use this endpoint to get the sublinks for your specified app.

Important:

Please note that the v1 endpoint will be deprecated on April 23rd.

v2
v1
https://api.adjust.com/public/v2/apps/{app_token}/trackers/{tracker_token}/children

Fetch sublinks

Return a list of sublinks associated with your app.

v2
v1
ParameterData typeInDescription
app_token*StringPathYour app's 12 digit identifier.
tracker_token*StringPathThe parent link token.
cursorStringQueryThe unique cursor position containing a collection of results.
limitIntegerQueryThe maximum number of elements included in the response. Must be a positive integer value.

Results from this endpoint are paginated using a cursor. Each page returns the location of the previous and next pages. You can include these in your calls to return specific pages. You can also limit the number of items included on a page. The default limit is 50.

Each results page contains a "paging" object containing the cursor positions. You can use these cursor positions to programatically move between pages. For example, the first page might contain results like this:

v2
v1
"paging": {
   "next": "https://api.adjust.com/public/v2/apps/gwzpeepw8uf8/trackers/abc123/children?cursor=g2wAAAACYhW1_gxkAANuaWxq",
   "cursor": "g2wAAAACYhW1_gxkAANuaWxq"
}

To go to the second page, follow the next link to return results from the next specified cursor position.

$ curl "https://api.adjust.com/public/v2/apps/gwzpeepw8uf8/trackers/abc123/children?cursor=g2wAAAACYhW1_gxkAANuaWxq"

Response parameters

FieldData typeDescriptionExample
nameStringThe link's name.Adroll
labelStringThe last level part of the name of the link.Adroll
levelIntegerThe level of the link.
  • Network = 1
  • Campaign = 2
  • Adgroup = 3
  • Creative = 4
1
archivedBooleanWhether the link is archived.true
has_subtrackersBooleanWhether the link has sublinks.true
partner_idIntegerThe ID of the partner attached to the link.3
cost_data_enabledBooleanWhether the link has cost_data enabled.false
impression_urlStringURL of the link for impression-based measurement.https://view.adjust.com/impression/abc123
urlStringURL of the full link.https://app.adjust.com/abc123
click_urlStringURL of the link for click measurement.https://app.adjust.com/abc123
{
   "name": "String",
   "token": "String",
   "label": "String",
   "level": 1,
   "archived": false,
   "has_subtrackers": false,
   "partner_id": 3,
   "cost_data_enabled": false,
   "url": "String",
   "click_url": "String",
   "impression_url": "String"
}

Example

v2
v1
curl \
--header 'Authorization: Token token={API_TOKEN}'
-L -X GET 'https://api.adjust.com/public/v2/apps/gwzpeepw8uf8/trackers/abc123/children?limit=1' \
{
   "data": {
      "paging": {
         "next": "https://api.adjust.com/public/v2/apps/gwzpeepw8uf8/trackers/abc123/children?cursor=g2wAAAACYhW1_gxkAANuaWxq&limit=1",
         "cursor": "g2wAAAACYhW1_gxkAANuaWxq"
      },
      "items": [
         {
            "name": "Adroll::SpringCampaign",
            "token": "xyz456",
            "label": "SpringCampaign",
            "level": 2,
            "archived": false,
            "has_subtrackers": false,
            "partner_id": null,
            "cost_data_enabled": false,
            "url": "https://app.adjust.com/xyz456",
            "click_url": "https://app.adjust.com/xyz456?idfa={idfa}&deeplink=http%3A%2F%2Fa.b%2Fc%3Fd%3D1%26e%3D%%MACROS%%",
            "impression_url": "https://s2s.adjust.com/impression/xyz456?idfa={idfa}&s2s=1"
         }
      ]
   }
}