pub enum CampaignBiddingStrategy {
Show 16 variants
BiddingStrategy(String),
Commission(Commission),
ManualCpa(ManualCpa),
ManualCpc(ManualCpc),
ManualCpm(ManualCpm),
ManualCpv(ManualCpv),
MaximizeConversions(MaximizeConversions),
MaximizeConversionValue(MaximizeConversionValue),
TargetCpa(TargetCpa),
TargetImpressionShare(TargetImpressionShare),
TargetRoas(TargetRoas),
TargetSpend(TargetSpend),
PercentCpc(PercentCpc),
TargetCpm(TargetCpm),
FixedCpm(FixedCpm),
TargetCpv(TargetCpv),
}
Expand description
The bidding strategy for the campaign.
Must be either portfolio (created through BiddingStrategy service) or standard, that is embedded into the campaign.
Variants§
BiddingStrategy(String)
The resource name of the portfolio bidding strategy used by the campaign.
Commission(Commission)
Commission is an automatic bidding strategy in which the advertiser pays a certain portion of the conversion value.
ManualCpa(ManualCpa)
Standard Manual CPA bidding strategy. Manual bidding strategy that allows advertiser to set the bid per advertiser-specified action. Supported only for Local Services campaigns.
ManualCpc(ManualCpc)
Standard Manual CPC bidding strategy. Manual click-based bidding where user pays per click.
ManualCpm(ManualCpm)
Standard Manual CPM bidding strategy. Manual impression-based bidding where user pays per thousand impressions.
ManualCpv(ManualCpv)
A bidding strategy that pays a configurable amount per video view.
MaximizeConversions(MaximizeConversions)
Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions while spending your budget.
MaximizeConversionValue(MaximizeConversionValue)
Standard Maximize Conversion Value bidding strategy that automatically sets bids to maximize revenue while spending your budget.
TargetCpa(TargetCpa)
Standard Target CPA bidding strategy that automatically sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
Target Impression Share bidding strategy. An automated bidding strategy that sets bids to achieve a chosen percentage of impressions.
TargetRoas(TargetRoas)
Standard Target ROAS bidding strategy that automatically maximizes revenue while averaging a specific target return on ad spend (ROAS).
TargetSpend(TargetSpend)
Standard Target Spend bidding strategy that automatically sets your bids to help get as many clicks as possible within your budget.
PercentCpc(PercentCpc)
Standard Percent Cpc bidding strategy where bids are a fraction of the advertised price for some good or service.
TargetCpm(TargetCpm)
A bidding strategy that automatically optimizes cost per thousand impressions.
FixedCpm(FixedCpm)
A manual bidding strategy with a fixed CPM.
TargetCpv(TargetCpv)
An automated bidding strategy that sets bids to optimize performance given the target CPV you set.
Implementations§
Source§impl CampaignBiddingStrategy
impl CampaignBiddingStrategy
Sourcepub fn merge<B>(
field: &mut Option<CampaignBiddingStrategy>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<CampaignBiddingStrategy>,
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§
Source§impl Clone for CampaignBiddingStrategy
impl Clone for CampaignBiddingStrategy
Source§fn clone(&self) -> CampaignBiddingStrategy
fn clone(&self) -> CampaignBiddingStrategy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CampaignBiddingStrategy
impl Debug for CampaignBiddingStrategy
Source§impl PartialEq for CampaignBiddingStrategy
impl PartialEq for CampaignBiddingStrategy
impl StructuralPartialEq for CampaignBiddingStrategy
Auto Trait Implementations§
impl Freeze for CampaignBiddingStrategy
impl RefUnwindSafe for CampaignBiddingStrategy
impl Send for CampaignBiddingStrategy
impl Sync for CampaignBiddingStrategy
impl Unpin for CampaignBiddingStrategy
impl UnwindSafe for CampaignBiddingStrategy
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