Class TargetCpa.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
- com.google.ads.googleads.v10.common.TargetCpa.Builder
-
- All Implemented Interfaces:
TargetCpaOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- TargetCpa
public static final class TargetCpa.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder> implements TargetCpaOrBuilder
An automated bid strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
Protobuf typegoogle.ads.googleads.v10.common.TargetCpa
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetCpa.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TargetCpabuild()TargetCpabuildPartial()TargetCpa.Builderclear()TargetCpa.BuilderclearCpcBidCeilingMicros()Maximum bid limit that can be set by the bid strategy.TargetCpa.BuilderclearCpcBidFloorMicros()Minimum bid limit that can be set by the bid strategy.TargetCpa.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TargetCpa.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TargetCpa.BuilderclearTargetCpaMicros()Average CPA target.TargetCpa.Builderclone()longgetCpcBidCeilingMicros()Maximum bid limit that can be set by the bid strategy.longgetCpcBidFloorMicros()Minimum bid limit that can be set by the bid strategy.TargetCpagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetTargetCpaMicros()Average CPA target.booleanhasCpcBidCeilingMicros()Maximum bid limit that can be set by the bid strategy.booleanhasCpcBidFloorMicros()Minimum bid limit that can be set by the bid strategy.booleanhasTargetCpaMicros()Average CPA target.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TargetCpa.BuildermergeFrom(TargetCpa other)TargetCpa.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TargetCpa.BuildermergeFrom(com.google.protobuf.Message other)TargetCpa.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TargetCpa.BuildersetCpcBidCeilingMicros(long value)Maximum bid limit that can be set by the bid strategy.TargetCpa.BuildersetCpcBidFloorMicros(long value)Minimum bid limit that can be set by the bid strategy.TargetCpa.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TargetCpa.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)TargetCpa.BuildersetTargetCpaMicros(long value)Average CPA target.TargetCpa.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
clear
public TargetCpa.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
getDefaultInstanceForType
public TargetCpa getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TargetCpa build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TargetCpa buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TargetCpa.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
setField
public TargetCpa.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
clearField
public TargetCpa.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
clearOneof
public TargetCpa.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
setRepeatedField
public TargetCpa.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
addRepeatedField
public TargetCpa.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
mergeFrom
public TargetCpa.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetCpa.Builder>
-
mergeFrom
public TargetCpa.Builder mergeFrom(TargetCpa other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
mergeFrom
public TargetCpa.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetCpa.Builder>- Throws:
java.io.IOException
-
hasTargetCpaMicros
public boolean hasTargetCpaMicros()
Average CPA target. This target should be greater than or equal to minimum billable unit based on the currency for the account.
optional int64 target_cpa_micros = 4;- Specified by:
hasTargetCpaMicrosin interfaceTargetCpaOrBuilder- Returns:
- Whether the targetCpaMicros field is set.
-
getTargetCpaMicros
public long getTargetCpaMicros()
Average CPA target. This target should be greater than or equal to minimum billable unit based on the currency for the account.
optional int64 target_cpa_micros = 4;- Specified by:
getTargetCpaMicrosin interfaceTargetCpaOrBuilder- Returns:
- The targetCpaMicros.
-
setTargetCpaMicros
public TargetCpa.Builder setTargetCpaMicros(long value)
Average CPA target. This target should be greater than or equal to minimum billable unit based on the currency for the account.
optional int64 target_cpa_micros = 4;- Parameters:
value- The targetCpaMicros to set.- Returns:
- This builder for chaining.
-
clearTargetCpaMicros
public TargetCpa.Builder clearTargetCpaMicros()
Average CPA target. This target should be greater than or equal to minimum billable unit based on the currency for the account.
optional int64 target_cpa_micros = 4;- 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. This should only be set for portfolio bid strategies.
optional int64 cpc_bid_ceiling_micros = 5;- Specified by:
hasCpcBidCeilingMicrosin interfaceTargetCpaOrBuilder- 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. This should only be set for portfolio bid strategies.
optional int64 cpc_bid_ceiling_micros = 5;- Specified by:
getCpcBidCeilingMicrosin interfaceTargetCpaOrBuilder- Returns:
- The cpcBidCeilingMicros.
-
setCpcBidCeilingMicros
public TargetCpa.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. This should only be set for portfolio bid strategies.
optional int64 cpc_bid_ceiling_micros = 5;- Parameters:
value- The cpcBidCeilingMicros to set.- Returns:
- This builder for chaining.
-
clearCpcBidCeilingMicros
public TargetCpa.Builder clearCpcBidCeilingMicros()
Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.
optional int64 cpc_bid_ceiling_micros = 5;- Returns:
- This builder for chaining.
-
hasCpcBidFloorMicros
public boolean hasCpcBidFloorMicros()
Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.
optional int64 cpc_bid_floor_micros = 6;- Specified by:
hasCpcBidFloorMicrosin interfaceTargetCpaOrBuilder- Returns:
- Whether the cpcBidFloorMicros field is set.
-
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. This should only be set for portfolio bid strategies.
optional int64 cpc_bid_floor_micros = 6;- Specified by:
getCpcBidFloorMicrosin interfaceTargetCpaOrBuilder- Returns:
- The cpcBidFloorMicros.
-
setCpcBidFloorMicros
public TargetCpa.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. This should only be set for portfolio bid strategies.
optional int64 cpc_bid_floor_micros = 6;- Parameters:
value- The cpcBidFloorMicros to set.- Returns:
- This builder for chaining.
-
clearCpcBidFloorMicros
public TargetCpa.Builder clearCpcBidFloorMicros()
Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. This should only be set for portfolio bid strategies.
optional int64 cpc_bid_floor_micros = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final TargetCpa.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
mergeUnknownFields
public final TargetCpa.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpa.Builder>
-
-