Struct google_api_proto::google::ads::googleads::v17::common::TargetCpaSimulationPoint
source · pub struct TargetCpaSimulationPoint {
pub required_budget_amount_micros: i64,
pub biddable_conversions: Option<f64>,
pub biddable_conversions_value: Option<f64>,
pub app_installs: f64,
pub in_app_actions: f64,
pub clicks: Option<i64>,
pub cost_micros: Option<i64>,
pub impressions: Option<i64>,
pub top_slot_impressions: Option<i64>,
pub interactions: Option<i64>,
pub target_cpa_simulation_key_value: Option<TargetCpaSimulationKeyValue>,
}
Expand description
Projected metrics for a specific target CPA amount.
Fields§
§required_budget_amount_micros: i64
Projected required daily budget that the advertiser must set in order to receive the estimated traffic, in micros of advertiser currency.
biddable_conversions: Option<f64>
Projected number of biddable conversions.
biddable_conversions_value: Option<f64>
Projected total value of biddable conversions.
app_installs: f64
Projected number of app installs.
in_app_actions: f64
Projected number of in-app actions.
clicks: Option<i64>
Projected number of clicks.
cost_micros: Option<i64>
Projected cost in micros.
impressions: Option<i64>
Projected number of impressions.
top_slot_impressions: Option<i64>
Projected number of top slot impressions. Only search advertising channel type supports this field.
interactions: Option<i64>
Projected number of interactions. Only discovery advertising channel type supports this field.
target_cpa_simulation_key_value: Option<TargetCpaSimulationKeyValue>
When SimulationModificationMethod = UNIFORM or DEFAULT, target_cpa_micros is set. When SimulationModificationMethod = SCALING, target_cpa_scaling_modifier is set.
Implementations§
source§impl TargetCpaSimulationPoint
impl TargetCpaSimulationPoint
sourcepub fn biddable_conversions(&self) -> f64
pub fn biddable_conversions(&self) -> f64
Returns the value of biddable_conversions
, or the default value if biddable_conversions
is unset.
sourcepub fn biddable_conversions_value(&self) -> f64
pub fn biddable_conversions_value(&self) -> f64
Returns the value of biddable_conversions_value
, or the default value if biddable_conversions_value
is unset.
sourcepub fn clicks(&self) -> i64
pub fn clicks(&self) -> i64
Returns the value of clicks
, or the default value if clicks
is unset.
sourcepub fn cost_micros(&self) -> i64
pub fn cost_micros(&self) -> i64
Returns the value of cost_micros
, or the default value if cost_micros
is unset.
sourcepub fn impressions(&self) -> i64
pub fn impressions(&self) -> i64
Returns the value of impressions
, or the default value if impressions
is unset.
sourcepub fn top_slot_impressions(&self) -> i64
pub fn top_slot_impressions(&self) -> i64
Returns the value of top_slot_impressions
, or the default value if top_slot_impressions
is unset.
sourcepub fn interactions(&self) -> i64
pub fn interactions(&self) -> i64
Returns the value of interactions
, or the default value if interactions
is unset.
Trait Implementations§
source§impl Clone for TargetCpaSimulationPoint
impl Clone for TargetCpaSimulationPoint
source§fn clone(&self) -> TargetCpaSimulationPoint
fn clone(&self) -> TargetCpaSimulationPoint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetCpaSimulationPoint
impl Debug for TargetCpaSimulationPoint
source§impl Default for TargetCpaSimulationPoint
impl Default for TargetCpaSimulationPoint
source§impl Message for TargetCpaSimulationPoint
impl Message for TargetCpaSimulationPoint
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 TargetCpaSimulationPoint
impl PartialEq for TargetCpaSimulationPoint
source§fn eq(&self, other: &TargetCpaSimulationPoint) -> bool
fn eq(&self, other: &TargetCpaSimulationPoint) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for TargetCpaSimulationPoint
impl StructuralPartialEq for TargetCpaSimulationPoint
Auto Trait Implementations§
impl Freeze for TargetCpaSimulationPoint
impl RefUnwindSafe for TargetCpaSimulationPoint
impl Send for TargetCpaSimulationPoint
impl Sync for TargetCpaSimulationPoint
impl Unpin for TargetCpaSimulationPoint
impl UnwindSafe for TargetCpaSimulationPoint
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