pub struct PerformanceMaxPlacementView {
pub resource_name: String,
pub placement: String,
pub display_name: String,
pub target_url: String,
pub placement_type: i32,
}
Expand description
A view with impression metrics for Performance Max campaign placements.
Fields§
§resource_name: String
Output only. The resource name of the Performance Max placement view. Performance Max placement view resource names have the form:
customers/{customer_id}/performanceMaxPlacementViews/{base_64_placement}
placement: String
Output only. The default placement string, such as the website URL, mobile application ID, or a YouTube video ID.
display_name: String
Output only. The name displayed to represent the placement, such as the URL name for websites, YouTube video name for YouTube videos, and translated mobile app name for mobile apps.
target_url: 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. Possible values for Performance Max placements are WEBSITE, MOBILE_APPLICATION, or YOUTUBE_VIDEO.
Implementations§
Source§impl PerformanceMaxPlacementView
impl PerformanceMaxPlacementView
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.
Trait Implementations§
Source§impl Clone for PerformanceMaxPlacementView
impl Clone for PerformanceMaxPlacementView
Source§fn clone(&self) -> PerformanceMaxPlacementView
fn clone(&self) -> PerformanceMaxPlacementView
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PerformanceMaxPlacementView
impl Debug for PerformanceMaxPlacementView
Source§impl Message for PerformanceMaxPlacementView
impl Message for PerformanceMaxPlacementView
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
.impl StructuralPartialEq for PerformanceMaxPlacementView
Auto Trait Implementations§
impl Freeze for PerformanceMaxPlacementView
impl RefUnwindSafe for PerformanceMaxPlacementView
impl Send for PerformanceMaxPlacementView
impl Sync for PerformanceMaxPlacementView
impl Unpin for PerformanceMaxPlacementView
impl UnwindSafe for PerformanceMaxPlacementView
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