pub enum Scheme {
MaximizeConversionValue(MaximizeConversionValue),
MaximizeConversions(MaximizeConversions),
TargetCpa(TargetCpa),
TargetImpressionShare(TargetImpressionShare),
TargetRoas(TargetRoas),
TargetSpend(TargetSpend),
}
Expand description
The bidding scheme.
Only one can be set.
Variants§
MaximizeConversionValue(MaximizeConversionValue)
Output only. An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.
MaximizeConversions(MaximizeConversions)
Output only. An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.
TargetCpa(TargetCpa)
Output only. A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
Output only. A bidding strategy that automatically optimizes towards a chosen percentage of impressions.
TargetRoas(TargetRoas)
Output only. A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).
TargetSpend(TargetSpend)
Output only. A bid strategy that sets your bids to help get as many clicks as possible within your budget.
Implementations§
Source§impl Scheme
impl Scheme
Sourcepub fn merge<B>(
field: &mut Option<Scheme>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<Scheme>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
impl StructuralPartialEq for Scheme
Auto Trait Implementations§
impl Freeze for Scheme
impl RefUnwindSafe for Scheme
impl Send for Scheme
impl Sync for Scheme
impl Unpin for Scheme
impl UnwindSafe for Scheme
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request