CampaignDraftError

Enum describing possible campaign draft errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

DUPLICATE_DRAFT_NAME

A draft with this name already exists for this campaign.

INVALID_STATUS_TRANSITION_FROM_REMOVED

The draft is removed and cannot be transitioned to another status.

INVALID_STATUS_TRANSITION_FROM_PROMOTED

The draft has been promoted and cannot be transitioned to the specified status.

INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED

The draft has failed to be promoted and cannot be transitioned to the specified status.

CUSTOMER_CANNOT_CREATE_DRAFT

This customer is not allowed to create drafts.

CAMPAIGN_CANNOT_CREATE_DRAFT

This campaign is not allowed to create drafts.

INVALID_DRAFT_CHANGE

This modification cannot be made on a draft.

INVALID_STATUS_TRANSITION

The draft cannot be transitioned to the specified status from its current status.

MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED

The campaign has reached the maximum number of drafts that can be created for a campaign throughout its lifetime. No additional drafts can be created for this campaign. Removed drafts also count towards this limit.

LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY

ListAsyncErrors was called without first promoting the draft.