Discard Failed Change Set Lines
POST/api/advertising/change-sets/:changeSet/discard-failed
Gives up on the failed lines of a failed or partially_applied change set: each failed line becomes skipped, keeping its platform error after a "Discarded by …:" note, so a retry no longer sends it and the set leaves the decision feed. Lines that applied stay applied (undo them separately). The set's own status does not change.
advertising:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
No request body. Returns 422 when the set is in another status or has no failed lines.
Requires the advertising.manage permission. Personal access tokens need the advertising:write scope.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.