Extract audience segments
post
https://partner-api.sddan.com/api/v1/public/data
/job/hash-by-segment
Extract audience segments with config file

JSON body

1
{
2
"storage_id": "", // "id" from Job Storage
3
"hash_type": "hd_m or hd_s256", // hd_m for md5, hd_s256 for sha256
4
"rollbackdays": 30, // depend on the volume you need, will get older data if you increase (90 max)
5
"limit": 10000, // max number of hash you want to retrieve
6
"segments": [ // allow to define priority in selected segments, you will have the details when the job is finished
7
{
8
"id" : 2206,
9
"limit": 8000
10
},
11
{
12
"id" : 383,
13
"limit": 20000
14
},
15
],
16
"filter": [ // filter by columns you uploaded and declared in your Storage, column must exists
17
{
18
"columnname": "city",
19
"values": ["Paris", "Nice"]
20
}
21
]
22
}
Copied!

Download result

Use property download_url to get result file
1
"download_url": "/api/v1/public/data/job/XXXXXXXXXXX/download/sirdata_job_result_XXXXXXXXXXX.json"
Copied!
get
https://partner-api.sddan.com/api/v1/public/data
/job/XXXXXXXXXXX/download/sirdata_job_result_XXXXXXXXXXX.json
Download result
Last modified 1yr ago