새 링크 생성 이 엔드포인트를 사용하여 앱에 대한 새로운 링크와 하위 링크를 생성합니다.
엔드포인트를 사용하려면 Adjust API 토큰이 필요합니다. 인증 가이드 내 설명을 참조하여 토큰을 생성하시기 바랍니다.
https://api.adjust.com/public/v1/apps/{app_token}/trackers
앱과 연결된 새 링크 또는 하위 링크를 생성합니다.
app_token * String Path 앱의 12자리 ID name * String Body 새 링크의 이름. parent_token String Body 상위 링크의 이름. 하위 링크를 생성하는 경우에만 필요.
필드 데이터 유형 설명 예시 name
String 링크의 이름. Adroll
label
String 링크 이름의 마지막 레벨 부분. Adroll
level
Integer 링크의 레벨. 네트워크 = 1
캠페인 = 2
광고그룹=3
크리에이티브 = 4
1
archived
Boolean 링크가 아카이브되었는지 여부. true
has_subtrackers
Boolean 링크에 하위 링크가 있는지 여부. true
partner_ids
Integer 링크에 첨부된 파트너의 ID. 3
cost_data_enabled
Boolean 링크의 cost_data 활성화 여부. false
impression_url
String 노출 기반 측정을 위한 링크의 URL. https://view.adjust.com/impression/abc123
URL
String 전체 링크의 URL. https://app.adjust.com/abc123
click_url
String 클릭 측정을 위한 링크의 URL. 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" }
펼쳐보기
curl --location --request POST 'https://api.adjust.com/public/v1/apps/gwzpeepw8uf8/trackers' \ --header 'Authorization: Token token={API_TOKEN}' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "Adroll" }'
{
"data": {
"api_version": "1",
"request_id": "FcK55-tdJUDOWQIAABsB",
"timestamp": "2019-09-09T09:07:06Z",
"items": [
{
"name": "Adroll",
"token": "abc123",
"label": "Adroll",
"level": 1,
"archived": false,
"has_subtrackers": false,
"partner_id": 3,
"cost_data_enabled": false,
"url": "https://app.adjust.com/abc123",
"click_url": "https://app.adjust.com/abc123?campaign={campaign_name}&idfa={idfa}&deeplink=http%3A%2F%2Fa.b%2Fc%3Fd%3D1%26e%3D%%MACROS%%",
"impression_url": "https://s2s.adjust.com/impression/abc123?campaign={campaign_name}&idfa={idfa}&s2s=1",
}
]
}
}
curl --location --request POST 'https://api.adjust.com/public/v1/apps/gwzpeepw8uf8/trackers' \ --header 'Authorization: Token token={API_TOKEN}' \ --header 'Content-Type: application/json' \ --data-raw '{ "parent_tracker": "Adroll", "name": "SpringCampaign" }'
{
"data": {
"api_version": "1",
"request_id": "FcK55-tdJUDOWQIAABsB",
"timestamp": "2019-09-09T09:07:06Z",
"items": [
{
"name": "Adroll::SpringCampaign",
"token": "xyz456",
"label": "SpringCampaign",
"level": 2,
"archived": false,
"has_subtrackers": false,
"partner_id": 3,
"cost_data_enabled": false,
"url": "https://app.adjust.com/xyz456",
"click_url": "https://app.adjust.com/xyz456?campaign={campaign_name}&idfa={idfa}&deeplink=http%3A%2F%2Fa.b%2Fc%3Fd%3D1%26e%3D%%MACROS%%",
"impression_url": "https://s2s.adjust.com/impression/xyz456?campaign={campaign_name}&idfa={idfa}&s2s=1",
}
]
}
}