To create segment groups, use the POST method
https://dmpapi.admixer.net/AudienceAPI/SegmentGroup
In the GET request, use the following parameters:
Parameter | Description | Comment |
---|---|---|
name | Segment group name | Maximum number of characters – 256 |
cpmPrice | Price for using segment group data (CPM) | Account currency is applied. Integer |
dmpProvoder | DMP Provider ID | To get to know the ID of DMP Provider/Providers use this doc. |
For example,
https://dmpapi.admixer.net/AudienceAPI/SegmentGroup?name=MySegmentGroup&cpmPrice=5&dmpProvider=1111
where MySegmentGroup is the name of the new segment group, 5 its price, 1111- is the ID of DMP Provider where a new segment group is created.
In response, you get JSON with the newly created segment group’s ID and a message about successful completion.
If you want a list of current segment groups, use the POST method
https://dmpapi.admixer.net/AudienceAPI/SegmentGroups
where
id | segment group ID |
name | segment group name |
cpmPrice | its price in account currency |
dmpProvider | dmpProvider ID |