MediaMath Platform API
- List Contextual Segments
Campaigns API (xx.xx.xx)
Comma separated list of dimension codes. Example: dimension_code=BRLG,BSER. Supported values:
BRLG- Browser Language,OSXX- Operating System (extended),BSER- Browser,CSPD- Connection Speed,DVMD- Device Model,DVCE- Device,INVT- Inventory (supply source/publisher),ISPX- ISP (Internet Service Provider),VAUD- Video: Audibility,VCON- Video: Context,VLIN- Video: Linearity (linear vs non-linear),VPLC- Video: Placement,VPSZ- Video: Player Size,VSKP- Video: Skippability,DMAX- Designated Market Area,REGN- Region (geographic region),COUNTRY- Country,CITY- City.
The field to sort by. You can use any field name in ascending or descending order. For ascending order, use the field name directly, e.g., id. For descending order, prefix the field name with a hyphen (-), e.g., -id.
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,<- 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}.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/technology_target_values
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/technology_target_values?name=string&full_path=string&dimension_code=string&sort_by=id%2C+-id%2C+name%2C+-name&q=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "data": [ { … } ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }
Number of elements in the collection to retrieve
Index of the first element in the collection to retrieve
The field to sort by. You can use any field name in ascending or descending order. For ascending order, use the field name directly, e.g., id. For descending order, prefix the field name with a hyphen (-), e.g., -id.
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,<- 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}.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.
To return all fields, set the value to *. For example, full=* will include all properties.
- Live Serverhttps://api.mediamath.com/api/v3.0/path_targeting_segments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/path_targeting_segments?page_limit=100&page_offset=0&sort_by=id%2C+-id%2C+name%2C+-name&q=string&full=*¤cy_code=USD' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "data": [ { … } ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }
Request
Get a list of path audience segments. Segments can be queried and sorted by fields:
id,name,version,parent_audience_segment_id,full_path,uniques,retail_cpm(type = double, value in usd),code,buyable,child_count,wholesale_cpm(type = double, value in usd),type,taxonomy_id,updated_on,created_on,audience_vendor_id,audience_vendor_name,audience_vendor_vendor_id,audience_vendor_mma_free_cm,audience_vendor_updated_on,audience_vendor_created_on,audience_vendor_version,audience_vendor_provides_batch_segments,audience_vendor_campaign_brain_enabled,audience_vendor_pin_top_search,audience_vendor_bidder_code,audience_vendor_namespace_code.
Number of elements in the collection to retrieve
Index of the first element in the collection to retrieve
The field to sort by. You can use any field name in ascending or descending order. For ascending order, use the field name directly, e.g., id. For descending order, prefix the field name with a hyphen (-), e.g., -id.
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,<- 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}.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%26status==trueto find all active entities with id greater than 5.
If not provided, the default currency (USD) will be used.
If true, only segments with audience_vendor.campaign_brain_enabled = true will be returned
- Live Serverhttps://api.mediamath.com/api/v3.0/path_audience_segments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/path_audience_segments?page_limit=100&page_offset=0&sort_by=id%2C+-id%2C+name%2C+-name&q=string¤cy_code=USD&advertiser_id=0&only_brain_enabled=true&parent_id=0&with=audience_vendor' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "data": [ { … } ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }