Struct gapi_grpc::google::ads::googleads::v7::resources::AdGroupAsset[][src]

pub struct AdGroupAsset {
    pub resource_name: String,
    pub ad_group: String,
    pub asset: String,
    pub field_type: i32,
    pub status: i32,
}

A link between an ad group and an asset.

Fields

resource_name: String

Immutable. The resource name of the ad group asset. AdGroupAsset resource names have the form:

customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}

ad_group: String

Required. Immutable. The ad group to which the asset is linked.

asset: String

Required. Immutable. The asset which is linked to the ad group.

field_type: i32

Required. Immutable. Role that the asset takes under the linked ad group.

status: i32

Status of the ad group asset.

Implementations

impl AdGroupAsset[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 status(&self) -> AssetLinkStatus[src]

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

pub fn set_status(&mut self, value: AssetLinkStatus)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for AdGroupAsset[src]

impl Debug for AdGroupAsset[src]

impl Default for AdGroupAsset[src]

impl Message for AdGroupAsset[src]

impl PartialEq<AdGroupAsset> for AdGroupAsset[src]

impl StructuralPartialEq for AdGroupAsset[src]

Auto Trait Implementations

impl RefUnwindSafe for AdGroupAsset

impl Send for AdGroupAsset

impl Sync for AdGroupAsset

impl Unpin for AdGroupAsset

impl UnwindSafe for AdGroupAsset

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]