Struct google_api_proto::google::ads::googleads::v17::resources::campaign::NetworkSettings
source · pub struct NetworkSettings {
pub target_google_search: Option<bool>,
pub target_search_network: Option<bool>,
pub target_content_network: Option<bool>,
pub target_partner_search_network: Option<bool>,
pub target_youtube: Option<bool>,
pub target_google_tv_network: Option<bool>,
}
Expand description
The network settings for the campaign.
Fields§
§target_google_search: Option<bool>
Whether ads will be served with google.com search results.
target_search_network: Option<bool>
Whether ads will be served on partner sites in the Google Search Network
(requires target_google_search
to also be true
).
target_content_network: Option<bool>
Whether ads will be served on specified placements in the Google Display Network. Placements are specified using the Placement criterion.
target_partner_search_network: Option<bool>
Whether ads will be served on the Google Partner Network. This is available only to some select Google partner accounts.
target_youtube: Option<bool>
Whether ads will be served on YouTube.
target_google_tv_network: Option<bool>
Whether ads will be served on the Google TV network.
Implementations§
source§impl NetworkSettings
impl NetworkSettings
sourcepub fn target_google_search(&self) -> bool
pub fn target_google_search(&self) -> bool
Returns the value of target_google_search
, or the default value if target_google_search
is unset.
sourcepub fn target_search_network(&self) -> bool
pub fn target_search_network(&self) -> bool
Returns the value of target_search_network
, or the default value if target_search_network
is unset.
sourcepub fn target_content_network(&self) -> bool
pub fn target_content_network(&self) -> bool
Returns the value of target_content_network
, or the default value if target_content_network
is unset.
sourcepub fn target_partner_search_network(&self) -> bool
pub fn target_partner_search_network(&self) -> bool
Returns the value of target_partner_search_network
, or the default value if target_partner_search_network
is unset.
sourcepub fn target_youtube(&self) -> bool
pub fn target_youtube(&self) -> bool
Returns the value of target_youtube
, or the default value if target_youtube
is unset.
sourcepub fn target_google_tv_network(&self) -> bool
pub fn target_google_tv_network(&self) -> bool
Returns the value of target_google_tv_network
, or the default value if target_google_tv_network
is unset.
Trait Implementations§
source§impl Clone for NetworkSettings
impl Clone for NetworkSettings
source§fn clone(&self) -> NetworkSettings
fn clone(&self) -> NetworkSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetworkSettings
impl Debug for NetworkSettings
source§impl Default for NetworkSettings
impl Default for NetworkSettings
source§impl Message for NetworkSettings
impl Message for NetworkSettings
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 NetworkSettings
impl PartialEq for NetworkSettings
source§fn eq(&self, other: &NetworkSettings) -> bool
fn eq(&self, other: &NetworkSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for NetworkSettings
impl StructuralPartialEq for NetworkSettings
Auto Trait Implementations§
impl Freeze for NetworkSettings
impl RefUnwindSafe for NetworkSettings
impl Send for NetworkSettings
impl Sync for NetworkSettings
impl Unpin for NetworkSettings
impl UnwindSafe for NetworkSettings
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