pub struct WebpageInfo {
pub criterion_name: 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: 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.
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<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 WebpageInfo
impl PartialEq for WebpageInfo
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
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