Enum googapis::google::ads::googleads::v9::errors::campaign_draft_error_enum::CampaignDraftError [−][src]
#[repr(i32)]
pub enum CampaignDraftError {
Unspecified,
Unknown,
DuplicateDraftName,
InvalidStatusTransitionFromRemoved,
InvalidStatusTransitionFromPromoted,
InvalidStatusTransitionFromPromoteFailed,
CustomerCannotCreateDraft,
CampaignCannotCreateDraft,
InvalidDraftChange,
InvalidStatusTransition,
MaxNumberOfDraftsPerCampaignReached,
ListErrorsForPromotedDraftOnly,
}
Expand description
Enum describing possible campaign draft errors.
Variants
Enum unspecified.
The received error code is not known in this version.
A draft with this name already exists for this campaign.
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.
This customer is not allowed to create drafts.
This campaign is not allowed to create drafts.
This modification cannot be made on a draft.
The draft cannot be transitioned to the specified status from its current status.
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.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CampaignDraftError
impl Send for CampaignDraftError
impl Sync for CampaignDraftError
impl Unpin for CampaignDraftError
impl UnwindSafe for CampaignDraftError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more