Enum google_api_proto::google::ads::googleads::v16::enums::ad_group_ad_primary_status_reason_enum::AdGroupAdPrimaryStatusReason
source · #[repr(i32)]pub enum AdGroupAdPrimaryStatusReason {
Show 17 variants
Unspecified = 0,
Unknown = 1,
CampaignRemoved = 2,
CampaignPaused = 3,
CampaignPending = 4,
CampaignEnded = 5,
AdGroupPaused = 6,
AdGroupRemoved = 7,
AdGroupAdPaused = 8,
AdGroupAdRemoved = 9,
AdGroupAdDisapproved = 10,
AdGroupAdUnderReview = 11,
AdGroupAdPoorQuality = 12,
AdGroupAdNoAds = 13,
AdGroupAdApprovedLabeled = 14,
AdGroupAdAreaOfInterestOnly = 15,
AdGroupAdUnderAppeal = 16,
}
Expand description
Possible ad group ad status reasons.
Variants§
Unspecified = 0
No value has been specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
CampaignRemoved = 2
The user-specified campaign status is removed. Contributes to AdGroupAdPrimaryStatus.REMOVED.
CampaignPaused = 3
The user-specified campaign status is paused. Contributes to AdGroupAdPrimaryStatus.PAUSED.
CampaignPending = 4
The user-specified time for this campaign to start is in the future. Contributes to AdGroupAdPrimaryStatus.PENDING.
CampaignEnded = 5
The user-specified time for this campaign to end has passed. Contributes to AdGroupAdPrimaryStatus.ENDED.
AdGroupPaused = 6
The user-specified ad group status is paused. Contributes to AdGroupAdPrimaryStatus.PAUSED.
AdGroupRemoved = 7
The user-specified ad group status is removed. Contributes to AdGroupAdPrimaryStatus.REMOVED.
AdGroupAdPaused = 8
The user-specified ad status is paused. Contributes to AdGroupAdPrimaryStatus.PAUSED.
AdGroupAdRemoved = 9
The user-specified ad status is removed. Contributes to AdGroupAdPrimaryStatus.REMOVED.
AdGroupAdDisapproved = 10
The ad is disapproved. Contributes to AdGroupAdPrimaryStatus.NOT_ELIGIBLE.
AdGroupAdUnderReview = 11
The ad is under review. Contributes to AdGroupAdPrimaryStatus.PENDING.
AdGroupAdPoorQuality = 12
The ad is poor quality. This is determined by the serving stack that served the Ad. Contributes to AdGroupAdPrimaryStatus.LIMITED.
AdGroupAdNoAds = 13
No eligible ads instances could be generated. Contributes to AdGroupAdPrimaryStatus.PENDING.
AdGroupAdApprovedLabeled = 14
The ad is internally labeled with a limiting label. Contributes to AdGroupAdPrimaryStatus.LIMITED.
AdGroupAdAreaOfInterestOnly = 15
The ad is only serving in the user-specified area of interest. Contributes to AdGroupAdPrimaryStatus.LIMITED.
AdGroupAdUnderAppeal = 16
The ad is part of an ongoing appeal. This reason does not impact AdGroupAdPrimaryStatus.
Implementations§
source§impl AdGroupAdPrimaryStatusReason
impl AdGroupAdPrimaryStatusReason
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of AdGroupAdPrimaryStatusReason
.
sourcepub fn from_i32(value: i32) -> Option<AdGroupAdPrimaryStatusReason>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<AdGroupAdPrimaryStatusReason>
Converts an i32
to a AdGroupAdPrimaryStatusReason
, or None
if value
is not a valid variant.
source§impl AdGroupAdPrimaryStatusReason
impl AdGroupAdPrimaryStatusReason
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 AdGroupAdPrimaryStatusReason
impl Clone for AdGroupAdPrimaryStatusReason
source§fn clone(&self) -> AdGroupAdPrimaryStatusReason
fn clone(&self) -> AdGroupAdPrimaryStatusReason
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdGroupAdPrimaryStatusReason
impl Debug for AdGroupAdPrimaryStatusReason
source§impl Default for AdGroupAdPrimaryStatusReason
impl Default for AdGroupAdPrimaryStatusReason
source§fn default() -> AdGroupAdPrimaryStatusReason
fn default() -> AdGroupAdPrimaryStatusReason
source§impl From<AdGroupAdPrimaryStatusReason> for i32
impl From<AdGroupAdPrimaryStatusReason> for i32
source§fn from(value: AdGroupAdPrimaryStatusReason) -> i32
fn from(value: AdGroupAdPrimaryStatusReason) -> i32
source§impl Hash for AdGroupAdPrimaryStatusReason
impl Hash for AdGroupAdPrimaryStatusReason
source§impl Ord for AdGroupAdPrimaryStatusReason
impl Ord for AdGroupAdPrimaryStatusReason
source§fn cmp(&self, other: &AdGroupAdPrimaryStatusReason) -> Ordering
fn cmp(&self, other: &AdGroupAdPrimaryStatusReason) -> 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 AdGroupAdPrimaryStatusReason
impl PartialEq for AdGroupAdPrimaryStatusReason
source§fn eq(&self, other: &AdGroupAdPrimaryStatusReason) -> bool
fn eq(&self, other: &AdGroupAdPrimaryStatusReason) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AdGroupAdPrimaryStatusReason
impl PartialOrd for AdGroupAdPrimaryStatusReason
source§fn partial_cmp(&self, other: &AdGroupAdPrimaryStatusReason) -> Option<Ordering>
fn partial_cmp(&self, other: &AdGroupAdPrimaryStatusReason) -> 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 AdGroupAdPrimaryStatusReason
impl TryFrom<i32> for AdGroupAdPrimaryStatusReason
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<AdGroupAdPrimaryStatusReason, DecodeError>
fn try_from(value: i32) -> Result<AdGroupAdPrimaryStatusReason, DecodeError>
impl Copy for AdGroupAdPrimaryStatusReason
impl Eq for AdGroupAdPrimaryStatusReason
impl StructuralPartialEq for AdGroupAdPrimaryStatusReason
Auto Trait Implementations§
impl Freeze for AdGroupAdPrimaryStatusReason
impl RefUnwindSafe for AdGroupAdPrimaryStatusReason
impl Send for AdGroupAdPrimaryStatusReason
impl Sync for AdGroupAdPrimaryStatusReason
impl Unpin for AdGroupAdPrimaryStatusReason
impl UnwindSafe for AdGroupAdPrimaryStatusReason
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