Struct gapi_grpc::google::ads::googleads::v5::resources::BiddingStrategy [−][src]
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][+]
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,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,