Enum googapis::google::ads::googleads::v7::errors::media_bundle_error_enum::MediaBundleError[][src]

#[repr(i32)]
pub enum MediaBundleError {
Show 24 variants Unspecified, Unknown, BadRequest, DoubleclickBundleNotAllowed, ExternalUrlNotAllowed, FileTooLarge, GoogleWebDesignerZipFileNotPublished, InvalidInput, InvalidMediaBundle, InvalidMediaBundleEntry, InvalidMimeType, InvalidPath, InvalidUrlReference, MediaDataTooLarge, MissingPrimaryMediaBundleEntry, ServerError, StorageError, SwiffyBundleNotAllowed, TooManyFiles, UnexpectedSize, UnsupportedGoogleWebDesignerEnvironment, UnsupportedHtml5Feature, UrlInMediaBundleNotSslCompliant, CustomExitNotAllowed,
}
Expand description

Enum describing possible media bundle errors.

Variants

Unspecified

Enum unspecified.

Unknown

The received error code is not known in this version.

BadRequest

There was a problem with the request.

DoubleclickBundleNotAllowed

HTML5 ads using DoubleClick Studio created ZIP files are not supported.

ExternalUrlNotAllowed

Cannot reference URL external to the media bundle.

FileTooLarge

Media bundle file is too large.

GoogleWebDesignerZipFileNotPublished

ZIP file from Google Web Designer is not published.

InvalidInput

Input was invalid.

InvalidMediaBundle

There was a problem with the media bundle.

InvalidMediaBundleEntry

There was a problem with one or more of the media bundle entries.

InvalidMimeType

The media bundle contains a file with an unknown mime type

InvalidPath

The media bundle contain an invalid asset path.

InvalidUrlReference

HTML5 ad is trying to reference an asset not in .ZIP file

MediaDataTooLarge

Media data is too large.

MissingPrimaryMediaBundleEntry

The media bundle contains no primary entry.

ServerError

There was an error on the server.

StorageError

The image could not be stored.

SwiffyBundleNotAllowed

Media bundle created with the Swiffy tool is not allowed.

TooManyFiles

The media bundle contains too many files.

UnexpectedSize

The media bundle is not of legal dimensions.

UnsupportedGoogleWebDesignerEnvironment

Google Web Designer not created for “Google Ads” environment.

UnsupportedHtml5Feature

Unsupported HTML5 feature in HTML5 asset.

UrlInMediaBundleNotSslCompliant

URL in HTML5 entry is not ssl compliant.

CustomExitNotAllowed

Custom exits not allowed in HTML5 entry.

Implementations

Returns true if value is a variant of MediaBundleError.

Converts an i32 to a MediaBundleError, or None if value is not a valid variant.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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