Skip to content

List the Deal Groups

Request

List the Deal Groups When executing the GET call, you must specify one of the following: 'owner.organization_id', or 'ids' parameter, or else you will receive an error.

Security
Bearer
Query
idsstring

ids

exportstring

export

allinteger

all

statusboolean

status

deal_idinteger

deal_id

strategy_idinteger

strategy_id

owner.organization_idintegerrequired

owner.organization_id

owner.typestring

Filter by owner type

Value:"ORGANIZATION"
page_offsetinteger

page_offset

page_limitinteger

page_limit

sort_bystring

sort_by

Enum:"name""id""deal_identifier""supply_source_id""updated_on""created_on""start_datetime""end_datetime""price"
sort_dirstring

Sort direction

Enum:"ASC""DESC"
qstring

q

curl -i -X GET \
  'https://api.mediamath.com/deals/v1.0/deal_groups?ids=string&export=string&all=0&status=true&deal_id=0&strategy_id=0&owner.organization_id=0&owner.type=ORGANIZATION&page_offset=0&page_limit=0&sort_by=name&sort_dir=ASC&q=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
dataArray of objects
metaobject
Response
{ "data": [ { … } ], "meta": { "count": 0, "offset": 0, "status": "ok", "total_count": 0 } }