Enum googapis::google::ads::googleads::v7::errors::asset_error_enum::AssetError [−][src]
#[repr(i32)]
pub enum AssetError {
Show 18 variants
Unspecified,
Unknown,
CustomerNotOnAllowlistForAssetType,
DuplicateAsset,
DuplicateAssetName,
AssetDataIsMissing,
CannotModifyAssetName,
FieldIncompatibleWithAssetType,
InvalidCallToActionText,
LeadFormInvalidFieldsCombination,
LeadFormMissingAgreement,
InvalidAssetStatus,
FieldCannotBeModifiedForAssetType,
SchedulesCannotOverlap,
PromotionCannotSetPercentOffAndMoneyAmountOff,
PromotionCannotSetPromotionCodeAndOrdersOverAmount,
TooManyDecimalPlacesSpecified,
DuplicateAssetsWithDifferentFieldValue,
}
Expand description
Enum describing possible asset errors.
Variants
Enum unspecified.
The received error code is not known in this version.
The customer is not is not on the allow-list for this asset type.
Assets are duplicated across operations.
The asset name is duplicated, either across operations or with an existing asset.
The Asset.asset_data oneof is empty.
The asset has a name which is different from an existing duplicate that represents the same content.
The field cannot be set for this asset type.
Call to action must come from the list of supported values.
A lead form asset is created with an invalid combination of input fields.
Lead forms require that the Terms of Service have been agreed to before mutates can be executed.
Asset status is invalid in this operation.
The field cannot be modified by this asset type.
Ad schedules for the same asset cannot overlap.
Cannot set both percent off and money amount off fields of promotion asset.
Cannot set both promotion code and orders over amount fields of promotion asset.
The field has too many decimal places specified.
Duplicate assets across operations, which have identical Asset.asset_data oneof, cannot have different asset level fields for asset types which are deduped.
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 AssetError
impl Send for AssetError
impl Sync for AssetError
impl Unpin for AssetError
impl UnwindSafe for AssetError
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