Struct google_api_proto::google::ads::googleads::v16::resources::ExperimentArm
source · pub struct ExperimentArm {
pub resource_name: String,
pub experiment: String,
pub name: String,
pub control: bool,
pub traffic_split: i64,
pub campaigns: Vec<String>,
pub in_design_campaigns: Vec<String>,
}
Expand description
A Google ads experiment for users to experiment changes on multiple campaigns, compare the performance, and apply the effective changes.
Fields§
§resource_name: String
Immutable. The resource name of the experiment arm. Experiment arm resource names have the form:
customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}
experiment: String
Immutable. The experiment to which the ExperimentArm belongs.
name: String
Required. The name of the experiment arm. It must have a minimum length of 1 and maximum length of 1024. It must be unique under an experiment.
control: bool
Whether this arm is a control arm. A control arm is the arm against which the other arms are compared.
traffic_split: i64
Traffic split of the trial arm. The value should be between 1 and 100 and must total 100 between the two trial arms.
campaigns: Vec<String>
List of campaigns in the trial arm. The max length is one.
in_design_campaigns: Vec<String>
Output only. The in design campaigns in the treatment experiment arm.
Trait Implementations§
source§impl Clone for ExperimentArm
impl Clone for ExperimentArm
source§fn clone(&self) -> ExperimentArm
fn clone(&self) -> ExperimentArm
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExperimentArm
impl Debug for ExperimentArm
source§impl Default for ExperimentArm
impl Default for ExperimentArm
source§impl Message for ExperimentArm
impl Message for ExperimentArm
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ExperimentArm
impl PartialEq for ExperimentArm
source§fn eq(&self, other: &ExperimentArm) -> bool
fn eq(&self, other: &ExperimentArm) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExperimentArm
Auto Trait Implementations§
impl Freeze for ExperimentArm
impl RefUnwindSafe for ExperimentArm
impl Send for ExperimentArm
impl Sync for ExperimentArm
impl Unpin for ExperimentArm
impl UnwindSafe for ExperimentArm
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<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