Struct google_api_proto::google::ads::searchads360::v0::common::TargetImpressionShare
source · pub struct TargetImpressionShare {
pub location: i32,
pub location_fraction_micros: Option<i64>,
pub cpc_bid_ceiling_micros: Option<i64>,
}
Expand description
An automated bidding strategy that sets bids so that a certain percentage of search ads are shown at the top of the first page (or other targeted location).
Fields§
§location: i32
The targeted location on the search results page.
location_fraction_micros: Option<i64>
The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% equals 10,000.
cpc_bid_ceiling_micros: Option<i64>
The highest CPC bid the automated bidding system is permitted to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros.
Implementations§
sourcepub fn location(&self) -> TargetImpressionShareLocation
pub fn location(&self) -> TargetImpressionShareLocation
Returns the enum value of location
, or the default if the field is set to an invalid enum value.
sourcepub fn set_location(&mut self, value: TargetImpressionShareLocation)
pub fn set_location(&mut self, value: TargetImpressionShareLocation)
Sets location
to the provided enum value.
sourcepub fn location_fraction_micros(&self) -> i64
pub fn location_fraction_micros(&self) -> i64
Returns the value of location_fraction_micros
, or the default value if location_fraction_micros
is unset.
sourcepub fn cpc_bid_ceiling_micros(&self) -> i64
pub fn cpc_bid_ceiling_micros(&self) -> i64
Returns the value of cpc_bid_ceiling_micros
, or the default value if cpc_bid_ceiling_micros
is unset.
Trait Implementations§
source§fn clone(&self) -> TargetImpressionShare
fn clone(&self) -> TargetImpressionShare
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§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§fn eq(&self, other: &TargetImpressionShare) -> bool
fn eq(&self, other: &TargetImpressionShare) -> bool
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
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