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

pub struct AdGroupExtensionSetting {
    pub resource_name: String,
    pub extension_type: i32,
    pub ad_group: String,
    pub extension_feed_items: Vec<String>,
    pub device: i32,
}

An ad group extension setting.

Fields

resource_name: String

Immutable. The resource name of the ad group extension setting. AdGroupExtensionSetting resource names have the form:

customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}

extension_type: i32

Immutable. The extension type of the ad group extension setting.

ad_group: String

Immutable. The resource name of the ad group. The linked extension feed items will serve under this ad group. AdGroup resource names have the form:

customers/{customer_id}/adGroups/{ad_group_id}

extension_feed_items: Vec<String>

The resource names of the extension feed items to serve under the ad group. ExtensionFeedItem resource names have the form:

customers/{customer_id}/extensionFeedItems/{feed_item_id}

device: i32

The device for which the extensions will serve. Optional.

Implementations

impl AdGroupExtensionSetting[src]

pub fn extension_type(&self) -> ExtensionType[src]

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

pub fn set_extension_type(&mut self, value: ExtensionType)[src]

Sets extension_type to the provided enum value.

pub fn device(&self) -> ExtensionSettingDevice[src]

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

pub fn set_device(&mut self, value: ExtensionSettingDevice)[src]

Sets device to the provided enum value.

Trait Implementations

impl Clone for AdGroupExtensionSetting[src]

impl Debug for AdGroupExtensionSetting[src]

impl Default for AdGroupExtensionSetting[src]

impl Message for AdGroupExtensionSetting[src]

impl PartialEq<AdGroupExtensionSetting> for AdGroupExtensionSetting[src]

impl StructuralPartialEq for AdGroupExtensionSetting[src]

Auto Trait Implementations

impl RefUnwindSafe for AdGroupExtensionSetting

impl Send for AdGroupExtensionSetting

impl Sync for AdGroupExtensionSetting

impl Unpin for AdGroupExtensionSetting

impl UnwindSafe for AdGroupExtensionSetting

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]