Struct gapi_grpc::google::ads::googleads::v7::resources::AdGroup      [−][src]
An ad group.
Fields
resource_name: StringImmutable. The resource name of the ad group. Ad group resource names have the form:
customers/{customer_id}/adGroups/{ad_group_id}
id: i64Output only. The ID of the ad group.
name: StringThe name of the ad group.
This field is required and should not be empty when creating new ad groups.
It must contain fewer than 255 UTF-8 full-width characters.
It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.
status: i32The status of the ad group.
type: i32Immutable. The type of the ad group.
ad_rotation_mode: i32The ad rotation mode of the ad group.
base_ad_group: StringOutput only. For draft or experiment ad groups, this field is the resource name of the base ad group from which this ad group was created. If a draft or experiment ad group does not have a base ad group, then this field is null.
For base ad groups, this field equals the ad group resource name.
This field is read-only.
tracking_url_template: StringThe URL template for constructing a tracking URL.
url_custom_parameters: Vec<CustomParameter>The list of mappings used to substitute custom parameter tags in a
tracking_url_template, final_urls, or mobile_final_urls.
campaign: StringImmutable. The campaign to which the ad group belongs.
cpc_bid_micros: i64The maximum CPC (cost-per-click) bid.
cpm_bid_micros: i64The maximum CPM (cost-per-thousand viewable impressions) bid.
target_cpa_micros: i64The target CPA (cost-per-acquisition).
cpv_bid_micros: i64Output only. The CPV (cost-per-view) bid.
target_cpm_micros: i64Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown.
target_roas: f64The target ROAS (return-on-ad-spend) override. If the ad group’s campaign bidding strategy is a standard Target ROAS strategy, then this field overrides the target ROAS specified in the campaign’s bidding strategy. Otherwise, this value is ignored.
percent_cpc_bid_micros: i64The percent cpc bid amount, expressed as a fraction of the advertised price for some good or service. The valid range for the fraction is [0,1) and the value stored here is 1,000,000 * [fraction].
explorer_auto_optimizer_setting: Option<ExplorerAutoOptimizerSetting>Settings for the Display Campaign Optimizer, initially termed “Explorer”.
display_custom_bid_dimension: i32Allows advertisers to specify a targeting dimension on which to place absolute bids. This is only applicable for campaigns that target only the display network and not search.
final_url_suffix: StringURL template for appending params to Final URL.
targeting_setting: Option<TargetingSetting>Setting for targeting related features.
effective_target_cpa_micros: i64Output only. The effective target CPA (cost-per-acquisition). This field is read-only.
effective_target_cpa_source: i32Output only. Source of the effective target CPA. This field is read-only.
effective_target_roas: f64Output only. The effective target ROAS (return-on-ad-spend). This field is read-only.
effective_target_roas_source: i32Output only. Source of the effective target ROAS. This field is read-only.
labels: Vec<String>Output only. The resource names of labels attached to this ad group.
excluded_parent_asset_field_types: Vec<i32>The asset field types that should be excluded from this ad group. Asset links with these field types will not be inherited by this ad group from the upper levels.
Implementations
impl AdGroup[src]
pub fn status(&self) -> AdGroupStatus[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: AdGroupStatus)[src]
Sets status to the provided enum value.
pub fn type(&self) -> AdGroupType[src]
Returns the enum value of type, or the default if the field is set to an invalid enum value.
pub fn set_type(&mut self, value: AdGroupType)[src]
Sets type to the provided enum value.
pub fn ad_rotation_mode(&self) -> AdGroupAdRotationMode[src]
Returns the enum value of ad_rotation_mode, or the default if the field is set to an invalid enum value.
pub fn set_ad_rotation_mode(&mut self, value: AdGroupAdRotationMode)[src]
Sets ad_rotation_mode to the provided enum value.
pub fn display_custom_bid_dimension(&self) -> TargetingDimension[src]
Returns the enum value of display_custom_bid_dimension, or the default if the field is set to an invalid enum value.
pub fn set_display_custom_bid_dimension(&mut self, value: TargetingDimension)[src]
Sets display_custom_bid_dimension to the provided enum value.
pub fn effective_target_cpa_source(&self) -> BiddingSource[src]
Returns the enum value of effective_target_cpa_source, or the default if the field is set to an invalid enum value.
pub fn set_effective_target_cpa_source(&mut self, value: BiddingSource)[src]
Sets effective_target_cpa_source to the provided enum value.
pub fn effective_target_roas_source(&self) -> BiddingSource[src]
Returns the enum value of effective_target_roas_source, or the default if the field is set to an invalid enum value.
pub fn set_effective_target_roas_source(&mut self, value: BiddingSource)[src]
Sets effective_target_roas_source to the provided enum value.
pub fn excluded_parent_asset_field_types(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<AssetFieldType>>[src]
&self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<AssetFieldType>>
Returns an iterator which yields the valid enum values contained in excluded_parent_asset_field_types.
pub fn push_excluded_parent_asset_field_types(&mut self, value: AssetFieldType)[src]
Appends the provided enum value to excluded_parent_asset_field_types.
Trait Implementations
impl Clone for AdGroup[src]
impl Debug for AdGroup[src]
impl Default for AdGroup[src]
impl Message for AdGroup[src]
fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut, [src]
B: BufMut,
fn merge_field<B>(
    &mut self, 
    tag: u32, 
    wire_type: WireType, 
    buf: &mut B, 
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf, [src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize[src]
fn clear(&mut self)[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
    B: BufMut, [src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
    B: BufMut, [src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
    Self: Default,
    B: Buf, [src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
    Self: Default,
    B: Buf, [src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
    B: Buf, [src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
    B: Buf, [src]
B: Buf,
impl PartialEq<AdGroup> for AdGroup[src]
impl StructuralPartialEq for AdGroup[src]
Auto Trait Implementations
impl RefUnwindSafe for AdGroup
impl Send for AdGroup
impl Sync for AdGroup
impl Unpin for AdGroup
impl UnwindSafe for AdGroup
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> IntoRequest<T> for T[src]
pub fn into_request(self) -> Request<T>[src]
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, [src]
V: MultiLane<T>,
impl<T> WithSubscriber for T[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, [src]
S: Into<Dispatch>,