Enum google_api_proto::google::ads::googleads::v15::errors::experiment_arm_error_enum::ExperimentArmError
source · #[repr(i32)]pub enum ExperimentArmError {
Show 16 variants
Unspecified = 0,
Unknown = 1,
ExperimentArmCountLimitExceeded = 2,
InvalidCampaignStatus = 3,
DuplicateExperimentArmName = 4,
CannotSetTreatmentArmCampaign = 5,
CannotModifyCampaignIds = 6,
CannotModifyCampaignWithoutSuffixSet = 7,
CannotMutateTrafficSplitAfterStart = 8,
CannotAddCampaignWithSharedBudget = 9,
CannotAddCampaignWithCustomBudget = 10,
CannotAddCampaignsWithDynamicAssetsEnabled = 11,
UnsupportedCampaignAdvertisingChannelSubType = 12,
CannotAddBaseCampaignWithDateRange = 13,
BiddingStrategyNotSupportedInExperiments = 14,
TrafficSplitNotSupportedForChannelType = 15,
}
Expand description
Enum describing possible experiment arm errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
ExperimentArmCountLimitExceeded = 2
Number of experiment arms is above limit.
InvalidCampaignStatus = 3
Cannot add campaign with invalid status to the experiment arm.
DuplicateExperimentArmName = 4
Cannot add duplicate experiment arm name in one experiment.
CannotSetTreatmentArmCampaign = 5
Cannot set campaigns of treatment experiment arm.
CannotModifyCampaignIds = 6
Cannot edit campaign ids in trial arms in non SETUP experiment.
CannotModifyCampaignWithoutSuffixSet = 7
Cannot modify the campaigns in the control arm if there is not a suffix set in the trial.
CannotMutateTrafficSplitAfterStart = 8
Traffic split related settings (like traffic share bounds) can’t be modified after the trial has started.
Cannot use shared budget on experiment’s control campaign.
CannotAddCampaignWithCustomBudget = 10
Cannot use custom budget on experiment’s control campaigns.
CannotAddCampaignsWithDynamicAssetsEnabled = 11
Cannot have enable_dynamic_assets turned on in experiment’s campaigns.
UnsupportedCampaignAdvertisingChannelSubType = 12
Cannot use campaign’s advertising channel sub type in experiment.
CannotAddBaseCampaignWithDateRange = 13
Experiment date range must be within base campaign’s date range.
BiddingStrategyNotSupportedInExperiments = 14
Bidding strategy is not supported in experiments.
TrafficSplitNotSupportedForChannelType = 15
Traffic split is not supported for some channel types.
Implementations§
source§impl ExperimentArmError
impl ExperimentArmError
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 ExperimentArmError
impl Clone for ExperimentArmError
source§fn clone(&self) -> ExperimentArmError
fn clone(&self) -> ExperimentArmError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExperimentArmError
impl Debug for ExperimentArmError
source§impl Default for ExperimentArmError
impl Default for ExperimentArmError
source§fn default() -> ExperimentArmError
fn default() -> ExperimentArmError
source§impl From<ExperimentArmError> for i32
impl From<ExperimentArmError> for i32
source§fn from(value: ExperimentArmError) -> i32
fn from(value: ExperimentArmError) -> i32
source§impl Hash for ExperimentArmError
impl Hash for ExperimentArmError
source§impl Ord for ExperimentArmError
impl Ord for ExperimentArmError
source§fn cmp(&self, other: &ExperimentArmError) -> Ordering
fn cmp(&self, other: &ExperimentArmError) -> 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 ExperimentArmError
impl PartialEq for ExperimentArmError
source§fn eq(&self, other: &ExperimentArmError) -> bool
fn eq(&self, other: &ExperimentArmError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ExperimentArmError
impl PartialOrd for ExperimentArmError
source§fn partial_cmp(&self, other: &ExperimentArmError) -> Option<Ordering>
fn partial_cmp(&self, other: &ExperimentArmError) -> 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 ExperimentArmError
impl TryFrom<i32> for ExperimentArmError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ExperimentArmError, DecodeError>
fn try_from(value: i32) -> Result<ExperimentArmError, DecodeError>
impl Copy for ExperimentArmError
impl Eq for ExperimentArmError
impl StructuralPartialEq for ExperimentArmError
Auto Trait Implementations§
impl Freeze for ExperimentArmError
impl RefUnwindSafe for ExperimentArmError
impl Send for ExperimentArmError
impl Sync for ExperimentArmError
impl Unpin for ExperimentArmError
impl UnwindSafe for ExperimentArmError
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