Struct gapi_grpc::google::ads::googleads::v4::resources::AdGroupBidModifier[][src]

pub struct AdGroupBidModifier {
    pub resource_name: String,
    pub ad_group: Option<String>,
    pub criterion_id: Option<i64>,
    pub bid_modifier: Option<f64>,
    pub base_ad_group: Option<String>,
    pub bid_modifier_source: i32,
    pub criterion: Option<Criterion>,
}

Represents an ad group bid modifier.

Fields

resource_name: String

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

customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}

ad_group: Option<String>

Immutable. The ad group to which this criterion belongs.

criterion_id: Option<i64>

Output only. The ID of the criterion to bid modify.

This field is ignored for mutates.

bid_modifier: Option<f64>

The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. Use 0 to opt out of a Device type.

base_ad_group: Option<String>

Output only. The base ad group from which this draft/trial adgroup bid modifier was created. If ad_group is a base ad group then this field will be equal to ad_group. If the ad group was created in the draft or trial and has no corresponding base ad group, then this field will be null. This field is readonly.

bid_modifier_source: i32

Output only. Bid modifier source.

criterion: Option<Criterion>

The criterion of this ad group bid modifier.

Required in create operations starting in V5.

Implementations

impl AdGroupBidModifier[src]

pub fn bid_modifier_source(&self) -> BidModifierSource[src]

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

pub fn set_bid_modifier_source(&mut self, value: BidModifierSource)[src]

Sets bid_modifier_source to the provided enum value.

Trait Implementations

impl Clone for AdGroupBidModifier[src]

impl Debug for AdGroupBidModifier[src]

impl Default for AdGroupBidModifier[src]

impl Message for AdGroupBidModifier[src]

impl PartialEq<AdGroupBidModifier> for AdGroupBidModifier[src]

impl StructuralPartialEq for AdGroupBidModifier[src]

Auto Trait Implementations

impl RefUnwindSafe for AdGroupBidModifier

impl Send for AdGroupBidModifier

impl Sync for AdGroupBidModifier

impl Unpin for AdGroupBidModifier

impl UnwindSafe for AdGroupBidModifier

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]