pub struct BiddingStrategy {
pub fixed_bid: Option<FixedBidStrategy>,
pub maximize_spend_auto_bid: Option<MaximizeSpendBidStrategy>,
pub performance_goal_auto_bid: Option<PerformanceGoalBidStrategy>,
}
Expand description
Settings that control the bid strategy. Bid strategy determines the bid price.
This type is not used in any activity, and only used as part of another schema.
Fields§
§fixed_bid: Option<FixedBidStrategy>
A strategy that uses a fixed bid price.
maximize_spend_auto_bid: Option<MaximizeSpendBidStrategy>
A strategy that automatically adjusts the bid to optimize to your performance goal while spending the full budget. At insertion order level, the markup_type of line items cannot be set to PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM
. In addition, when performance_goal_type is one of: * BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA
* BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC
* BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED
, the line_item_type of the insertion order line items must be either: * LINE_ITEM_TYPE_DISPLAY_DEFAULT
* LINE_ITEM_TYPE_VIDEO_DEFAULT
, and when performance_goal_type is either: * BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA
* BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN
the line_item_type of the insertion order line items must be LINE_ITEM_TYPE_VIDEO_DEFAULT
.
performance_goal_auto_bid: Option<PerformanceGoalBidStrategy>
A strategy that automatically adjusts the bid to meet or beat a specified performance goal. It is to be used only for a line item entity.
Trait Implementations§
Source§impl Clone for BiddingStrategy
impl Clone for BiddingStrategy
Source§fn clone(&self) -> BiddingStrategy
fn clone(&self) -> BiddingStrategy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BiddingStrategy
impl Debug for BiddingStrategy
Source§impl Default for BiddingStrategy
impl Default for BiddingStrategy
Source§fn default() -> BiddingStrategy
fn default() -> BiddingStrategy
Source§impl<'de> Deserialize<'de> for BiddingStrategy
impl<'de> Deserialize<'de> for BiddingStrategy
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 BiddingStrategy
impl Serialize for BiddingStrategy
impl Part for BiddingStrategy
Auto Trait Implementations§
impl Freeze for BiddingStrategy
impl RefUnwindSafe for BiddingStrategy
impl Send for BiddingStrategy
impl Sync for BiddingStrategy
impl Unpin for BiddingStrategy
impl UnwindSafe for BiddingStrategy
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