Skip to content

Get Frequently Used Contextual Segments

Request

Display the most frequently used contextual segments for a given advertiser. Only buyable segments are returned; the top limit is applied after non-buyable segments are excluded.

Security
Auth0(Required scopes: offline_accessmanage:services)
Query
advertiser_idinteger

Numeric ID of the advertiser to filter on

topinteger

limit of top elements

curl -i -X GET \
  'https://api.mediamath.com/api/v3.0/targeting_segments/frequently_used?advertiser_id=0&top=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Targeting segment friendly name response

Bodyapplication/json
dataArray of objects or null
metaobject
Response
{ "data": [ { … } ], "meta": { "status": "success" } }