Struct google_api_proto::google::ads::googleads::v17::common::WebpageInfo
source · pub struct WebpageInfo {
pub criterion_name: Option<String>,
pub conditions: Vec<WebpageConditionInfo>,
pub coverage_percentage: f64,
pub sample: Option<WebpageSampleInfo>,
}
Expand description
Represents a criterion for targeting webpages of an advertiser’s website.
Fields§
§criterion_name: Option<String>
The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters.
This field is required for CREATE operations and is prohibited on UPDATE operations.
conditions: Vec<WebpageConditionInfo>
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign’s website are targeted.
This field is required for CREATE operations and is prohibited on UPDATE operations.
coverage_percentage: f64
Website criteria coverage percentage. This is the computed percentage of website coverage based on the website target, negative website target and negative keywords in the ad group and campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This field is read-only.
sample: Option<WebpageSampleInfo>
List of sample urls that match the website target. This field is read-only.
Implementations§
source§impl WebpageInfo
impl WebpageInfo
sourcepub fn criterion_name(&self) -> &str
pub fn criterion_name(&self) -> &str
Returns the value of criterion_name
, or the default value if criterion_name
is unset.
Trait Implementations§
source§impl Clone for WebpageInfo
impl Clone for WebpageInfo
source§fn clone(&self) -> WebpageInfo
fn clone(&self) -> WebpageInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WebpageInfo
impl Debug for WebpageInfo
source§impl Default for WebpageInfo
impl Default for WebpageInfo
source§impl Message for WebpageInfo
impl Message for WebpageInfo
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 WebpageInfo
impl PartialEq for WebpageInfo
source§fn eq(&self, other: &WebpageInfo) -> bool
fn eq(&self, other: &WebpageInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WebpageInfo
Auto Trait Implementations§
impl Freeze for WebpageInfo
impl RefUnwindSafe for WebpageInfo
impl Send for WebpageInfo
impl Sync for WebpageInfo
impl Unpin for WebpageInfo
impl UnwindSafe for WebpageInfo
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