Struct google_api_proto::google::ads::googleads::v15::resources::CampaignConversionGoal
source · pub struct CampaignConversionGoal {
pub resource_name: String,
pub campaign: String,
pub category: i32,
pub origin: i32,
pub biddable: bool,
}
Expand description
The biddability setting for the specified campaign only for all conversion actions with a matching category and origin.
Fields§
§resource_name: String
Immutable. The resource name of the campaign conversion goal. Campaign conversion goal resource names have the form:
customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}
campaign: String
Immutable. The campaign with which this campaign conversion goal is associated.
category: i32
The conversion category of this campaign conversion goal.
origin: i32
The conversion origin of this campaign conversion goal.
biddable: bool
The biddability of the campaign conversion goal.
Implementations§
source§impl CampaignConversionGoal
impl CampaignConversionGoal
sourcepub fn category(&self) -> ConversionActionCategory
pub fn category(&self) -> ConversionActionCategory
Returns the enum value of category
, or the default if the field is set to an invalid enum value.
sourcepub fn set_category(&mut self, value: ConversionActionCategory)
pub fn set_category(&mut self, value: ConversionActionCategory)
Sets category
to the provided enum value.
sourcepub fn origin(&self) -> ConversionOrigin
pub fn origin(&self) -> ConversionOrigin
Returns the enum value of origin
, or the default if the field is set to an invalid enum value.
sourcepub fn set_origin(&mut self, value: ConversionOrigin)
pub fn set_origin(&mut self, value: ConversionOrigin)
Sets origin
to the provided enum value.
Trait Implementations§
source§impl Clone for CampaignConversionGoal
impl Clone for CampaignConversionGoal
source§fn clone(&self) -> CampaignConversionGoal
fn clone(&self) -> CampaignConversionGoal
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CampaignConversionGoal
impl Debug for CampaignConversionGoal
source§impl Default for CampaignConversionGoal
impl Default for CampaignConversionGoal
source§impl Message for CampaignConversionGoal
impl Message for CampaignConversionGoal
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 CampaignConversionGoal
impl PartialEq for CampaignConversionGoal
source§fn eq(&self, other: &CampaignConversionGoal) -> bool
fn eq(&self, other: &CampaignConversionGoal) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CampaignConversionGoal
Auto Trait Implementations§
impl Freeze for CampaignConversionGoal
impl RefUnwindSafe for CampaignConversionGoal
impl Send for CampaignConversionGoal
impl Sync for CampaignConversionGoal
impl Unpin for CampaignConversionGoal
impl UnwindSafe for CampaignConversionGoal
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