pub enum BidStrategy {
LowestCostWithoutCap,
LowestCostWithBidCap,
CostCap,
LowestCostWithMinRoas,
}Expand description
Campaign bid strategy. Meta puts bid_strategy where the budget lives, so this applies only alongside a campaign budget (CBO). Previously settable only via PUT /v1/ads/campaigns/{campaignId}.
Variants§
Trait Implementations§
Source§impl Clone for BidStrategy
impl Clone for BidStrategy
Source§fn clone(&self) -> BidStrategy
fn clone(&self) -> BidStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BidStrategy
Source§impl Debug for BidStrategy
impl Debug for BidStrategy
Source§impl Default for BidStrategy
impl Default for BidStrategy
Source§fn default() -> BidStrategy
fn default() -> BidStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BidStrategy
impl<'de> Deserialize<'de> for BidStrategy
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BidStrategy
Source§impl Hash for BidStrategy
impl Hash for BidStrategy
Source§impl Ord for BidStrategy
impl Ord for BidStrategy
Source§fn cmp(&self, other: &BidStrategy) -> Ordering
fn cmp(&self, other: &BidStrategy) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BidStrategy
impl PartialEq for BidStrategy
Source§impl PartialOrd for BidStrategy
impl PartialOrd for BidStrategy
Source§impl Serialize for BidStrategy
impl Serialize for BidStrategy
impl StructuralPartialEq for BidStrategy
Auto Trait Implementations§
impl Freeze for BidStrategy
impl RefUnwindSafe for BidStrategy
impl Send for BidStrategy
impl Sync for BidStrategy
impl Unpin for BidStrategy
impl UnsafeUnpin for BidStrategy
impl UnwindSafe for BidStrategy
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
Mutably borrows from an owned value. Read more