Enum googapis::google::ads::googleads::v7::errors::media_upload_error_enum::MediaUploadError [−][src]
#[repr(i32)]
pub enum MediaUploadError {
Show 36 variants
Unspecified,
Unknown,
FileTooBig,
UnparseableImage,
AnimatedImageNotAllowed,
FormatNotAllowed,
ExternalUrlNotAllowed,
InvalidUrlReference,
MissingPrimaryMediaBundleEntry,
AnimatedVisualEffect,
AnimationTooLong,
AspectRatioNotAllowed,
AudioNotAllowedInMediaBundle,
CmykJpegNotAllowed,
FlashNotAllowed,
FrameRateTooHigh,
GoogleWebDesignerZipFileNotPublished,
ImageConstraintsViolated,
InvalidMediaBundle,
InvalidMediaBundleEntry,
InvalidMimeType,
InvalidPath,
LayoutProblem,
MalformedUrl,
MediaBundleNotAllowed,
MediaBundleNotCompatibleToProductType,
MediaBundleRejectedByMultipleAssetSpecs,
TooManyFilesInMediaBundle,
UnsupportedGoogleWebDesignerEnvironment,
UnsupportedHtml5Feature,
UrlInMediaBundleNotSslCompliant,
VideoFileNameTooLong,
VideoMultipleFilesWithSameName,
VideoNotAllowedInMediaBundle,
CannotUploadMediaTypeThroughApi,
DimensionsNotAllowed,
}
Expand description
Enum describing possible media uploading errors.
Variants
Enum unspecified.
The received error code is not known in this version.
The uploaded file is too big.
Image data is unparseable.
Animated images are not allowed.
The image or media bundle format is not allowed.
Cannot reference URL external to the media bundle.
HTML5 ad is trying to reference an asset not in .ZIP file.
The media bundle contains no primary entry.
Animation has disallowed visual effects.
Animation longer than the allowed 30 second limit.
The aspect ratio of the image does not match the expected aspect ratios provided in the asset spec.
Audio files are not allowed in bundle.
CMYK jpegs are not supported.
Flash movies are not allowed.
The frame rate of the video is higher than the allowed 5fps.
ZIP file from Google Web Designer is not published.
Image constraints are violated, but more details (like DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. This happens when asset spec contains more than one constraint and criteria of different constraints are violated.
Media bundle data is unrecognizable.
There was a problem with one or more of the media bundle entries.
The asset has an invalid mime type.
The media bundle contains an invalid asset path.
Image has layout problem.
An asset had a URL reference that is malformed per RFC 1738 convention.
The uploaded media bundle format is not allowed.
The media bundle is not compatible with the asset spec product type. (E.g. Gmail, dynamic remarketing, etc.)
A bundle being uploaded that is incompatible with multiple assets for different reasons.
The media bundle contains too many files.
Google Web Designer not created for “Google Ads” environment.
Unsupported HTML5 feature in HTML5 asset.
URL in HTML5 entry is not SSL compliant.
Video file name is longer than the 50 allowed characters.
Multiple videos with same name in a bundle.
Videos are not allowed in media bundle.
This type of media cannot be uploaded through the Google Ads API.
The dimensions of the image are not allowed.
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 MediaUploadError
impl Send for MediaUploadError
impl Sync for MediaUploadError
impl Unpin for MediaUploadError
impl UnwindSafe for MediaUploadError
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