Skip to main content

CampaignActionErrorCode

The business reasons an action on a campaign can be refused.

enum CampaignActionErrorCode {
CAMPAIGN_NOT_FOUND
ALREADY_PAUSED
CAMPAIGN_ENDED
}

Values

CampaignActionErrorCode.CAMPAIGN_NOT_FOUND

No campaign of this merchant has that identifier. A campaign belonging to a different merchant reports the same thing, because whether it exists is itself information.

CampaignActionErrorCode.ALREADY_PAUSED

The campaign was already paused, so nothing changed and nothing was recorded in the audit trail.

CampaignActionErrorCode.CAMPAIGN_ENDED

The campaign has ended. Its figures are final and it can no longer be paused or resumed.

Member Of

CampaignActionError object