다음을 사용하여 세그먼트를 대상에 매핑 RESTful API 메서드를 사용합니다.
사용 가능한 POST
메서드를 사용하면 세그먼트를 다음에 매핑할 수 있습니다. URL 및 cookie destinations 만 해당. 현재는 세그먼트를 매핑할 수 없습니다 server-to-server destinations 다음 포함 REST API 메서드를 사용합니다. 대신 사용자 인터페이스를 사용하십시오. 그러나 관련 대상 GET
메서드를 사용하면 다음에 대한 정보를 검색할 수 있습니다. server-to-server destinations 사용자 인터페이스에서 만들어집니다.
A POST
세그먼트를 비직렬에 매핑할 수 있도록 해주는 방법 URL 대상.
POST https://api.demdex.com/v1/destinations/
<destinationId>
/mappings/
별도로 지정하지 않는 한 모든 요청 값이 필요합니다.
{
"sid":87723,
"traitType":"SEGMENT",
"url":"https://adobe.com",
"startDate":"2012-07-04"
}
{
"mappingId":65334,
"traitType":"SEGMENT",
"traitValue":0,
"destinationId":4033,
"elementName":"Sample games",
"elementDescription":"Sample games pixel",
"elementStatus":"active",
"createTime":1338940094000,
"updateTime":1338940094000,
"crUID":694,
"upUID":694,
"sid":87723,
"startDate":"2012-07-03",
"endDate":null,
"priority":null,
"url":"https://adobe.com",
"secureUrl":null,
"tagCode":null,
"secureTagCode":null,
"traitAlias":null
}
A POST
세그먼트를 serialize된 데이터베이스에 매핑할 수 있는 메서드 URL 대상.
POST https://api.demdex.com/v1/destinations/
<dataOrderId>
/traits/
요청에서 traitAlias
는 키-값 쌍의 키에 해당합니다. 별도로 지정하지 않는 한 모든 요청 값이 필요합니다.
{
"sid":87723,
"traitType":"SEGMENT",
"startDate":"2012-07-04",
"traitAlias":"123"
}
{
"mappingId":65335,
"traitType":"SEGMENT",
"traitValue":0,
"destinationId":4034,
"elementName":"Sample Games",
"elementDescription":"Migration of Sample Games Pixel",
"elementStatus":"active",
"createTime":1338940401000,
"updateTime":1338940401000,
"crUID":694,
"upUID":694,
"sid":87723,
"startDate":"2012-07-03",
"endDate":null,
"priority":null,
"url":"123",
"secureUrl":"123",
"tagCode":null,
"secureTagCode":null,
"traitAlias":"123"
}
A POST
세그먼트를 단일 키에 매핑할 수 있도록 해주는 메서드로, 직렬화되지 않음 cookie 대상.
POST https://api.demdex.com/v1/destinations/
<destinationId>
/mappings/
요청에서 valueAlias
는 키-값 쌍의 값에 해당합니다. 별도로 지정하지 않는 한 모든 요청 값이 필요합니다.
{
"sid":87723,
"traitType":"SEGMENT",
"startDate":"2012-07-04",
"valueAlias":"123"
}
{
"destinationMappingId":65336,
"traitType":"SEGMENT",
"traitValue":0,
"destinationId":4035,
"elementName":"Sample Games",
"elementDescription":"Migration of Sample Games Pixel",
"elementStatus":"active",
"createTime":1338940704000,
"updateTime":1338940704000,
"crUID":694,
"upUID":694,
"sid":87723,
"startDate":"2012-07-03",
"endDate":null,
"priority":1,
"traitAlias":null,
"valueAlias":"123"
}
A POST
세그먼트를 다중 키에 매핑할 수 있는 메서드, 직렬화되지 않음 cookie 대상.
POST https://api.demdex.com/v1/destinations/
<destinationId>
/mappings/
요청에서 traitAlias
및 valueAlias
키와 값을 각각 키-값 쌍으로 설정합니다. 별도로 지정하지 않는 한 모든 요청 값이 필요합니다.
{
"sid":87723,
"traitType":"SEGMENT",
"startDate":"2012-07-04",
"traitAlias":"type",
"valueAlias":"123"
}
{
"mappingId":65338,
"traitType":"SEGMENT",
"traitValue":0,
"destinationId":4037,
"elementName":"Sample Games",
"elementDescription":"Migration of Sample Games Pixel",
"elementStatus":"active",
"createTime":1338941092000,
"updateTime":1338941092000,
"crUID":694,
"upUID":694,
"sid":87723,
"startDate":"2012-07-03",
"endDate":null,
"priority":1,
"traitAlias":"type",
"valueAlias":"123"
}
A POST
세그먼트를 다중 키에 매핑할 수 있는 메서드, 직렬화 cookie destination.
POST https://api.demdex.com/v1/destinations/
<destinationId>
/mappings/
요청에서 traitAlias
및 valueAlias
키와 값을 키-값 쌍으로 설정합니다. 별도로 지정하지 않는 한 모든 요청 값이 필요합니다.
{
"sid":87723,
"traitType":"SEGMENT",
"startDate":"2012-07-04",
"traitAlias":"type",
"valueAlias":"123"
}
{
"destinationMappingId":65340,
"traitType":"SEGMENT",
"traitValue":0,
"destinationId":4038,
"elementName":"Sample Games",
"elementDescription":"Migration of Sample Games Pixel",
"elementStatus":"active",
"createTime":1338941273000,
"updateTime":1338941273000,
"crUID":694,
"upUID":694,
"sid":87723,
"startDate":"2012-07-03",
"endDate":null,
"priority":2,
"traitAlias":"type",
"valueAlias":"123"
}
A POST
세그먼트를 기존 세그먼트에 매핑할 수 있는 메서드 server-to-server 대상. 단, 만들 수는 없습니다 server-to-server 대상이 현재 사용 가능합니다. API 메서드를 사용합니다.
POST https://api.demdex.com/v1/destinations/
<destinationId>
/mappings/
요청에서 traitAlias
는 키-값 쌍의 키에 해당합니다. 별도로 지정하지 않는 한 모든 요청 값이 필요합니다.
{
"sid":87723,
"traitType":"SEGMENT",
"startDate":"2012-07-04",
"traitAlias":"123"
}
{
"destinationMappingId":65341,
"traitType":"SEGMENT",
"traitValue":0,
"destinationId":566,
"elementName":"Sample",
"elementDescription":"",
"elementStatus":"active",
"createTime":1338942118000,
"updateTime":1338942118000,
"crUID":308,
"upUID":308,
"sid":84326,
"startDate":"2012-07-03",
"endDate":null,
"priority":null,
"traitAlias":"123"
}
A POST
를 사용하여 배열에 cookie 또는 URL 대상 매핑입니다.
POST https://api.demdex.com/v1/destinations/
<destinationId>
/bulk-create
별도로 지정하지 않는 한 모든 요청 값이 필요합니다.
[
{
"sid": 105123,
"traitType":"SEGMENT",
"url":"https://adobe.com",
"startDate":"2012-11-20"
},
{
"sid": 121070,
"traitType":"SEGMENT",
"url":"https://my.adobeconnect.com",
"startDate":"2012-11-21"
}
]
성공한 응답은 생성된 매핑 배열을 반환합니다.
[
{
"mappingId": 103454,
"traitType": "SEGMENT",
"traitValue": 0,
"destinationId": 780,
"elementName": "Case of the Mondays",
"elementDescription": "test",
"elementStatus": "active",
"createTime": 1353373234000,
"updateTime": 1353373234000,
"crUID": 1065,
"upUID": 1065,
"sid": 105123,
"startDate": "2012-11-19",
"endDate": null,
"priority": null,
"url": "https://adobe.com",
"secureUrl": null,
"tagCode": null,
"secureTagCode": null,
"traitAlias": null
},
{
"mappingId": 103455,
"traitType": "SEGMENT",
"traitValue": 0,
"orderId": 780,
"elementName": "Test Trait",
"elementDescription": "This trait",
"elementStatus": 1,
"createTime": 1353373234000,
"updateTime": 1353373234000,
"crUID": 1065,
"upUID": 1065,
"sid": 121070,
"startDate": "2012-11-20",
"endDate": null,
"priority": null,
"url": "https://my.adobeconnect.com",
"secureUrl": null,
"tagCode": null,
"secureTagCode": null,
"traitAlias": null
}
]
A POST
메서드를 사용하여 여러 세그먼트를 대상에 매핑할 수 있습니다.
POST https://api.demdex.com/v1/destinations/
<destinationId>
bulk-create
배열에 여러 대상 매핑을 만듭니다. 별도로 지정하지 않는 한 모든 요청 값이 필요합니다.
[
{
"sid": 105123,
"traitType":"SEGMENT",
"url":"https://adobe.com",
"startDate":"2012-11-20"
},
{
"sid": 121070,
"traitType":"SEGMENT",
"url":"https://my.adobeconnect.com",
"startDate":"2012-11-21"
}
]
생성된 매핑 배열을 반환합니다.
[
{
"destinationMappingId": 103454,
"traitType": "SEGMENT",
"traitValue": 0,
"destinationId": 780,
"elementName": "Case of the Mondays",
"elementDescription": "test",
"elementStatus": "active",
"createTime": 1353373234000,
"updateTime": 1353373234000,
"crUID": 1065,
"upUID": 1065,
"sid": 105123,
"startDate": "2012-11-19",
"endDate": null,
"priority": null,
"url": "https://adobe.com",
"secureUrl": null,
"tagCode": null,
"secureTagCode": null,
"traitAlias": null
},
{
"traitToDataOrderId": 103455,
"traitType": "SEGMENT",
"traitValue": 0,
"destinationId": 780,
"elementName": "Test Trait",
"elementDescription": "This trait",
"elementStatus": 1,
"createTime": 1353373234000,
"updateTime": 1353373234000,
"crUID": 1065,
"upUID": 1065,
"sid": 121070,
"startDate": "2012-11-20",
"endDate": null,
"priority": null,
"url": "https://my.adobeconnect.com",
"secureUrl": null,
"tagCode": null,
"secureTagCode": null,
"traitAlias": null
}
]
A PUT
다음을 수행하여 기존 대상을 업데이트할 수 있는 메서드 destinationId
.
PUT https://api.demdex.com/v1/destinations/
<destinationId>
별도로 지정하지 않는 한 모든 요청 값이 필요합니다.
{
"name":"Updated URL Destination (not serialized)",
"description":"new description",
"destinationType":"PUSH",
"serializationEnabled":false
}
{
"destinationType": "PUSH",
"destinationId": 780,
"dataSourceId": null,
"pid": 1099,
"name": "Updated URL Destination (not serialized)",
"description": "new description",
"startDate": null,
"endDate": null,
"status": 1,
"createTime": 1348851790000,
"updateTime": 1353372029000,
"crUID": 884,
"upUID": 1065,
"domainRestrictions":"all_domains",
"tagType": 0,
"serializationEnabled": false,
"urlFormatString": null,
"secureUrlFormatString": null,
"delimiter": null,
"mappings": null
}
A PUT
을 사용하여 지정에 의해 대상에 대한 매핑을 업데이트할 수 있습니다. mappingId
.
PUT https://api.demdex.com/v1/destinations/mappings/
<mappingId>
별도로 지정하지 않는 한 모든 요청 값이 필요합니다.
{
"sid": 105123,
"traitType":"SEGMENT",
"url":"https://adobe.com",
"startDate":"2012-11-20"
}
{
"mappingId": 103453,
"traitType": "SEGMENT",
"traitValue": 0,
"destinationId": 780,
"elementName": "sample",
"elementDescription": "test",
"elementStatus": "active",
"createTime": 1353373005000,
"updateTime": 1353373005000,
"crUID": 1065,
"upUID": 1065,
"sid": 105123,
"startDate": "2012-11-19",
"endDate": null,
"priority": null,
"url": "https://www.adobe.com/send?%ALIAS%",
"secureUrl": null,
"tagCode": null,
"secureTagCode": null,
"traitAlias": null
}