pub struct ClickView {
pub resource_name: String,
pub gclid: Option<String>,
pub area_of_interest: Option<ClickLocation>,
pub location_of_presence: Option<ClickLocation>,
pub page_number: Option<i64>,
pub ad_group_ad: Option<String>,
pub campaign_location_target: Option<String>,
pub user_list: Option<String>,
pub keyword: String,
pub keyword_info: Option<KeywordInfo>,
}
Expand description
A click view with metrics aggregated at each click level, including both valid and invalid clicks. For non-Search campaigns, metrics.clicks represents the number of valid and invalid interactions. Queries including ClickView must have a filter limiting the results to one day and can be requested for dates back to 90 days before the time of the request.
Fields§
§resource_name: String
Output only. The resource name of the click view. Click view resource names have the form:
customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}
gclid: Option<String>
Output only. The Google Click ID.
area_of_interest: Option<ClickLocation>
Output only. The location criteria matching the area of interest associated with the impression.
location_of_presence: Option<ClickLocation>
Output only. The location criteria matching the location of presence associated with the impression.
page_number: Option<i64>
Output only. Page number in search results where the ad was shown.
ad_group_ad: Option<String>
Output only. The associated ad.
campaign_location_target: Option<String>
Output only. The associated campaign location target, if one exists.
user_list: Option<String>
Output only. The associated user list, if one exists.
keyword: String
Output only. The associated keyword, if one exists and the click corresponds to the SEARCH channel.
keyword_info: Option<KeywordInfo>
Output only. Basic information about the associated keyword, if it exists.
Implementations§
source§impl ClickView
impl ClickView
sourcepub fn gclid(&self) -> &str
pub fn gclid(&self) -> &str
Returns the value of gclid
, or the default value if gclid
is unset.
sourcepub fn page_number(&self) -> i64
pub fn page_number(&self) -> i64
Returns the value of page_number
, or the default value if page_number
is unset.
sourcepub fn ad_group_ad(&self) -> &str
pub fn ad_group_ad(&self) -> &str
Returns the value of ad_group_ad
, or the default value if ad_group_ad
is unset.
sourcepub fn campaign_location_target(&self) -> &str
pub fn campaign_location_target(&self) -> &str
Returns the value of campaign_location_target
, or the default value if campaign_location_target
is unset.
Trait Implementations§
source§impl Message for ClickView
impl Message for ClickView
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 ClickView
impl PartialEq for ClickView
impl StructuralPartialEq for ClickView
Auto Trait Implementations§
impl Freeze for ClickView
impl RefUnwindSafe for ClickView
impl Send for ClickView
impl Sync for ClickView
impl Unpin for ClickView
impl UnwindSafe for ClickView
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