Struct google_api_proto::google::ads::googleads::v15::resources::GroupPlacementView
source · pub struct GroupPlacementView {
pub resource_name: String,
pub placement: Option<String>,
pub display_name: Option<String>,
pub target_url: Option<String>,
pub placement_type: i32,
}
Expand description
A group placement view.
Fields§
§resource_name: String
Output only. The resource name of the group placement view. Group placement view resource names have the form:
customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}
placement: Option<String>
Output only. The automatic placement string at group level, e. g. web domain, mobile app ID, or a YouTube channel ID.
display_name: Option<String>
Output only. Domain name for websites and YouTube channel name for YouTube channels.
target_url: Option<String>
Output only. URL of the group placement, for example, domain, link to the mobile application in app store, or a YouTube channel URL.
placement_type: i32
Output only. Type of the placement, for example, Website, YouTube Channel, Mobile Application.
Implementations§
source§impl GroupPlacementView
impl GroupPlacementView
sourcepub fn placement_type(&self) -> PlacementType
pub fn placement_type(&self) -> PlacementType
Returns the enum value of placement_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_placement_type(&mut self, value: PlacementType)
pub fn set_placement_type(&mut self, value: PlacementType)
Sets placement_type
to the provided enum value.
sourcepub fn placement(&self) -> &str
pub fn placement(&self) -> &str
Returns the value of placement
, or the default value if placement
is unset.
sourcepub fn display_name(&self) -> &str
pub fn display_name(&self) -> &str
Returns the value of display_name
, or the default value if display_name
is unset.
sourcepub fn target_url(&self) -> &str
pub fn target_url(&self) -> &str
Returns the value of target_url
, or the default value if target_url
is unset.
Trait Implementations§
source§impl Clone for GroupPlacementView
impl Clone for GroupPlacementView
source§fn clone(&self) -> GroupPlacementView
fn clone(&self) -> GroupPlacementView
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GroupPlacementView
impl Debug for GroupPlacementView
source§impl Default for GroupPlacementView
impl Default for GroupPlacementView
source§impl Message for GroupPlacementView
impl Message for GroupPlacementView
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 GroupPlacementView
impl PartialEq for GroupPlacementView
source§fn eq(&self, other: &GroupPlacementView) -> bool
fn eq(&self, other: &GroupPlacementView) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GroupPlacementView
Auto Trait Implementations§
impl Freeze for GroupPlacementView
impl RefUnwindSafe for GroupPlacementView
impl Send for GroupPlacementView
impl Sync for GroupPlacementView
impl Unpin for GroupPlacementView
impl UnwindSafe for GroupPlacementView
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