Struct gapi_grpc::google::ads::googleads::v5::resources::BiddingStrategy[][src]

pub struct BiddingStrategy {
    pub resource_name: String,
    pub id: i64,
    pub name: String,
    pub status: i32,
    pub type: i32,
    pub effective_currency_code: String,
    pub campaign_count: i64,
    pub non_removed_campaign_count: i64,
    pub scheme: Option<Scheme>,
}

A bidding strategy.

Fields

resource_name: String

Immutable. The resource name of the bidding strategy. Bidding strategy resource names have the form:

customers/{customer_id}/biddingStrategies/{bidding_strategy_id}

id: i64

Output only. The ID of the bidding strategy.

name: String

The name of the bidding strategy. All bidding strategies within an account must be named distinctly.

The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed).

status: i32

Output only. The status of the bidding strategy.

This field is read-only.

type: i32

Output only. The type of the bidding strategy. Create a bidding strategy by setting the bidding scheme.

This field is read-only.

effective_currency_code: String

Output only. The currency used by the bidding strategy (ISO 4217 three-letter code).

For bidding strategies in manager customers, this is the currency set by the advertiser when creating the strategy. For serving customers, this is the customer’s currency_code.

Bidding strategy metrics are reported in this currency.

This field is read-only.

campaign_count: i64

Output only. The number of campaigns attached to this bidding strategy.

This field is read-only.

non_removed_campaign_count: i64

Output only. The number of non-removed campaigns attached to this bidding strategy.

This field is read-only.

scheme: Option<Scheme>

The bidding scheme.

Only one can be set.

Implementations

impl BiddingStrategy[src]

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

Sets type to the provided enum value.

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

Sets status to the provided enum value.

Trait Implementations

impl Clone for BiddingStrategy[src]

impl Debug for BiddingStrategy[src]

impl Default for BiddingStrategy[src]

impl Message for BiddingStrategy[src]

impl PartialEq<BiddingStrategy> for BiddingStrategy[src]

impl StructuralPartialEq for BiddingStrategy[src]

Auto Trait Implementations

impl RefUnwindSafe for BiddingStrategy

impl Send for BiddingStrategy

impl Sync for BiddingStrategy

impl Unpin for BiddingStrategy

impl UnwindSafe for BiddingStrategy

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]