pub struct QualityInfo {
pub quality_score: 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: 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.
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for QualityInfo
impl PartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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