CampaignDraftError
Stay organized with collections
Save and categorize content based on your preferences.
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. |
|
The draft has been promoted and cannot be transitioned to the specified status. |
|
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. |
|
ListAsyncErrors was called without first promoting the draft. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-29 UTC."],[[["This enum outlines the potential errors that can occur when working with campaign drafts."],["These errors can stem from issues like duplicate draft names, invalid status transitions, exceeding draft limits, or restrictions on draft creation."],["Specific error codes provide detailed information about the nature of the issue, such as the `DUPLICATE_DRAFT_NAME` or `MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED` errors."],["The enum includes general error codes (`UNSPECIFIED`, `UNKNOWN`) and status-specific errors (`INVALID_STATUS_TRANSITION_FROM_REMOVED`, `INVALID_STATUS_TRANSITION_FROM_PROMOTED`)."],["Understanding these errors is crucial for troubleshooting and resolving issues encountered while creating, modifying, or promoting campaign drafts."]]],[]]