Create a partner group

Creates a new partner group.

Parameters


Name required

The partner group's name. Only visible to you and other account members, not visible to partners.


MediaPartners optional

A comma-separated list of the MediaPartnerId values for each partner you want to add to the group. Appears in the Partner → Partners screen in the platform as a string of numbers under each partner's name, or by listing all partners.

Returns


Returns the status and a URI of the new partner group object if the call succeeded.

Example request


curl 'https://api.impact.com/Advertisers/<AccountSID>/Campaigns/1000/MediaPartnerGroups' \
  -X POST \
  -u '<AccountSID>:<AuthToken>' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'Name=Acme Partners' \
  -d 'MediaParters=123456,654321'

Example response


{
  "Status": "OK",
  "Uri": "/Advertisers/<AccountSID>/Campaigns/8882/MediaPartnerGroups/12345"
}