Struct google_api_proto::google::ads::googleads::v17::resources::CampaignAggregateAssetView
source · pub struct CampaignAggregateAssetView {
pub resource_name: String,
pub campaign: Option<String>,
pub asset: Option<String>,
pub asset_source: Option<i32>,
pub field_type: Option<i32>,
}
Expand description
A campaign-level aggregate asset view that shows where the asset is linked, performamce of the asset and stats.
Fields§
§resource_name: String
Output only. The resource name of the campaign aggregate asset view. Campaign aggregate asset view resource names have the form:
customers/{customer_id}/campaignAggregateAssetViews/{Campaign.campaign_id}~{Asset.asset_id}~{AssetLinkSource.asset_link_source}~{AssetFieldType.field_type}
campaign: Option<String>
Output only. Campaign in which the asset served.
asset: Option<String>
Output only. The ID of the asset.
asset_source: Option<i32>
Output only. Source of the asset link.
field_type: Option<i32>
Output only. FieldType of the asset.
Implementations§
source§impl CampaignAggregateAssetView
impl CampaignAggregateAssetView
sourcepub fn campaign(&self) -> &str
pub fn campaign(&self) -> &str
Returns the value of campaign
, or the default value if campaign
is unset.
sourcepub fn asset(&self) -> &str
pub fn asset(&self) -> &str
Returns the value of asset
, or the default value if asset
is unset.
sourcepub fn asset_source(&self) -> AssetSource
pub fn asset_source(&self) -> AssetSource
Returns the enum value of asset_source
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_asset_source(&mut self, value: AssetSource)
pub fn set_asset_source(&mut self, value: AssetSource)
Sets asset_source
to the provided enum value.
sourcepub fn field_type(&self) -> AssetFieldType
pub fn field_type(&self) -> AssetFieldType
Returns the enum value of field_type
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_field_type(&mut self, value: AssetFieldType)
pub fn set_field_type(&mut self, value: AssetFieldType)
Sets field_type
to the provided enum value.
Trait Implementations§
source§impl Clone for CampaignAggregateAssetView
impl Clone for CampaignAggregateAssetView
source§fn clone(&self) -> CampaignAggregateAssetView
fn clone(&self) -> CampaignAggregateAssetView
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CampaignAggregateAssetView
impl Debug for CampaignAggregateAssetView
source§impl Default for CampaignAggregateAssetView
impl Default for CampaignAggregateAssetView
source§impl Message for CampaignAggregateAssetView
impl Message for CampaignAggregateAssetView
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 CampaignAggregateAssetView
impl PartialEq for CampaignAggregateAssetView
source§fn eq(&self, other: &CampaignAggregateAssetView) -> bool
fn eq(&self, other: &CampaignAggregateAssetView) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CampaignAggregateAssetView
Auto Trait Implementations§
impl Freeze for CampaignAggregateAssetView
impl RefUnwindSafe for CampaignAggregateAssetView
impl Send for CampaignAggregateAssetView
impl Sync for CampaignAggregateAssetView
impl Unpin for CampaignAggregateAssetView
impl UnwindSafe for CampaignAggregateAssetView
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