Class MaximizeConversions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MaximizeConversions.Builder>
com.google.ads.googleads.v22.common.MaximizeConversions.Builder
All Implemented Interfaces:
MaximizeConversionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MaximizeConversions

public static final class MaximizeConversions.Builder extends com.google.protobuf.GeneratedMessage.Builder<MaximizeConversions.Builder> implements MaximizeConversionsOrBuilder
 An automated bidding strategy to help get the most conversions for your
 campaigns while spending your budget.
 
Protobuf type google.ads.googleads.v22.common.MaximizeConversions
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MaximizeConversions.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MaximizeConversions.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MaximizeConversions.Builder>
    • getDefaultInstanceForType

      public MaximizeConversions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MaximizeConversions build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MaximizeConversions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MaximizeConversions.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MaximizeConversions.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MaximizeConversions.Builder>
    • mergeFrom

      public MaximizeConversions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MaximizeConversions.Builder>
      Throws:
      IOException
    • getCpcBidCeilingMicros

      public long getCpcBidCeilingMicros()
       Maximum bid limit that can be set by the bid strategy.
       The limit applies to all keywords managed by the strategy.
       Mutable for portfolio bidding strategies only.
       
      int64 cpc_bid_ceiling_micros = 2;
      Specified by:
      getCpcBidCeilingMicros in interface MaximizeConversionsOrBuilder
      Returns:
      The cpcBidCeilingMicros.
    • setCpcBidCeilingMicros

      public MaximizeConversions.Builder setCpcBidCeilingMicros(long value)
       Maximum bid limit that can be set by the bid strategy.
       The limit applies to all keywords managed by the strategy.
       Mutable for portfolio bidding strategies only.
       
      int64 cpc_bid_ceiling_micros = 2;
      Parameters:
      value - The cpcBidCeilingMicros to set.
      Returns:
      This builder for chaining.
    • clearCpcBidCeilingMicros

      public MaximizeConversions.Builder clearCpcBidCeilingMicros()
       Maximum bid limit that can be set by the bid strategy.
       The limit applies to all keywords managed by the strategy.
       Mutable for portfolio bidding strategies only.
       
      int64 cpc_bid_ceiling_micros = 2;
      Returns:
      This builder for chaining.
    • getCpcBidFloorMicros

      public long getCpcBidFloorMicros()
       Minimum bid limit that can be set by the bid strategy.
       The limit applies to all keywords managed by the strategy.
       Mutable for portfolio bidding strategies only.
       
      int64 cpc_bid_floor_micros = 3;
      Specified by:
      getCpcBidFloorMicros in interface MaximizeConversionsOrBuilder
      Returns:
      The cpcBidFloorMicros.
    • setCpcBidFloorMicros

      public MaximizeConversions.Builder setCpcBidFloorMicros(long value)
       Minimum bid limit that can be set by the bid strategy.
       The limit applies to all keywords managed by the strategy.
       Mutable for portfolio bidding strategies only.
       
      int64 cpc_bid_floor_micros = 3;
      Parameters:
      value - The cpcBidFloorMicros to set.
      Returns:
      This builder for chaining.
    • clearCpcBidFloorMicros

      public MaximizeConversions.Builder clearCpcBidFloorMicros()
       Minimum bid limit that can be set by the bid strategy.
       The limit applies to all keywords managed by the strategy.
       Mutable for portfolio bidding strategies only.
       
      int64 cpc_bid_floor_micros = 3;
      Returns:
      This builder for chaining.
    • getTargetCpaMicros

      public long getTargetCpaMicros()
       The target cost-per-action (CPA) option. This is the average amount that
       you would like to spend per conversion action specified in micro units of
       the bidding strategy's currency. If set, the bid strategy will get as many
       conversions as possible at or below the target cost-per-action. If the
       target CPA is not set, the bid strategy will aim to achieve the lowest
       possible CPA given the budget.
       
      int64 target_cpa_micros = 4;
      Specified by:
      getTargetCpaMicros in interface MaximizeConversionsOrBuilder
      Returns:
      The targetCpaMicros.
    • setTargetCpaMicros

      public MaximizeConversions.Builder setTargetCpaMicros(long value)
       The target cost-per-action (CPA) option. This is the average amount that
       you would like to spend per conversion action specified in micro units of
       the bidding strategy's currency. If set, the bid strategy will get as many
       conversions as possible at or below the target cost-per-action. If the
       target CPA is not set, the bid strategy will aim to achieve the lowest
       possible CPA given the budget.
       
      int64 target_cpa_micros = 4;
      Parameters:
      value - The targetCpaMicros to set.
      Returns:
      This builder for chaining.
    • clearTargetCpaMicros

      public MaximizeConversions.Builder clearTargetCpaMicros()
       The target cost-per-action (CPA) option. This is the average amount that
       you would like to spend per conversion action specified in micro units of
       the bidding strategy's currency. If set, the bid strategy will get as many
       conversions as possible at or below the target cost-per-action. If the
       target CPA is not set, the bid strategy will aim to achieve the lowest
       possible CPA given the budget.
       
      int64 target_cpa_micros = 4;
      Returns:
      This builder for chaining.