Struct google_api_proto::google::ads::googleads::v15::resources::ad_group_criterion::QualityInfo
source · pub struct QualityInfo {
pub quality_score: Option<i32>,
pub creative_quality_score: i32,
pub post_click_quality_score: i32,
pub search_predicted_ctr: i32,
}
Expand description
A container for ad group criterion quality information.
Fields§
§quality_score: Option<i32>
Output only. The quality score.
This field may not be populated if Google does not have enough information to determine a value.
creative_quality_score: i32
Output only. The performance of the ad compared to other advertisers.
post_click_quality_score: i32
Output only. The quality score of the landing page.
search_predicted_ctr: i32
Output only. The click-through rate compared to that of other advertisers.
Implementations§
source§impl QualityInfo
impl QualityInfo
sourcepub fn creative_quality_score(&self) -> QualityScoreBucket
pub fn creative_quality_score(&self) -> QualityScoreBucket
Returns the enum value of creative_quality_score
, or the default if the field is set to an invalid enum value.
sourcepub fn set_creative_quality_score(&mut self, value: QualityScoreBucket)
pub fn set_creative_quality_score(&mut self, value: QualityScoreBucket)
Sets creative_quality_score
to the provided enum value.
sourcepub fn post_click_quality_score(&self) -> QualityScoreBucket
pub fn post_click_quality_score(&self) -> QualityScoreBucket
Returns the enum value of post_click_quality_score
, or the default if the field is set to an invalid enum value.
sourcepub fn set_post_click_quality_score(&mut self, value: QualityScoreBucket)
pub fn set_post_click_quality_score(&mut self, value: QualityScoreBucket)
Sets post_click_quality_score
to the provided enum value.
sourcepub fn search_predicted_ctr(&self) -> QualityScoreBucket
pub fn search_predicted_ctr(&self) -> QualityScoreBucket
Returns the enum value of search_predicted_ctr
, or the default if the field is set to an invalid enum value.
sourcepub fn set_search_predicted_ctr(&mut self, value: QualityScoreBucket)
pub fn set_search_predicted_ctr(&mut self, value: QualityScoreBucket)
Sets search_predicted_ctr
to the provided enum value.
sourcepub fn quality_score(&self) -> i32
pub fn quality_score(&self) -> i32
Returns the value of quality_score
, or the default value if quality_score
is unset.
Trait Implementations§
source§impl Clone for QualityInfo
impl Clone for QualityInfo
source§fn clone(&self) -> QualityInfo
fn clone(&self) -> QualityInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QualityInfo
impl Debug for QualityInfo
source§impl Default for QualityInfo
impl Default for QualityInfo
source§impl Message for QualityInfo
impl Message for QualityInfo
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 QualityInfo
impl PartialEq for QualityInfo
source§fn eq(&self, other: &QualityInfo) -> bool
fn eq(&self, other: &QualityInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for QualityInfo
impl StructuralPartialEq for QualityInfo
Auto Trait Implementations§
impl Freeze for QualityInfo
impl RefUnwindSafe for QualityInfo
impl Send for QualityInfo
impl Sync for QualityInfo
impl Unpin for QualityInfo
impl UnwindSafe for QualityInfo
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