Create new link

Use this endpoint to create new links and sublinks for your app.

Before you begin

To use this endpoint, you need an Adjust API token. Follow the instructions in the authentication guide to get your token.

Endpoint

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

POST request

Create a new link or sublink associated to your app.

Parameters

ParameterData typeInDescription
app_token *StringPathYour app's 12 digit identifier.
name *StringBodyThe new link's name.
parent_tokenStringBodyThe name of the parent link. Only required if you are creating a sublink.

Response

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