There are several possible options for adding users to a previously created audit group, depending on its ID type.
In the POST request, use the following parameters:
Parameter | Description |
---|---|
id | audience group ID |
userIds | array of user IDs |
For example,
where
123456 | audience group ID |
[‘6f70132d58ec4321845367dd94898544’, ‘3a45fe3d2f56d429e84ef781dd84ae780’] |
array of user IDs |
In response, you get JSON with an ID of the audience group in which you added users and a message about successful completion.
You can add users through a URL that leads to a file with a list of users. Only .csv files are supported.
id is an audience group ID,
url is a URL link to the file.
In response, you get JSON with an ID of the audience group in which you added users and a message about successful completion.
To upload a file with a list of users, select the file upload option in the Body of a POST request and add a .csv file from your local directory in the data parameter.
Parameter | Description |
---|---|
id | Audience Group ID |
data | A .csv file for download |
Adding users to the Audience Group.
To add users to the audience group, use the method.
https://dmpapi.admixer.net/AudienceAPI/UploadUsersToAudienceGroup
Specify the following parameters in the POST request:
Parameter | Description |
---|---|
id | Audience Group ID |
data | A .csv file for download |
Important!
It is necessary to use the file for downloading that corresponds to the example provided in the attached file (as well as for uploading through the interface).When uploading data in bulk, the table with user data must exactly match the format provided in the example file, otherwise the data will not be uploaded correctly. The order of columns must be preserved, but some of them may be absent. Empty values are also allowed in the rows of the corresponding columns. In case of incorrect input of data, the row will be skipped (not read and not written). When uploading the table, there is case sensitivity.
The uploaded data must follow these formats:
Only .csv tables are accepted
AdmixerId | IDFA | AAID | ClientId | Phone | PubId | EmailMD5 | PhoneMD5 | EmailSHA256 | PhoneSHA256 |
Download the sample of a filled-out row of the table with the examples of hashed data strings here.
Remember!
When adding users, if one of the types of audience group identifiers is PubID, you must include the containerId parameter in the request. It follows that PubID is initially collected by a container (Tag Manager) from sites and it is the ID of this container that must be specified when uploading.