List all partner groups

Returns a list of all partner groups.

Parameters


No parameters.

Returns


A list of all partner groups.

Example request


curl 'https://api.impact.com/Advertisers/<AccountSID>/Campaigns/1000/MediaPartnerGroups' \
  -X GET \
  -u '<AccountSID>:<AuthToken>' \
  -H 'Accept: application/json'

Example response


{
  "@page": "1",
  ...
  "Groups": [
    {
      "Id": "12345",
      "Name": "Acme Partners",
      "MediaPartners": [
        {
          "PartnerId": "123456",
          "PartnerName": "Wile E. Coyote",
          "PartnerUri": "/Advertisers/<AccountSID>/MediaPartners/123456",
        }
      ],
      "Uri": "/Advertisers/<AccountSID>/Campaigns/1000/MediaPartnerGroups/12345",
    },
    ...
  ],
}