Update a partner group

Updates the metadata of a partner group. Add new partners, remove existing partners, and rename the partner group.

Parameters


MediaPartnersAdd optional

Comma-separated list of the MediaPartnerId values of the partners to add to this partner group.


MediaPartnersRemove optional

Comma-separated list of the MediaPartnerId values of the partners to remove from this partner group.


Name optional

New name for the partner group.

Returns


The status of the call and the URI to the partner group.

Example request


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

Example response


{
  "Status": "OK",
  "Uri": "/Advertisers/<AccountSID>/Campaigns/<CampaignID>/MediaPartnerGroups/<MediaPartnerGroupId>"
}