Skip to main content

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.

Required scope: advertising:write

Grant 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​

OK

Response Headers
    Content-Type