Use this endpoint to update existing links and sublinks for your app. You can add new partners to links or control whether cost data is enabled.
Update a link
Update a link or sublink associated to your app.
Parameters
Parameter | Data type | In | Description |
---|---|---|---|
app_token * | String | Path | Your app’s 12 digit identifier. |
tracker_token * | String | Path | The token of the link you want to update. |
partner_id | Integer | Body | The ID of the partner you want to attach to the link. You can use the partner’s endpoint to retrieve a list of partners and their IDs. |
cost_data_enabled | Boolean | Body | Whether to enable cost data for the link. |
Response parameters
Field | Data type | Description | Example |
---|---|---|---|
name | String | The link’s name. | Adroll |
label | String | The last level part of the name of the link. | Adroll |
level | Integer | The level of the link. See Link levels below. | 1 |
archived | Boolean | Whether the link is archived. | true |
has_subtrackers | Boolean | Whether the link has sublinks. | true |
partner_id | Integer | The ID of the partner attached to the link. | 3 |
cost_data_enabled | Boolean | Whether the link has cost_data enabled. | false |
impression_url | String | URL of the link for impression measurement. | https://view.adjust.com/impression/abc123 |
url | String | URL of the link for measurement. | https://app.adjust.com/abc123 |
click_url | String | URL of the link for click measurement. | https://app.adjust.com/abc123 |
Link levels
- Network =
1
- Campaign =
2
- Adgroup =
3
- Creative =
4