- List Audience Segment Taxonomies
List targets
Create a Target
Get a Target
Update a Target
Delete a Target
List Target paths
Add and View Targeting
Contextual Segments CPM estimates
Get Frequently Used Contextual Segments
Create Audience Segment Taxonomy
Get a Single Audience Segment Taxonomy
Update Audience Segment Taxonomy
Frequently Used Audience Segments
Audience Segments CPM Estimate
Get All Vendor Audience Configs
Create Vendor Audience Config
Get Vendor Audience Config by Vendor ID
Update Vendor Audience Config by Vendor ID
List Target Values
List Technology Target Values
List Contextual Segments
List Path Audience Segments
List Audience Segment Tax...
Returns a paginated list of audience segment taxonomies. By default each item contains only the root node of its taxonomy (taxonomy.children is an empty array); pass full=true (or full=1 / full=*) to also return the complete nested segment tree under each root. Results can be filtered with q= and sorted with sort_by=.
Filterable / sortable fields:
| Field | Source table |
|---|---|
id | audience_segments |
taxonomy_id | audience_segments |
audience_vendor_id | audience_segments |
name | audience_segments |
code | audience_segments |
buyable | audience_segments |
retail_cpm | audience_segments |
wholesale_cpm | audience_segments |
uniques | audience_segments |
visibility | audience_taxonomies |
Pagination is at the taxonomy level: page_limit=1 returns one taxonomy (with its complete tree when full is set, potentially many segments). Filtering on segment fields (for example q=name=:*X*) still selects taxonomies that contain a matching segment, regardless of full.
Security
Auth0(Required scopes: offline_accessmanage:services)
Query search for filtering. This parameter can be used to filter results based on various fields. Supported operators:
==- numeric equality or case-sensitive string identity,==(1,2,3)- IN query (only works for integers),!=- numeric inequality or case-sensitive string non-identity,=:- case-insensitive match, allows substring using * wildcards,!:- case-insensitive non-match ("does not contain"), allows substring using * wildcards; rows where the field is NULL are excluded,<- less than,<=- less than or equal to,>- greater than,>=- greater than or equal to. Examples:q=name=:{search}*to find all results with names starting with {search}.- Numeric
q=id=:*123*searches are treated as exact primary-key matches, equivalent toq=id==123; likewiseq=id!:*123*is equivalent toq=id!=123. q=name!:*promo*to exclude all results whose name contains "promo".q=status==trueto find all active entities.q=id>=1000to find all entities with id greater than or equal to 1000.q=id==(1,2,3)to find specific entities by ID.q=created_on>1999-02-02orq=created_on>1999-02-02T00:00:00Zto find entities created later than date.q=id>5&status==trueto find all active entities with id greater than 5.
- Live Serverhttps://api.mediamath.com/api/v3.0/audience_taxonomies
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/audience_taxonomies?page_limit=100&page_offset=0&sort_by=id%2C%20-id%2C%20name%2C%20-name&q=string&full=*' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "data": [ { … } ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }