pub struct MaximizeSpendBidStrategy {
pub custom_bidding_algorithm_id: Option<i64>,
pub max_average_cpm_bid_amount_micros: Option<i64>,
pub performance_goal_type: Option<String>,
pub raise_bid_for_deals: Option<bool>,
}
Expand description
A strategy that automatically adjusts the bid to optimize a specified performance goal while spending the full budget.
This type is not used in any activity, and only used as part of another schema.
Fields§
§custom_bidding_algorithm_id: Option<i64>
The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is set to BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO
.
max_average_cpm_bid_amount_micros: Option<i64>
The maximum average CPM that may be bid, in micros of the advertiser’s currency. Must be greater than or equal to a billable unit of the given currency. For example, 1500000 represents 1.5 standard units of the currency.
performance_goal_type: Option<String>
Required. The type of the performance goal that the bidding strategy tries to minimize while spending the full budget. BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM
is not supported for this strategy.
raise_bid_for_deals: Option<bool>
Whether the strategy takes deal floor prices into account.
Trait Implementations§
Source§impl Clone for MaximizeSpendBidStrategy
impl Clone for MaximizeSpendBidStrategy
Source§fn clone(&self) -> MaximizeSpendBidStrategy
fn clone(&self) -> MaximizeSpendBidStrategy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MaximizeSpendBidStrategy
impl Debug for MaximizeSpendBidStrategy
Source§impl Default for MaximizeSpendBidStrategy
impl Default for MaximizeSpendBidStrategy
Source§fn default() -> MaximizeSpendBidStrategy
fn default() -> MaximizeSpendBidStrategy
Source§impl<'de> Deserialize<'de> for MaximizeSpendBidStrategy
impl<'de> Deserialize<'de> for MaximizeSpendBidStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for MaximizeSpendBidStrategy
impl Serialize for MaximizeSpendBidStrategy
impl Part for MaximizeSpendBidStrategy
Auto Trait Implementations§
impl Freeze for MaximizeSpendBidStrategy
impl RefUnwindSafe for MaximizeSpendBidStrategy
impl Send for MaximizeSpendBidStrategy
impl Sync for MaximizeSpendBidStrategy
impl Unpin for MaximizeSpendBidStrategy
impl UnwindSafe for MaximizeSpendBidStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more