Enum google_api_proto::google::ads::googleads::v15::errors::media_bundle_error_enum::MediaBundleError
source · #[repr(i32)]pub enum MediaBundleError {
Show 24 variants
Unspecified = 0,
Unknown = 1,
BadRequest = 3,
DoubleclickBundleNotAllowed = 4,
ExternalUrlNotAllowed = 5,
FileTooLarge = 6,
GoogleWebDesignerZipFileNotPublished = 7,
InvalidInput = 8,
InvalidMediaBundle = 9,
InvalidMediaBundleEntry = 10,
InvalidMimeType = 11,
InvalidPath = 12,
InvalidUrlReference = 13,
MediaDataTooLarge = 14,
MissingPrimaryMediaBundleEntry = 15,
ServerError = 16,
StorageError = 17,
SwiffyBundleNotAllowed = 18,
TooManyFiles = 19,
UnexpectedSize = 20,
UnsupportedGoogleWebDesignerEnvironment = 21,
UnsupportedHtml5Feature = 22,
UrlInMediaBundleNotSslCompliant = 23,
CustomExitNotAllowed = 24,
}
Expand description
Enum describing possible media bundle errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
BadRequest = 3
There was a problem with the request.
DoubleclickBundleNotAllowed = 4
HTML5 ads using DoubleClick Studio created ZIP files are not supported.
ExternalUrlNotAllowed = 5
Cannot reference URL external to the media bundle.
FileTooLarge = 6
Media bundle file is too large.
GoogleWebDesignerZipFileNotPublished = 7
ZIP file from Google Web Designer is not published.
InvalidInput = 8
Input was invalid.
InvalidMediaBundle = 9
There was a problem with the media bundle.
InvalidMediaBundleEntry = 10
There was a problem with one or more of the media bundle entries.
InvalidMimeType = 11
The media bundle contains a file with an unknown mime type
InvalidPath = 12
The media bundle contain an invalid asset path.
InvalidUrlReference = 13
HTML5 ad is trying to reference an asset not in .ZIP file
MediaDataTooLarge = 14
Media data is too large.
MissingPrimaryMediaBundleEntry = 15
The media bundle contains no primary entry.
ServerError = 16
There was an error on the server.
StorageError = 17
The image could not be stored.
SwiffyBundleNotAllowed = 18
Media bundle created with the Swiffy tool is not allowed.
TooManyFiles = 19
The media bundle contains too many files.
UnexpectedSize = 20
The media bundle is not of legal dimensions.
UnsupportedGoogleWebDesignerEnvironment = 21
Google Web Designer not created for “Google Ads” environment.
UnsupportedHtml5Feature = 22
Unsupported HTML5 feature in HTML5 asset.
UrlInMediaBundleNotSslCompliant = 23
URL in HTML5 entry is not ssl compliant.
CustomExitNotAllowed = 24
Custom exits not allowed in HTML5 entry.
Implementations§
source§impl MediaBundleError
impl MediaBundleError
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for MediaBundleError
impl Clone for MediaBundleError
source§fn clone(&self) -> MediaBundleError
fn clone(&self) -> MediaBundleError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MediaBundleError
impl Debug for MediaBundleError
source§impl Default for MediaBundleError
impl Default for MediaBundleError
source§fn default() -> MediaBundleError
fn default() -> MediaBundleError
source§impl From<MediaBundleError> for i32
impl From<MediaBundleError> for i32
source§fn from(value: MediaBundleError) -> i32
fn from(value: MediaBundleError) -> i32
source§impl Hash for MediaBundleError
impl Hash for MediaBundleError
source§impl Ord for MediaBundleError
impl Ord for MediaBundleError
source§fn cmp(&self, other: &MediaBundleError) -> Ordering
fn cmp(&self, other: &MediaBundleError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for MediaBundleError
impl PartialEq for MediaBundleError
source§fn eq(&self, other: &MediaBundleError) -> bool
fn eq(&self, other: &MediaBundleError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MediaBundleError
impl PartialOrd for MediaBundleError
source§fn partial_cmp(&self, other: &MediaBundleError) -> Option<Ordering>
fn partial_cmp(&self, other: &MediaBundleError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for MediaBundleError
impl TryFrom<i32> for MediaBundleError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<MediaBundleError, DecodeError>
fn try_from(value: i32) -> Result<MediaBundleError, DecodeError>
impl Copy for MediaBundleError
impl Eq for MediaBundleError
impl StructuralPartialEq for MediaBundleError
Auto Trait Implementations§
impl Freeze for MediaBundleError
impl RefUnwindSafe for MediaBundleError
impl Send for MediaBundleError
impl Sync for MediaBundleError
impl Unpin for MediaBundleError
impl UnwindSafe for MediaBundleError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request