Enum google_api_proto::google::ads::googleads::v16::errors::ad_group_error_enum::AdGroupError
source · #[repr(i32)]pub enum AdGroupError {
Show 19 variants
Unspecified = 0,
Unknown = 1,
DuplicateAdgroupName = 2,
InvalidAdgroupName = 3,
AdvertiserNotOnContentNetwork = 5,
BidTooBig = 6,
BidTypeAndBiddingStrategyMismatch = 7,
MissingAdgroupName = 8,
AdgroupLabelDoesNotExist = 9,
AdgroupLabelAlreadyExists = 10,
InvalidContentBidCriterionTypeGroup = 11,
AdGroupTypeNotValidForAdvertisingChannelType = 12,
AdgroupTypeNotSupportedForCampaignSalesCountry = 13,
CannotAddAdgroupOfTypeDsaToCampaignWithoutDsaSetting = 14,
PromotedHotelAdGroupsNotAvailableForCustomer = 15,
InvalidExcludedParentAssetFieldType = 16,
InvalidExcludedParentAssetSetType = 17,
CannotAddAdGroupForCampaignType = 18,
InvalidStatus = 19,
}
Expand description
Enum describing possible ad group errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
DuplicateAdgroupName = 2
AdGroup with the same name already exists for the campaign.
InvalidAdgroupName = 3
AdGroup name is not valid.
AdvertiserNotOnContentNetwork = 5
Advertiser is not allowed to target sites or set site bids that are not on the Google Search Network.
BidTooBig = 6
Bid amount is too big.
BidTypeAndBiddingStrategyMismatch = 7
AdGroup bid does not match the campaign’s bidding strategy.
MissingAdgroupName = 8
AdGroup name is required for Add.
AdgroupLabelDoesNotExist = 9
No link found between the ad group and the label.
AdgroupLabelAlreadyExists = 10
The label has already been attached to the ad group.
InvalidContentBidCriterionTypeGroup = 11
The CriterionTypeGroup is not supported for the content bid dimension.
AdGroupTypeNotValidForAdvertisingChannelType = 12
The ad group type is not compatible with the campaign channel type.
AdgroupTypeNotSupportedForCampaignSalesCountry = 13
The ad group type is not supported in the country of sale of the campaign.
CannotAddAdgroupOfTypeDsaToCampaignWithoutDsaSetting = 14
Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to campaigns that have DynamicSearchAdsSetting attached.
PromotedHotelAdGroupsNotAvailableForCustomer = 15
Promoted hotels ad groups are only available to customers on the allow-list.
InvalidExcludedParentAssetFieldType = 16
The field type cannot be excluded because an active ad group-asset link of this type exists.
InvalidExcludedParentAssetSetType = 17
The asset set type is invalid for setting the excluded_parent_asset_set_types field.
CannotAddAdGroupForCampaignType = 18
Cannot add ad groups for the campaign type.
InvalidStatus = 19
Invalid status for the ad group.
Implementations§
source§impl AdGroupError
impl AdGroupError
source§impl AdGroupError
impl AdGroupError
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 AdGroupError
impl Clone for AdGroupError
source§fn clone(&self) -> AdGroupError
fn clone(&self) -> AdGroupError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdGroupError
impl Debug for AdGroupError
source§impl Default for AdGroupError
impl Default for AdGroupError
source§fn default() -> AdGroupError
fn default() -> AdGroupError
source§impl From<AdGroupError> for i32
impl From<AdGroupError> for i32
source§fn from(value: AdGroupError) -> i32
fn from(value: AdGroupError) -> i32
source§impl Hash for AdGroupError
impl Hash for AdGroupError
source§impl Ord for AdGroupError
impl Ord for AdGroupError
source§fn cmp(&self, other: &AdGroupError) -> Ordering
fn cmp(&self, other: &AdGroupError) -> 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 AdGroupError
impl PartialEq for AdGroupError
source§fn eq(&self, other: &AdGroupError) -> bool
fn eq(&self, other: &AdGroupError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AdGroupError
impl PartialOrd for AdGroupError
source§fn partial_cmp(&self, other: &AdGroupError) -> Option<Ordering>
fn partial_cmp(&self, other: &AdGroupError) -> 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 AdGroupError
impl TryFrom<i32> for AdGroupError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<AdGroupError, DecodeError>
fn try_from(value: i32) -> Result<AdGroupError, DecodeError>
impl Copy for AdGroupError
impl Eq for AdGroupError
impl StructuralPartialEq for AdGroupError
Auto Trait Implementations§
impl Freeze for AdGroupError
impl RefUnwindSafe for AdGroupError
impl Send for AdGroupError
impl Sync for AdGroupError
impl Unpin for AdGroupError
impl UnwindSafe for AdGroupError
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