Struct gapi_grpc::google::ads::googleads::v4::resources::AdGroupAdAssetView[][src]

pub struct AdGroupAdAssetView {
    pub resource_name: String,
    pub ad_group_ad: Option<String>,
    pub asset: Option<String>,
    pub field_type: i32,
    pub policy_summary: Option<AdGroupAdAssetPolicySummary>,
    pub performance_label: i32,
}
[]

A link between an AdGroupAd and an Asset. Currently we only support AdGroupAdAssetView for AppAds.

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: Option<String>
[]

Output only. The ad group ad to which the asset is linked.

asset: Option<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.

policy_summary: Option<AdGroupAdAssetPolicySummary>
[]

Output only. Policy information for the ad group ad asset.

performance_label: i32
[]

Output only. Performance of an asset linkage.

Implementations

impl AdGroupAdAssetView[src][]

pub fn field_type(&self) -> AssetFieldType[src][]

Returns the enum value of field_type, or the default if the field is set to an invalid enum value.

pub fn set_field_type(&mut self, value: AssetFieldType)[src][]

Sets field_type to the provided enum value.

pub fn performance_label(&self) -> AssetPerformanceLabel[src][]

Returns the enum value of performance_label, or the default if the field is set to an invalid enum value.

pub fn set_performance_label(&mut self, value: AssetPerformanceLabel)[src][]

Sets performance_label to the provided enum value.

Trait Implementations

impl Clone for AdGroupAdAssetView[src][+]

impl Debug for AdGroupAdAssetView[src][+]

impl Default for AdGroupAdAssetView[src][+]

impl Message for AdGroupAdAssetView[src][+]

impl PartialEq<AdGroupAdAssetView> for AdGroupAdAssetView[src][+]

impl StructuralPartialEq for AdGroupAdAssetView[src]

Auto Trait Implementations

impl RefUnwindSafe for AdGroupAdAssetView

impl Send for AdGroupAdAssetView

impl Sync for AdGroupAdAssetView

impl Unpin for AdGroupAdAssetView

impl UnwindSafe for AdGroupAdAssetView

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]