pub struct AdGroupAdAssetView {
pub resource_name: String,
pub ad_group_ad: String,
pub asset: String,
pub field_type: i32,
pub enabled: bool,
pub policy_summary: Option<AdGroupAdAssetPolicySummary>,
pub performance_label: i32,
pub pinned_field: i32,
pub source: i32,
}
Expand description
A link between an AdGroupAd and an Asset. Currently we only support AdGroupAdAssetView for AppAds and Responsive Search Ads.
Fields§
§resource_name: String
Output only. The resource name of the ad group ad asset view. Ad group ad asset view resource names have the form (Before V4):
customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}
Ad group ad asset view resource names have the form (Beginning from V4):
customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}
ad_group_ad: String
Output only. The ad group ad to which the asset is linked.
asset: String
Output only. The asset which is linked to the ad group ad.
field_type: i32
Output only. Role that the asset takes in the ad.
enabled: bool
Output only. The status between the asset and the latest version of the ad. If true, the asset is linked to the latest version of the ad. If false, it means the link once existed but has been removed and is no longer present in the latest version of the ad.
policy_summary: Option<AdGroupAdAssetPolicySummary>
Output only. Policy information for the ad group ad asset.
performance_label: i32
Output only. Performance of an asset linkage.
pinned_field: i32
Output only. Pinned field.
source: i32
Output only. Source of the ad group ad asset.
Implementations§
Source§impl AdGroupAdAssetView
impl AdGroupAdAssetView
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 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.
Sourcepub fn performance_label(&self) -> AssetPerformanceLabel
pub fn performance_label(&self) -> AssetPerformanceLabel
Returns the enum value of performance_label
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_performance_label(&mut self, value: AssetPerformanceLabel)
pub fn set_performance_label(&mut self, value: AssetPerformanceLabel)
Sets performance_label
to the provided enum value.
Sourcepub fn pinned_field(&self) -> ServedAssetFieldType
pub fn pinned_field(&self) -> ServedAssetFieldType
Returns the enum value of pinned_field
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_pinned_field(&mut self, value: ServedAssetFieldType)
pub fn set_pinned_field(&mut self, value: ServedAssetFieldType)
Sets pinned_field
to the provided enum value.
Sourcepub fn source(&self) -> AssetSource
pub fn source(&self) -> AssetSource
Returns the enum value of source
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_source(&mut self, value: AssetSource)
pub fn set_source(&mut self, value: AssetSource)
Sets source
to the provided enum value.
Trait Implementations§
Source§impl Clone for AdGroupAdAssetView
impl Clone for AdGroupAdAssetView
Source§fn clone(&self) -> AdGroupAdAssetView
fn clone(&self) -> AdGroupAdAssetView
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AdGroupAdAssetView
impl Debug for AdGroupAdAssetView
Source§impl Default for AdGroupAdAssetView
impl Default for AdGroupAdAssetView
Source§impl Message for AdGroupAdAssetView
impl Message for AdGroupAdAssetView
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
.Source§impl PartialEq for AdGroupAdAssetView
impl PartialEq for AdGroupAdAssetView
impl StructuralPartialEq for AdGroupAdAssetView
Auto Trait Implementations§
impl Freeze for AdGroupAdAssetView
impl RefUnwindSafe for AdGroupAdAssetView
impl Send for AdGroupAdAssetView
impl Sync for AdGroupAdAssetView
impl Unpin for AdGroupAdAssetView
impl UnwindSafe for AdGroupAdAssetView
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