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

pub struct AdGroupAd {
    pub resource_name: String,
    pub status: i32,
    pub ad_group: String,
    pub ad: Option<Ad>,
    pub policy_summary: Option<AdGroupAdPolicySummary>,
    pub ad_strength: i32,
    pub labels: Vec<String>,
}

An ad group ad.

Fields

resource_name: String

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

customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}

status: i32

The status of the ad.

ad_group: String

Immutable. The ad group to which the ad belongs.

ad: Option<Ad>

Immutable. The ad.

policy_summary: Option<AdGroupAdPolicySummary>

Output only. Policy information for the ad.

ad_strength: i32

Output only. Overall ad strength for this ad group ad.

labels: Vec<String>

Output only. The resource names of labels attached to this ad group ad.

Implementations

impl AdGroupAd[src]

pub fn status(&self) -> AdGroupAdStatus[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: AdGroupAdStatus)[src]

Sets status to the provided enum value.

pub fn ad_strength(&self) -> AdStrength[src]

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

pub fn set_ad_strength(&mut self, value: AdStrength)[src]

Sets ad_strength to the provided enum value.

Trait Implementations

impl Clone for AdGroupAd[src]

impl Debug for AdGroupAd[src]

impl Default for AdGroupAd[src]

impl Message for AdGroupAd[src]

impl PartialEq<AdGroupAd> for AdGroupAd[src]

impl StructuralPartialEq for AdGroupAd[src]

Auto Trait Implementations

impl RefUnwindSafe for AdGroupAd

impl Send for AdGroupAd

impl Sync for AdGroupAd

impl Unpin for AdGroupAd

impl UnwindSafe for AdGroupAd

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]