Struct google_api_proto::google::ads::googleads::v15::resources::AdGroupExtensionSetting
source · pub struct AdGroupExtensionSetting {
pub resource_name: String,
pub extension_type: i32,
pub ad_group: Option<String>,
pub extension_feed_items: Vec<String>,
pub device: i32,
}
Expand description
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: Option<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§
source§impl AdGroupExtensionSetting
impl AdGroupExtensionSetting
sourcepub fn extension_type(&self) -> ExtensionType
pub fn extension_type(&self) -> ExtensionType
Returns the enum value of extension_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_extension_type(&mut self, value: ExtensionType)
pub fn set_extension_type(&mut self, value: ExtensionType)
Sets extension_type
to the provided enum value.
sourcepub fn device(&self) -> ExtensionSettingDevice
pub fn device(&self) -> ExtensionSettingDevice
Returns the enum value of device
, or the default if the field is set to an invalid enum value.
sourcepub fn set_device(&mut self, value: ExtensionSettingDevice)
pub fn set_device(&mut self, value: ExtensionSettingDevice)
Sets device
to the provided enum value.
Trait Implementations§
source§impl Clone for AdGroupExtensionSetting
impl Clone for AdGroupExtensionSetting
source§fn clone(&self) -> AdGroupExtensionSetting
fn clone(&self) -> AdGroupExtensionSetting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdGroupExtensionSetting
impl Debug for AdGroupExtensionSetting
source§impl Default for AdGroupExtensionSetting
impl Default for AdGroupExtensionSetting
source§impl Message for AdGroupExtensionSetting
impl Message for AdGroupExtensionSetting
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AdGroupExtensionSetting
impl PartialEq for AdGroupExtensionSetting
source§fn eq(&self, other: &AdGroupExtensionSetting) -> bool
fn eq(&self, other: &AdGroupExtensionSetting) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdGroupExtensionSetting
Auto Trait Implementations§
impl Freeze for AdGroupExtensionSetting
impl RefUnwindSafe for AdGroupExtensionSetting
impl Send for AdGroupExtensionSetting
impl Sync for AdGroupExtensionSetting
impl Unpin for AdGroupExtensionSetting
impl UnwindSafe for AdGroupExtensionSetting
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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