Enum google_api_proto::google::ads::googleads::v15::errors::multiplier_error_enum::MultiplierError
source · #[repr(i32)]pub enum MultiplierError {
Show 14 variants
Unspecified = 0,
Unknown = 1,
MultiplierTooHigh = 2,
MultiplierTooLow = 3,
TooManyFractionalDigits = 4,
MultiplierNotAllowedForBiddingStrategy = 5,
MultiplierNotAllowedWhenBaseBidIsMissing = 6,
NoMultiplierSpecified = 7,
MultiplierCausesBidToExceedDailyBudget = 8,
MultiplierCausesBidToExceedMonthlyBudget = 9,
MultiplierCausesBidToExceedCustomBudget = 10,
MultiplierCausesBidToExceedMaxAllowedBid = 11,
BidLessThanMinAllowedBidWithMultiplier = 12,
MultiplierAndBiddingStrategyTypeMismatch = 13,
}
Expand description
Enum describing possible multiplier errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
MultiplierTooHigh = 2
Multiplier value is too high
MultiplierTooLow = 3
Multiplier value is too low
TooManyFractionalDigits = 4
Too many fractional digits
MultiplierNotAllowedForBiddingStrategy = 5
A multiplier cannot be set for this bidding strategy
MultiplierNotAllowedWhenBaseBidIsMissing = 6
A multiplier cannot be set when there is no base bid (for example, content max cpc)
NoMultiplierSpecified = 7
A bid multiplier must be specified
MultiplierCausesBidToExceedDailyBudget = 8
Multiplier causes bid to exceed daily budget
MultiplierCausesBidToExceedMonthlyBudget = 9
Multiplier causes bid to exceed monthly budget
MultiplierCausesBidToExceedCustomBudget = 10
Multiplier causes bid to exceed custom budget
MultiplierCausesBidToExceedMaxAllowedBid = 11
Multiplier causes bid to exceed maximum allowed bid
BidLessThanMinAllowedBidWithMultiplier = 12
Multiplier causes bid to become less than the minimum bid allowed
MultiplierAndBiddingStrategyTypeMismatch = 13
Multiplier type (cpc versus cpm) needs to match campaign’s bidding strategy
Implementations§
source§impl MultiplierError
impl MultiplierError
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 MultiplierError
impl Clone for MultiplierError
source§fn clone(&self) -> MultiplierError
fn clone(&self) -> MultiplierError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MultiplierError
impl Debug for MultiplierError
source§impl Default for MultiplierError
impl Default for MultiplierError
source§fn default() -> MultiplierError
fn default() -> MultiplierError
source§impl From<MultiplierError> for i32
impl From<MultiplierError> for i32
source§fn from(value: MultiplierError) -> i32
fn from(value: MultiplierError) -> i32
source§impl Hash for MultiplierError
impl Hash for MultiplierError
source§impl Ord for MultiplierError
impl Ord for MultiplierError
source§fn cmp(&self, other: &MultiplierError) -> Ordering
fn cmp(&self, other: &MultiplierError) -> 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 MultiplierError
impl PartialEq for MultiplierError
source§fn eq(&self, other: &MultiplierError) -> bool
fn eq(&self, other: &MultiplierError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MultiplierError
impl PartialOrd for MultiplierError
source§fn partial_cmp(&self, other: &MultiplierError) -> Option<Ordering>
fn partial_cmp(&self, other: &MultiplierError) -> 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 MultiplierError
impl TryFrom<i32> for MultiplierError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<MultiplierError, DecodeError>
fn try_from(value: i32) -> Result<MultiplierError, DecodeError>
impl Copy for MultiplierError
impl Eq for MultiplierError
impl StructuralPartialEq for MultiplierError
Auto Trait Implementations§
impl Freeze for MultiplierError
impl RefUnwindSafe for MultiplierError
impl Send for MultiplierError
impl Sync for MultiplierError
impl Unpin for MultiplierError
impl UnwindSafe for MultiplierError
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