Struct google_api_proto::google::ads::googleads::v16::services::PlannedProduct
source · pub struct PlannedProduct {
pub plannable_product_code: Option<String>,
pub budget_micros: Option<i64>,
pub advanced_product_targeting: Option<AdvancedProductTargeting>,
}
Expand description
A product being planned for reach.
Fields§
§plannable_product_code: Option<String>
Required. Selected product for planning. The code associated with the ad product (for example: Trueview, Bumper). To list the available plannable product codes use [ReachPlanService.ListPlannableProducts][google.ads.googleads.v16.services.ReachPlanService.ListPlannableProducts].
budget_micros: Option<i64>
Required. Maximum budget allocation in micros for the selected product. The value is specified in the selected planning currency_code. For example: 1 000 000$ = 1 000 000 000 000 micros.
advanced_product_targeting: Option<AdvancedProductTargeting>
Targeting settings for the selected product. To list the available targeting for each product use [ReachPlanService.ListPlannableProducts][google.ads.googleads.v16.services.ReachPlanService.ListPlannableProducts].
Implementations§
source§impl PlannedProduct
impl PlannedProduct
sourcepub fn plannable_product_code(&self) -> &str
pub fn plannable_product_code(&self) -> &str
Returns the value of plannable_product_code
, or the default value if plannable_product_code
is unset.
sourcepub fn budget_micros(&self) -> i64
pub fn budget_micros(&self) -> i64
Returns the value of budget_micros
, or the default value if budget_micros
is unset.
Trait Implementations§
source§impl Clone for PlannedProduct
impl Clone for PlannedProduct
source§fn clone(&self) -> PlannedProduct
fn clone(&self) -> PlannedProduct
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PlannedProduct
impl Debug for PlannedProduct
source§impl Default for PlannedProduct
impl Default for PlannedProduct
source§impl Message for PlannedProduct
impl Message for PlannedProduct
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 PlannedProduct
impl PartialEq for PlannedProduct
source§fn eq(&self, other: &PlannedProduct) -> bool
fn eq(&self, other: &PlannedProduct) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PlannedProduct
Auto Trait Implementations§
impl Freeze for PlannedProduct
impl RefUnwindSafe for PlannedProduct
impl Send for PlannedProduct
impl Sync for PlannedProduct
impl Unpin for PlannedProduct
impl UnwindSafe for PlannedProduct
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