Class MaximizeConversionValue.Builder

  • All Implemented Interfaces:
    MaximizeConversionValueOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    MaximizeConversionValue

    public static final class MaximizeConversionValue.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<MaximizeConversionValue.Builder>
    implements MaximizeConversionValueOrBuilder
     An automated bidding strategy to help get the most conversion value for your
     campaigns while spending your budget.
     
    Protobuf type google.ads.googleads.v10.common.MaximizeConversionValue
    • Method Detail

      • getDescriptor

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

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

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

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

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

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

        public MaximizeConversionValue.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<MaximizeConversionValue.Builder>
      • setField

        public MaximizeConversionValue.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<MaximizeConversionValue.Builder>
      • clearField

        public MaximizeConversionValue.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MaximizeConversionValue.Builder>
      • clearOneof

        public MaximizeConversionValue.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MaximizeConversionValue.Builder>
      • setRepeatedField

        public MaximizeConversionValue.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MaximizeConversionValue.Builder>
      • addRepeatedField

        public MaximizeConversionValue.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MaximizeConversionValue.Builder>
      • isInitialized

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

        public MaximizeConversionValue.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.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<MaximizeConversionValue.Builder>
        Throws:
        java.io.IOException
      • getTargetRoas

        public double getTargetRoas()
         The target return on ad spend (ROAS) option. If set, the bid strategy will
         maximize revenue while averaging the target return on ad spend. If the
         target ROAS is high, the bid strategy may not be able to spend the full
         budget. If the target ROAS is not set, the bid strategy will aim to
         achieve the highest possible ROAS for the budget.
         
        double target_roas = 2;
        Specified by:
        getTargetRoas in interface MaximizeConversionValueOrBuilder
        Returns:
        The targetRoas.
      • setTargetRoas

        public MaximizeConversionValue.Builder setTargetRoas​(double value)
         The target return on ad spend (ROAS) option. If set, the bid strategy will
         maximize revenue while averaging the target return on ad spend. If the
         target ROAS is high, the bid strategy may not be able to spend the full
         budget. If the target ROAS is not set, the bid strategy will aim to
         achieve the highest possible ROAS for the budget.
         
        double target_roas = 2;
        Parameters:
        value - The targetRoas to set.
        Returns:
        This builder for chaining.
      • clearTargetRoas

        public MaximizeConversionValue.Builder clearTargetRoas()
         The target return on ad spend (ROAS) option. If set, the bid strategy will
         maximize revenue while averaging the target return on ad spend. If the
         target ROAS is high, the bid strategy may not be able to spend the full
         budget. If the target ROAS is not set, the bid strategy will aim to
         achieve the highest possible ROAS for the budget.
         
        double target_roas = 2;
        Returns:
        This builder for chaining.
      • 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 = 3;
        Specified by:
        getCpcBidCeilingMicros in interface MaximizeConversionValueOrBuilder
        Returns:
        The cpcBidCeilingMicros.
      • setCpcBidCeilingMicros

        public MaximizeConversionValue.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 = 3;
        Parameters:
        value - The cpcBidCeilingMicros to set.
        Returns:
        This builder for chaining.
      • clearCpcBidCeilingMicros

        public MaximizeConversionValue.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 = 3;
        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 = 4;
        Specified by:
        getCpcBidFloorMicros in interface MaximizeConversionValueOrBuilder
        Returns:
        The cpcBidFloorMicros.
      • setCpcBidFloorMicros

        public MaximizeConversionValue.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 = 4;
        Parameters:
        value - The cpcBidFloorMicros to set.
        Returns:
        This builder for chaining.
      • clearCpcBidFloorMicros

        public MaximizeConversionValue.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 = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final MaximizeConversionValue.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MaximizeConversionValue.Builder>
      • mergeUnknownFields

        public final MaximizeConversionValue.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MaximizeConversionValue.Builder>