Enum google_api_proto::google::ads::googleads::v14::enums::experiment_type_enum::ExperimentType
source · #[repr(i32)]pub enum ExperimentType {
Unspecified = 0,
Unknown = 1,
DisplayAndVideo360 = 2,
AdVariation = 3,
YoutubeCustom = 5,
DisplayCustom = 6,
SearchCustom = 7,
DisplayAutomatedBiddingStrategy = 8,
SearchAutomatedBiddingStrategy = 9,
ShoppingAutomatedBiddingStrategy = 10,
SmartMatching = 11,
HotelCustom = 12,
}
Expand description
The type of the experiment.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
The value is unknown in this version.
DisplayAndVideo360 = 2
This is a DISPLAY_AND_VIDEO_360 experiment.
AdVariation = 3
This is an ad variation experiment.
YoutubeCustom = 5
A custom experiment consisting of Video campaigns.
DisplayCustom = 6
A custom experiment consisting of display campaigns.
SearchCustom = 7
A custom experiment consisting of search campaigns.
DisplayAutomatedBiddingStrategy = 8
An experiment that compares bidding strategies for display campaigns.
SearchAutomatedBiddingStrategy = 9
An experiment that compares bidding strategies for search campaigns.“
ShoppingAutomatedBiddingStrategy = 10
An experiment that compares bidding strategies for shopping campaigns.
SmartMatching = 11
DEPRECATED. A smart matching experiment with search campaigns.
HotelCustom = 12
A custom experiment consisting of hotel campaigns.
Implementations§
source§impl ExperimentType
impl ExperimentType
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 ExperimentType
impl Clone for ExperimentType
source§fn clone(&self) -> ExperimentType
fn clone(&self) -> ExperimentType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExperimentType
impl Debug for ExperimentType
source§impl Default for ExperimentType
impl Default for ExperimentType
source§fn default() -> ExperimentType
fn default() -> ExperimentType
source§impl From<ExperimentType> for i32
impl From<ExperimentType> for i32
source§fn from(value: ExperimentType) -> i32
fn from(value: ExperimentType) -> i32
source§impl Hash for ExperimentType
impl Hash for ExperimentType
source§impl Ord for ExperimentType
impl Ord for ExperimentType
source§fn cmp(&self, other: &ExperimentType) -> Ordering
fn cmp(&self, other: &ExperimentType) -> 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 ExperimentType
impl PartialEq for ExperimentType
source§fn eq(&self, other: &ExperimentType) -> bool
fn eq(&self, other: &ExperimentType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ExperimentType
impl PartialOrd for ExperimentType
source§fn partial_cmp(&self, other: &ExperimentType) -> Option<Ordering>
fn partial_cmp(&self, other: &ExperimentType) -> 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 ExperimentType
impl TryFrom<i32> for ExperimentType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ExperimentType, DecodeError>
fn try_from(value: i32) -> Result<ExperimentType, DecodeError>
impl Copy for ExperimentType
impl Eq for ExperimentType
impl StructuralPartialEq for ExperimentType
Auto Trait Implementations§
impl Freeze for ExperimentType
impl RefUnwindSafe for ExperimentType
impl Send for ExperimentType
impl Sync for ExperimentType
impl Unpin for ExperimentType
impl UnwindSafe for ExperimentType
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