Class TargetSpend.Builder

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

public static final class TargetSpend.Builder extends com.google.protobuf.GeneratedMessage.Builder<TargetSpend.Builder> implements TargetSpendOrBuilder
 An automated bid strategy that sets your bids to help get as many clicks
 as possible within your budget.
 
Protobuf type google.ads.googleads.v23.common.TargetSpend
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Maximum bid limit that can be set by the bid strategy.
    Deprecated.
    google.ads.googleads.v23.common.TargetSpend.target_spend_micros is deprecated.
    long
    Maximum bid limit that can be set by the bid strategy.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    long
    Deprecated.
    google.ads.googleads.v23.common.TargetSpend.target_spend_micros is deprecated.
    boolean
    Maximum bid limit that can be set by the bid strategy.
    boolean
    Deprecated.
    google.ads.googleads.v23.common.TargetSpend.target_spend_micros is deprecated.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    Maximum bid limit that can be set by the bid strategy.
    Deprecated.
    google.ads.googleads.v23.common.TargetSpend.target_spend_micros is deprecated.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<TargetSpend.Builder>
    • clear

      public TargetSpend.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<TargetSpend.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<TargetSpend.Builder>
    • getDefaultInstanceForType

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

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

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

      public TargetSpend.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<TargetSpend.Builder>
    • mergeFrom

      public TargetSpend.Builder mergeFrom(TargetSpend other)
    • isInitialized

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

      public TargetSpend.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<TargetSpend.Builder>
      Throws:
      IOException
    • hasTargetSpendMicros

      @Deprecated public boolean hasTargetSpendMicros()
      Deprecated.
      google.ads.googleads.v23.common.TargetSpend.target_spend_micros is deprecated. See google/ads/googleads/v23/common/bidding.proto;l=212
       Deprecated: The spend target under which to maximize clicks.
       A TargetSpend bidder will attempt to spend the smaller of this value
       or the natural throttling spend amount.
       If not specified, the budget is used as the spend target.
       This field is deprecated and should no longer be used. See
       https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html
       for details.
       
      optional int64 target_spend_micros = 3 [deprecated = true];
      Specified by:
      hasTargetSpendMicros in interface TargetSpendOrBuilder
      Returns:
      Whether the targetSpendMicros field is set.
    • getTargetSpendMicros

      @Deprecated public long getTargetSpendMicros()
      Deprecated.
      google.ads.googleads.v23.common.TargetSpend.target_spend_micros is deprecated. See google/ads/googleads/v23/common/bidding.proto;l=212
       Deprecated: The spend target under which to maximize clicks.
       A TargetSpend bidder will attempt to spend the smaller of this value
       or the natural throttling spend amount.
       If not specified, the budget is used as the spend target.
       This field is deprecated and should no longer be used. See
       https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html
       for details.
       
      optional int64 target_spend_micros = 3 [deprecated = true];
      Specified by:
      getTargetSpendMicros in interface TargetSpendOrBuilder
      Returns:
      The targetSpendMicros.
    • setTargetSpendMicros

      @Deprecated public TargetSpend.Builder setTargetSpendMicros(long value)
      Deprecated.
      google.ads.googleads.v23.common.TargetSpend.target_spend_micros is deprecated. See google/ads/googleads/v23/common/bidding.proto;l=212
       Deprecated: The spend target under which to maximize clicks.
       A TargetSpend bidder will attempt to spend the smaller of this value
       or the natural throttling spend amount.
       If not specified, the budget is used as the spend target.
       This field is deprecated and should no longer be used. See
       https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html
       for details.
       
      optional int64 target_spend_micros = 3 [deprecated = true];
      Parameters:
      value - The targetSpendMicros to set.
      Returns:
      This builder for chaining.
    • clearTargetSpendMicros

      @Deprecated public TargetSpend.Builder clearTargetSpendMicros()
      Deprecated.
      google.ads.googleads.v23.common.TargetSpend.target_spend_micros is deprecated. See google/ads/googleads/v23/common/bidding.proto;l=212
       Deprecated: The spend target under which to maximize clicks.
       A TargetSpend bidder will attempt to spend the smaller of this value
       or the natural throttling spend amount.
       If not specified, the budget is used as the spend target.
       This field is deprecated and should no longer be used. See
       https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html
       for details.
       
      optional int64 target_spend_micros = 3 [deprecated = true];
      Returns:
      This builder for chaining.
    • hasCpcBidCeilingMicros

      public boolean hasCpcBidCeilingMicros()
       Maximum bid limit that can be set by the bid strategy.
       The limit applies to all keywords managed by the strategy.
       
      optional int64 cpc_bid_ceiling_micros = 4;
      Specified by:
      hasCpcBidCeilingMicros in interface TargetSpendOrBuilder
      Returns:
      Whether the cpcBidCeilingMicros field is set.
    • 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.
       
      optional int64 cpc_bid_ceiling_micros = 4;
      Specified by:
      getCpcBidCeilingMicros in interface TargetSpendOrBuilder
      Returns:
      The cpcBidCeilingMicros.
    • setCpcBidCeilingMicros

      public TargetSpend.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.
       
      optional int64 cpc_bid_ceiling_micros = 4;
      Parameters:
      value - The cpcBidCeilingMicros to set.
      Returns:
      This builder for chaining.
    • clearCpcBidCeilingMicros

      public TargetSpend.Builder clearCpcBidCeilingMicros()
       Maximum bid limit that can be set by the bid strategy.
       The limit applies to all keywords managed by the strategy.
       
      optional int64 cpc_bid_ceiling_micros = 4;
      Returns:
      This builder for chaining.