Struct google_api_proto::google::ads::googleads::v17::resources::DetailPlacementView
source · pub struct DetailPlacementView {
pub resource_name: String,
pub placement: Option<String>,
pub display_name: Option<String>,
pub group_placement_target_url: Option<String>,
pub target_url: Option<String>,
pub placement_type: i32,
}
Expand description
A view with metrics aggregated by ad group and URL or YouTube video.
Fields§
§resource_name: String
Output only. The resource name of the detail placement view. Detail placement view resource names have the form:
customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}
placement: Option<String>
Output only. The automatic placement string at detail level, e. g. website URL, mobile application ID, or a YouTube video ID.
display_name: Option<String>
Output only. The display name is URL name for websites, YouTube video name for YouTube videos, and translated mobile app name for mobile apps.
group_placement_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.
target_url: Option<String>
Output only. URL of the placement, for example, website, link to the mobile application in app store, or a YouTube video URL.
placement_type: i32
Output only. Type of the placement, for example, Website, YouTube Video, and Mobile Application.
Implementations§
source§impl DetailPlacementView
impl DetailPlacementView
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 group_placement_target_url(&self) -> &str
pub fn group_placement_target_url(&self) -> &str
Returns the value of group_placement_target_url
, or the default value if group_placement_target_url
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 DetailPlacementView
impl Clone for DetailPlacementView
source§fn clone(&self) -> DetailPlacementView
fn clone(&self) -> DetailPlacementView
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DetailPlacementView
impl Debug for DetailPlacementView
source§impl Default for DetailPlacementView
impl Default for DetailPlacementView
source§impl Message for DetailPlacementView
impl Message for DetailPlacementView
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 DetailPlacementView
impl PartialEq for DetailPlacementView
source§fn eq(&self, other: &DetailPlacementView) -> bool
fn eq(&self, other: &DetailPlacementView) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetailPlacementView
Auto Trait Implementations§
impl Freeze for DetailPlacementView
impl RefUnwindSafe for DetailPlacementView
impl Send for DetailPlacementView
impl Sync for DetailPlacementView
impl Unpin for DetailPlacementView
impl UnwindSafe for DetailPlacementView
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