Enum google_api_proto::google::ads::googleads::v14::errors::asset_group_error_enum::AssetGroupError
source · #[repr(i32)]pub enum AssetGroupError {
Show 18 variants
Unspecified = 0,
Unknown = 1,
DuplicateName = 2,
CannotAddAssetGroupForCampaignType = 3,
NotEnoughHeadlineAsset = 4,
NotEnoughLongHeadlineAsset = 5,
NotEnoughDescriptionAsset = 6,
NotEnoughBusinessNameAsset = 7,
NotEnoughMarketingImageAsset = 8,
NotEnoughSquareMarketingImageAsset = 9,
NotEnoughLogoAsset = 10,
FinalUrlShoppingMerchantHomePageUrlDomainsDiffer = 11,
Path1RequiredWhenPath2IsSet = 12,
ShortDescriptionRequired = 13,
FinalUrlRequired = 14,
FinalUrlContainsInvalidDomainName = 15,
AdCustomizerNotSupported = 16,
CannotMutateAssetGroupForRemovedCampaign = 17,
}
Expand description
Enum describing possible asset group errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
DuplicateName = 2
Each asset group in a single campaign must have a unique name.
CannotAddAssetGroupForCampaignType = 3
Cannot add asset group for the campaign type.
NotEnoughHeadlineAsset = 4
Not enough headline asset for a valid asset group.
NotEnoughLongHeadlineAsset = 5
Not enough long headline asset for a valid asset group.
NotEnoughDescriptionAsset = 6
Not enough description headline asset for a valid asset group.
NotEnoughBusinessNameAsset = 7
Not enough business name asset for a valid asset group.
NotEnoughMarketingImageAsset = 8
Not enough marketing image asset for a valid asset group.
NotEnoughSquareMarketingImageAsset = 9
Not enough square marketing image asset for a valid asset group.
NotEnoughLogoAsset = 10
Not enough logo asset for a valid asset group.
FinalUrlShoppingMerchantHomePageUrlDomainsDiffer = 11
Final url and shopping merchant url does not have the same domain.
Path1RequiredWhenPath2IsSet = 12
Path1 required when path2 is set.
ShortDescriptionRequired = 13
At least one short description asset is required for a valid asset group.
FinalUrlRequired = 14
Final url field is required for asset group.
FinalUrlContainsInvalidDomainName = 15
Final url contains invalid domain name.
AdCustomizerNotSupported = 16
Ad customizers are not supported in asset group’s text field.
CannotMutateAssetGroupForRemovedCampaign = 17
Cannot mutate asset group for campaign with removed status.
Implementations§
source§impl AssetGroupError
impl AssetGroupError
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 AssetGroupError
impl Clone for AssetGroupError
source§fn clone(&self) -> AssetGroupError
fn clone(&self) -> AssetGroupError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssetGroupError
impl Debug for AssetGroupError
source§impl Default for AssetGroupError
impl Default for AssetGroupError
source§fn default() -> AssetGroupError
fn default() -> AssetGroupError
source§impl From<AssetGroupError> for i32
impl From<AssetGroupError> for i32
source§fn from(value: AssetGroupError) -> i32
fn from(value: AssetGroupError) -> i32
source§impl Hash for AssetGroupError
impl Hash for AssetGroupError
source§impl Ord for AssetGroupError
impl Ord for AssetGroupError
source§fn cmp(&self, other: &AssetGroupError) -> Ordering
fn cmp(&self, other: &AssetGroupError) -> 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 AssetGroupError
impl PartialEq for AssetGroupError
source§fn eq(&self, other: &AssetGroupError) -> bool
fn eq(&self, other: &AssetGroupError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AssetGroupError
impl PartialOrd for AssetGroupError
source§fn partial_cmp(&self, other: &AssetGroupError) -> Option<Ordering>
fn partial_cmp(&self, other: &AssetGroupError) -> 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 AssetGroupError
impl TryFrom<i32> for AssetGroupError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<AssetGroupError, DecodeError>
fn try_from(value: i32) -> Result<AssetGroupError, DecodeError>
impl Copy for AssetGroupError
impl Eq for AssetGroupError
impl StructuralPartialEq for AssetGroupError
Auto Trait Implementations§
impl Freeze for AssetGroupError
impl RefUnwindSafe for AssetGroupError
impl Send for AssetGroupError
impl Sync for AssetGroupError
impl Unpin for AssetGroupError
impl UnwindSafe for AssetGroupError
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