Class BiddingStrategy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BiddingStrategy.Builder>
com.google.ads.googleads.v18.resources.BiddingStrategy.Builder
- All Implemented Interfaces:
BiddingStrategyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BiddingStrategy
public static final class BiddingStrategy.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BiddingStrategy.Builder>
implements BiddingStrategyOrBuilder
A bidding strategy.Protobuf type
google.ads.googleads.v18.resources.BiddingStrategy-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()ID of the campaign budget that this portfolio bidding strategy is aligned with.Output only.Immutable.Output only.A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()Output only.An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.The name of the bidding strategy.Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Immutable.Output only.A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.A bidding strategy that automatically optimizes towards a chosen percentage of impressions.A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).A bid strategy that sets your bids to help get as many clicks as possible within your budget.Output only.clone()longID of the campaign budget that this portfolio bidding strategy is aligned with.longOutput only.Immutable.com.google.protobuf.ByteStringImmutable.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.longgetId()Output only.An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.getName()The name of the bidding strategy.com.google.protobuf.ByteStringThe name of the bidding strategy.longOutput only.Immutable.com.google.protobuf.ByteStringImmutable.Output only.intOutput only.A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.A bidding strategy that automatically optimizes towards a chosen percentage of impressions.A bidding strategy that automatically optimizes towards a chosen percentage of impressions.A bidding strategy that automatically optimizes towards a chosen percentage of impressions.A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).A bid strategy that sets your bids to help get as many clicks as possible within your budget.A bid strategy that sets your bids to help get as many clicks as possible within your budget.A bid strategy that sets your bids to help get as many clicks as possible within your budget.getType()Output only.intOutput only.booleanOutput only.booleanOutput only.booleanA bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.booleanhasId()Output only.booleanAn automated bidding strategy to help get the most conversions for your campaigns while spending your budget.booleanAn automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.booleanhasName()The name of the bidding strategy.booleanOutput only.booleanA bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.booleanA bidding strategy that automatically optimizes towards a chosen percentage of impressions.booleanA bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).booleanA bid strategy that sets your bids to help get as many clicks as possible within your budget.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeEnhancedCpc(EnhancedCpc value) A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.mergeFrom(BiddingStrategy other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.mergeTargetCpa(TargetCpa value) A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.A bidding strategy that automatically optimizes towards a chosen percentage of impressions.mergeTargetRoas(TargetRoas value) A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).mergeTargetSpend(TargetSpend value) A bid strategy that sets your bids to help get as many clicks as possible within your budget.final BiddingStrategy.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAlignedCampaignBudgetId(long value) ID of the campaign budget that this portfolio bidding strategy is aligned with.setCampaignCount(long value) Output only.setCurrencyCode(String value) Immutable.setCurrencyCodeBytes(com.google.protobuf.ByteString value) Immutable.setEffectiveCurrencyCode(String value) Output only.setEffectiveCurrencyCodeBytes(com.google.protobuf.ByteString value) Output only.setEnhancedCpc(EnhancedCpc value) A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.setEnhancedCpc(EnhancedCpc.Builder builderForValue) A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.setId(long value) Output only.An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.setMaximizeConversions(MaximizeConversions.Builder builderForValue) An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.setMaximizeConversionValue(MaximizeConversionValue.Builder builderForValue) An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.The name of the bidding strategy.setNameBytes(com.google.protobuf.ByteString value) The name of the bidding strategy.setNonRemovedCampaignCount(long value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Immutable.setResourceNameBytes(com.google.protobuf.ByteString value) Immutable.Output only.setStatusValue(int value) Output only.setTargetCpa(TargetCpa value) A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.setTargetCpa(TargetCpa.Builder builderForValue) A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.A bidding strategy that automatically optimizes towards a chosen percentage of impressions.setTargetImpressionShare(TargetImpressionShare.Builder builderForValue) A bidding strategy that automatically optimizes towards a chosen percentage of impressions.setTargetRoas(TargetRoas value) A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).setTargetRoas(TargetRoas.Builder builderForValue) A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).setTargetSpend(TargetSpend value) A bid strategy that sets your bids to help get as many clicks as possible within your budget.setTargetSpend(TargetSpend.Builder builderForValue) A bid strategy that sets your bids to help get as many clicks as possible within your budget.Output only.setTypeValue(int value) Output only.final BiddingStrategy.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingStrategy.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<BiddingStrategy.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<BiddingStrategy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<BiddingStrategy.Builder>
-
setField
public BiddingStrategy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingStrategy.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingStrategy.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingStrategy.Builder>
-
setRepeatedField
public BiddingStrategy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingStrategy.Builder>
-
addRepeatedField
public BiddingStrategy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingStrategy.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BiddingStrategy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingStrategy.Builder>
-
mergeFrom
public BiddingStrategy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BiddingStrategy.Builder>- Throws:
IOException
-
getSchemeCase
- Specified by:
getSchemeCasein interfaceBiddingStrategyOrBuilder
-
clearScheme
-
getResourceName
Immutable. The resource name of the bidding strategy. Bidding strategy resource names have the form: `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceBiddingStrategyOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the bidding strategy. Bidding strategy resource names have the form: `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceBiddingStrategyOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Immutable. The resource name of the bidding strategy. Bidding strategy resource names have the form: `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
Immutable. The resource name of the bidding strategy. Bidding strategy resource names have the form: `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Immutable. The resource name of the bidding strategy. Bidding strategy resource names have the form: `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. The ID of the bidding strategy.
optional int64 id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIdin interfaceBiddingStrategyOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. The ID of the bidding strategy.
optional int64 id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceBiddingStrategyOrBuilder- Returns:
- The id.
-
setId
Output only. The ID of the bidding strategy.
optional int64 id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. The ID of the bidding strategy.
optional int64 id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()The name of the bidding strategy. All bidding strategies within an account must be named distinctly. The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed).
optional string name = 17;- Specified by:
hasNamein interfaceBiddingStrategyOrBuilder- Returns:
- Whether the name field is set.
-
getName
The name of the bidding strategy. All bidding strategies within an account must be named distinctly. The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed).
optional string name = 17;- Specified by:
getNamein interfaceBiddingStrategyOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the bidding strategy. All bidding strategies within an account must be named distinctly. The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed).
optional string name = 17;- Specified by:
getNameBytesin interfaceBiddingStrategyOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the bidding strategy. All bidding strategies within an account must be named distinctly. The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed).
optional string name = 17;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the bidding strategy. All bidding strategies within an account must be named distinctly. The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed).
optional string name = 17;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the bidding strategy. All bidding strategies within an account must be named distinctly. The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed).
optional string name = 17;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()Output only. The status of the bidding strategy. This field is read-only.
.google.ads.googleads.v18.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceBiddingStrategyOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
Output only. The status of the bidding strategy. This field is read-only.
.google.ads.googleads.v18.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
Output only. The status of the bidding strategy. This field is read-only.
.google.ads.googleads.v18.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceBiddingStrategyOrBuilder- Returns:
- The status.
-
setStatus
Output only. The status of the bidding strategy. This field is read-only.
.google.ads.googleads.v18.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. The status of the bidding strategy. This field is read-only.
.google.ads.googleads.v18.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()Output only. The type of the bidding strategy. Create a bidding strategy by setting the bidding scheme. This field is read-only.
.google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypeValuein interfaceBiddingStrategyOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Output only. The type of the bidding strategy. Create a bidding strategy by setting the bidding scheme. This field is read-only.
.google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Output only. The type of the bidding strategy. Create a bidding strategy by setting the bidding scheme. This field is read-only.
.google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypein interfaceBiddingStrategyOrBuilder- Returns:
- The type.
-
setType
Output only. The type of the bidding strategy. Create a bidding strategy by setting the bidding scheme. This field is read-only.
.google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Output only. The type of the bidding strategy. Create a bidding strategy by setting the bidding scheme. This field is read-only.
.google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getCurrencyCode
Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding strategies in manager customers, this currency can be set on creation and defaults to the manager customer's currency. For serving customers, this field cannot be set; all strategies in a serving customer implicitly use the serving customer's currency. In all cases the effective_currency_code field returns the currency used by the strategy.
string currency_code = 23 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getCurrencyCodein interfaceBiddingStrategyOrBuilder- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding strategies in manager customers, this currency can be set on creation and defaults to the manager customer's currency. For serving customers, this field cannot be set; all strategies in a serving customer implicitly use the serving customer's currency. In all cases the effective_currency_code field returns the currency used by the strategy.
string currency_code = 23 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getCurrencyCodeBytesin interfaceBiddingStrategyOrBuilder- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding strategies in manager customers, this currency can be set on creation and defaults to the manager customer's currency. For serving customers, this field cannot be set; all strategies in a serving customer implicitly use the serving customer's currency. In all cases the effective_currency_code field returns the currency used by the strategy.
string currency_code = 23 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The currencyCode to set.- Returns:
- This builder for chaining.
-
clearCurrencyCode
Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding strategies in manager customers, this currency can be set on creation and defaults to the manager customer's currency. For serving customers, this field cannot be set; all strategies in a serving customer implicitly use the serving customer's currency. In all cases the effective_currency_code field returns the currency used by the strategy.
string currency_code = 23 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setCurrencyCodeBytes
Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding strategies in manager customers, this currency can be set on creation and defaults to the manager customer's currency. For serving customers, this field cannot be set; all strategies in a serving customer implicitly use the serving customer's currency. In all cases the effective_currency_code field returns the currency used by the strategy.
string currency_code = 23 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for currencyCode to set.- Returns:
- This builder for chaining.
-
hasEffectiveCurrencyCode
public boolean hasEffectiveCurrencyCode()Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding strategies in manager customers, this is the currency set by the advertiser when creating the strategy. For serving customers, this is the customer's currency_code. Bidding strategy metrics are reported in this currency. This field is read-only.
optional string effective_currency_code = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEffectiveCurrencyCodein interfaceBiddingStrategyOrBuilder- Returns:
- Whether the effectiveCurrencyCode field is set.
-
getEffectiveCurrencyCode
Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding strategies in manager customers, this is the currency set by the advertiser when creating the strategy. For serving customers, this is the customer's currency_code. Bidding strategy metrics are reported in this currency. This field is read-only.
optional string effective_currency_code = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEffectiveCurrencyCodein interfaceBiddingStrategyOrBuilder- Returns:
- The effectiveCurrencyCode.
-
getEffectiveCurrencyCodeBytes
public com.google.protobuf.ByteString getEffectiveCurrencyCodeBytes()Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding strategies in manager customers, this is the currency set by the advertiser when creating the strategy. For serving customers, this is the customer's currency_code. Bidding strategy metrics are reported in this currency. This field is read-only.
optional string effective_currency_code = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEffectiveCurrencyCodeBytesin interfaceBiddingStrategyOrBuilder- Returns:
- The bytes for effectiveCurrencyCode.
-
setEffectiveCurrencyCode
Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding strategies in manager customers, this is the currency set by the advertiser when creating the strategy. For serving customers, this is the customer's currency_code. Bidding strategy metrics are reported in this currency. This field is read-only.
optional string effective_currency_code = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The effectiveCurrencyCode to set.- Returns:
- This builder for chaining.
-
clearEffectiveCurrencyCode
Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding strategies in manager customers, this is the currency set by the advertiser when creating the strategy. For serving customers, this is the customer's currency_code. Bidding strategy metrics are reported in this currency. This field is read-only.
optional string effective_currency_code = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setEffectiveCurrencyCodeBytes
Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). For bidding strategies in manager customers, this is the currency set by the advertiser when creating the strategy. For serving customers, this is the customer's currency_code. Bidding strategy metrics are reported in this currency. This field is read-only.
optional string effective_currency_code = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for effectiveCurrencyCode to set.- Returns:
- This builder for chaining.
-
getAlignedCampaignBudgetId
public long getAlignedCampaignBudgetId()ID of the campaign budget that this portfolio bidding strategy is aligned with. When a portfolio and a campaign budget are aligned, that means that they are attached to the same set of campaigns. After a bidding strategy is aligned with a campaign budget, campaigns that are added to the bidding strategy must also use the aligned campaign budget.
int64 aligned_campaign_budget_id = 25;- Specified by:
getAlignedCampaignBudgetIdin interfaceBiddingStrategyOrBuilder- Returns:
- The alignedCampaignBudgetId.
-
setAlignedCampaignBudgetId
ID of the campaign budget that this portfolio bidding strategy is aligned with. When a portfolio and a campaign budget are aligned, that means that they are attached to the same set of campaigns. After a bidding strategy is aligned with a campaign budget, campaigns that are added to the bidding strategy must also use the aligned campaign budget.
int64 aligned_campaign_budget_id = 25;- Parameters:
value- The alignedCampaignBudgetId to set.- Returns:
- This builder for chaining.
-
clearAlignedCampaignBudgetId
ID of the campaign budget that this portfolio bidding strategy is aligned with. When a portfolio and a campaign budget are aligned, that means that they are attached to the same set of campaigns. After a bidding strategy is aligned with a campaign budget, campaigns that are added to the bidding strategy must also use the aligned campaign budget.
int64 aligned_campaign_budget_id = 25;- Returns:
- This builder for chaining.
-
hasCampaignCount
public boolean hasCampaignCount()Output only. The number of campaigns attached to this bidding strategy. This field is read-only.
optional int64 campaign_count = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCampaignCountin interfaceBiddingStrategyOrBuilder- Returns:
- Whether the campaignCount field is set.
-
getCampaignCount
public long getCampaignCount()Output only. The number of campaigns attached to this bidding strategy. This field is read-only.
optional int64 campaign_count = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCampaignCountin interfaceBiddingStrategyOrBuilder- Returns:
- The campaignCount.
-
setCampaignCount
Output only. The number of campaigns attached to this bidding strategy. This field is read-only.
optional int64 campaign_count = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The campaignCount to set.- Returns:
- This builder for chaining.
-
clearCampaignCount
Output only. The number of campaigns attached to this bidding strategy. This field is read-only.
optional int64 campaign_count = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasNonRemovedCampaignCount
public boolean hasNonRemovedCampaignCount()Output only. The number of non-removed campaigns attached to this bidding strategy. This field is read-only.
optional int64 non_removed_campaign_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasNonRemovedCampaignCountin interfaceBiddingStrategyOrBuilder- Returns:
- Whether the nonRemovedCampaignCount field is set.
-
getNonRemovedCampaignCount
public long getNonRemovedCampaignCount()Output only. The number of non-removed campaigns attached to this bidding strategy. This field is read-only.
optional int64 non_removed_campaign_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNonRemovedCampaignCountin interfaceBiddingStrategyOrBuilder- Returns:
- The nonRemovedCampaignCount.
-
setNonRemovedCampaignCount
Output only. The number of non-removed campaigns attached to this bidding strategy. This field is read-only.
optional int64 non_removed_campaign_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The nonRemovedCampaignCount to set.- Returns:
- This builder for chaining.
-
clearNonRemovedCampaignCount
Output only. The number of non-removed campaigns attached to this bidding strategy. This field is read-only.
optional int64 non_removed_campaign_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasEnhancedCpc
public boolean hasEnhancedCpc()A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.
.google.ads.googleads.v18.common.EnhancedCpc enhanced_cpc = 7;- Specified by:
hasEnhancedCpcin interfaceBiddingStrategyOrBuilder- Returns:
- Whether the enhancedCpc field is set.
-
getEnhancedCpc
A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.
.google.ads.googleads.v18.common.EnhancedCpc enhanced_cpc = 7;- Specified by:
getEnhancedCpcin interfaceBiddingStrategyOrBuilder- Returns:
- The enhancedCpc.
-
setEnhancedCpc
A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.
.google.ads.googleads.v18.common.EnhancedCpc enhanced_cpc = 7; -
setEnhancedCpc
A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.
.google.ads.googleads.v18.common.EnhancedCpc enhanced_cpc = 7; -
mergeEnhancedCpc
A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.
.google.ads.googleads.v18.common.EnhancedCpc enhanced_cpc = 7; -
clearEnhancedCpc
A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.
.google.ads.googleads.v18.common.EnhancedCpc enhanced_cpc = 7; -
getEnhancedCpcBuilder
A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.
.google.ads.googleads.v18.common.EnhancedCpc enhanced_cpc = 7; -
getEnhancedCpcOrBuilder
A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely.
.google.ads.googleads.v18.common.EnhancedCpc enhanced_cpc = 7;- Specified by:
getEnhancedCpcOrBuilderin interfaceBiddingStrategyOrBuilder
-
hasMaximizeConversionValue
public boolean hasMaximizeConversionValue()An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 21;- Specified by:
hasMaximizeConversionValuein interfaceBiddingStrategyOrBuilder- Returns:
- Whether the maximizeConversionValue field is set.
-
getMaximizeConversionValue
An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 21;- Specified by:
getMaximizeConversionValuein interfaceBiddingStrategyOrBuilder- Returns:
- The maximizeConversionValue.
-
setMaximizeConversionValue
An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 21; -
setMaximizeConversionValue
public BiddingStrategy.Builder setMaximizeConversionValue(MaximizeConversionValue.Builder builderForValue) An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 21; -
mergeMaximizeConversionValue
An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 21; -
clearMaximizeConversionValue
An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 21; -
getMaximizeConversionValueBuilder
An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 21; -
getMaximizeConversionValueOrBuilder
An automated bidding strategy to help get the most conversion value for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversionValue maximize_conversion_value = 21;- Specified by:
getMaximizeConversionValueOrBuilderin interfaceBiddingStrategyOrBuilder
-
hasMaximizeConversions
public boolean hasMaximizeConversions()An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 22;- Specified by:
hasMaximizeConversionsin interfaceBiddingStrategyOrBuilder- Returns:
- Whether the maximizeConversions field is set.
-
getMaximizeConversions
An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 22;- Specified by:
getMaximizeConversionsin interfaceBiddingStrategyOrBuilder- Returns:
- The maximizeConversions.
-
setMaximizeConversions
An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 22; -
setMaximizeConversions
An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 22; -
mergeMaximizeConversions
An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 22; -
clearMaximizeConversions
An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 22; -
getMaximizeConversionsBuilder
An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 22; -
getMaximizeConversionsOrBuilder
An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.
.google.ads.googleads.v18.common.MaximizeConversions maximize_conversions = 22;- Specified by:
getMaximizeConversionsOrBuilderin interfaceBiddingStrategyOrBuilder
-
hasTargetCpa
public boolean hasTargetCpa()A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
.google.ads.googleads.v18.common.TargetCpa target_cpa = 9;- Specified by:
hasTargetCpain interfaceBiddingStrategyOrBuilder- Returns:
- Whether the targetCpa field is set.
-
getTargetCpa
A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
.google.ads.googleads.v18.common.TargetCpa target_cpa = 9;- Specified by:
getTargetCpain interfaceBiddingStrategyOrBuilder- Returns:
- The targetCpa.
-
setTargetCpa
A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
.google.ads.googleads.v18.common.TargetCpa target_cpa = 9; -
setTargetCpa
A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
.google.ads.googleads.v18.common.TargetCpa target_cpa = 9; -
mergeTargetCpa
A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
.google.ads.googleads.v18.common.TargetCpa target_cpa = 9; -
clearTargetCpa
A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
.google.ads.googleads.v18.common.TargetCpa target_cpa = 9; -
getTargetCpaBuilder
A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
.google.ads.googleads.v18.common.TargetCpa target_cpa = 9; -
getTargetCpaOrBuilder
A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set.
.google.ads.googleads.v18.common.TargetCpa target_cpa = 9;- Specified by:
getTargetCpaOrBuilderin interfaceBiddingStrategyOrBuilder
-
hasTargetRoas
public boolean hasTargetRoas()A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).
.google.ads.googleads.v18.common.TargetRoas target_roas = 11;- Specified by:
hasTargetRoasin interfaceBiddingStrategyOrBuilder- Returns:
- Whether the targetRoas field is set.
-
getTargetRoas
A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).
.google.ads.googleads.v18.common.TargetRoas target_roas = 11;- Specified by:
getTargetRoasin interfaceBiddingStrategyOrBuilder- Returns:
- The targetRoas.
-
setTargetRoas
A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).
.google.ads.googleads.v18.common.TargetRoas target_roas = 11; -
setTargetRoas
A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).
.google.ads.googleads.v18.common.TargetRoas target_roas = 11; -
mergeTargetRoas
A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).
.google.ads.googleads.v18.common.TargetRoas target_roas = 11; -
clearTargetRoas
A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).
.google.ads.googleads.v18.common.TargetRoas target_roas = 11; -
getTargetRoasBuilder
A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).
.google.ads.googleads.v18.common.TargetRoas target_roas = 11; -
getTargetRoasOrBuilder
A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS).
.google.ads.googleads.v18.common.TargetRoas target_roas = 11;- Specified by:
getTargetRoasOrBuilderin interfaceBiddingStrategyOrBuilder
-
hasTargetSpend
public boolean hasTargetSpend()A bid strategy that sets your bids to help get as many clicks as possible within your budget.
.google.ads.googleads.v18.common.TargetSpend target_spend = 12;- Specified by:
hasTargetSpendin interfaceBiddingStrategyOrBuilder- Returns:
- Whether the targetSpend field is set.
-
getTargetSpend
A bid strategy that sets your bids to help get as many clicks as possible within your budget.
.google.ads.googleads.v18.common.TargetSpend target_spend = 12;- Specified by:
getTargetSpendin interfaceBiddingStrategyOrBuilder- Returns:
- The targetSpend.
-
setTargetSpend
A bid strategy that sets your bids to help get as many clicks as possible within your budget.
.google.ads.googleads.v18.common.TargetSpend target_spend = 12; -
setTargetSpend
A bid strategy that sets your bids to help get as many clicks as possible within your budget.
.google.ads.googleads.v18.common.TargetSpend target_spend = 12; -
mergeTargetSpend
A bid strategy that sets your bids to help get as many clicks as possible within your budget.
.google.ads.googleads.v18.common.TargetSpend target_spend = 12; -
clearTargetSpend
A bid strategy that sets your bids to help get as many clicks as possible within your budget.
.google.ads.googleads.v18.common.TargetSpend target_spend = 12; -
getTargetSpendBuilder
A bid strategy that sets your bids to help get as many clicks as possible within your budget.
.google.ads.googleads.v18.common.TargetSpend target_spend = 12; -
getTargetSpendOrBuilder
A bid strategy that sets your bids to help get as many clicks as possible within your budget.
.google.ads.googleads.v18.common.TargetSpend target_spend = 12;- Specified by:
getTargetSpendOrBuilderin interfaceBiddingStrategyOrBuilder
-
setUnknownFields
public final BiddingStrategy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingStrategy.Builder>
-
mergeUnknownFields
public final BiddingStrategy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingStrategy.Builder>
-