Variable | Type | Description |
---|---|---|
campaign_id | string|int | The ID of the campaign for which to update the excluded segments |
segment_ids | array | Array of excluded segment ids (one int per array item) |
Parameter | Description |
---|---|
boolean | True if the update has succeeded, False otherwise |
true
Code | Message | Description |
---|---|---|
407 | Missing required param campaign_id | campaign_id param is required |
131 | No such campaign with ID: %s. | Invalid access to campaign_id |
1312 | Campaign %s can't set segments. | Cannot set segments for this campaign |
141 | No such segment with ID: %s. | Invalid access to segment_id |
141 | Segment %s has been deleted. | Segment has been deleted |
{ "err": true, "message": "Missing required param campaign_id", "code": 407 }
{ "err": true, "message": "No such campaign with ID: 99554.", "code": 131 }
{ "err": true, "message": "No such segment with ID: 9997.", "code": 141 }
{ "err": true, "message": "Segment 15 has been deleted.", "code": 141 }