Enum googapis::google::ads::googleads::v7::errors::asset_link_error_enum::AssetLinkError [−][src]
#[repr(i32)]
pub enum AssetLinkError {
Show 17 variants
Unspecified,
Unknown,
PinningUnsupported,
UnsupportedFieldType,
FieldTypeIncompatibleWithAssetType,
FieldTypeIncompatibleWithCampaignType,
IncompatibleAdvertisingChannelType,
ImageNotWithinSpecifiedDimensionRange,
InvalidPinnedField,
MediaBundleAssetFileSizeTooLarge,
NotEnoughAvailableAssetLinksForValidCombination,
NotEnoughAvailableAssetLinksWithFallback,
NotEnoughAvailableAssetLinksWithFallbackForValidCombination,
YoutubeVideoRemoved,
YoutubeVideoTooLong,
YoutubeVideoTooShort,
InvalidStatus,
}
Expand description
Enum describing possible asset link errors.
Variants
Enum unspecified.
The received error code is not known in this version.
Pinning is not supported for the given asset link field.
The given field type is not supported to be added directly via asset links.
The given asset’s type and the specified field type are incompatible.
The specified field type is incompatible with the given campaign type.
The campaign advertising channel type cannot be associated with the given asset due to channel-based restrictions on the asset’s fields.
The image asset provided is not within the dimension constraints specified for the submitted asset field.
The pinned field is not valid for the submitted asset field.
The media bundle asset provided is too large for the submitted asset field.
Not enough assets are available for use with other fields since other assets are pinned to specific fields.
Not enough assets with fallback are available. When validating the minimum number of assets, assets without fallback (e.g. assets that contain location tag without default value “{LOCATION(City)}”) will not be counted.
This is a combination of the NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets with fallback are available since some assets are pinned.
The YouTube video referenced in the provided asset has been removed.
The YouTube video referenced in the provided asset is too long for the field submitted.
The YouTube video referenced in the provided asset is too short for the field submitted.
The status is invalid for the operation specified.
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 AssetLinkError
impl Send for AssetLinkError
impl Sync for AssetLinkError
impl Unpin for AssetLinkError
impl UnwindSafe for AssetLinkError
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