Skip to content

Update Deal Groups

Request

Update a Deal Group's Details

Deal Groups are a feature that will allow you and your team to package individual deals into groups. This should streamline targeting, improve marketability (ex. creating a viewability deal group), and simplify bulk updating of strategies targeting deals.

Deal Groups Ownership and Targeting Permissions: Like deals, ownership of a Deal Group cannot change once it is created. There are no targeting permissions set within a deal group. Deal Groups instead honor the targeting permissions of the deals within them.

Path
idintegerrequired

_

Headers
Content-Typestringrequired

_

Cookiestringrequired

_

Bodyapplication/json

_

namestring
statusboolean
deal_idsArray of integers
descriptionstring
ownerobject
curl -i -X POST \
  'https://api.mediamath.com/deals/v1.0/deal_groups/{id}' \
  -H 'Content-Type: application/json' \
  -H 'Cookie: string' \
  -d '{
    "name": "string",
    "status": true,
    "deal_ids": [
      0
    ],
    "description": "string",
    "owner": {
      "type": "string",
      "id": 0
    }
  }'

Responses

Bodyapplication/json
dataobject
metaobject
Response
{ "data": { "created_on": "2019-08-24T14:15:22Z", "deal_ids": [ … ], "description": "string", "entity_type": "deal_group", "id": 0, "name": "string", "owner": { … }, "status": true, "updated_on": "2019-08-24T14:15:22Z", "has_strategies": true }, "meta": { "status": "ok" } }