Class AccessibleBiddingStrategy.TargetImpressionShare.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AccessibleBiddingStrategy.TargetImpressionShare.Builder>
com.google.ads.googleads.v23.resources.AccessibleBiddingStrategy.TargetImpressionShare.Builder
- All Implemented Interfaces:
AccessibleBiddingStrategy.TargetImpressionShareOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AccessibleBiddingStrategy.TargetImpressionShare
public static final class AccessibleBiddingStrategy.TargetImpressionShare.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AccessibleBiddingStrategy.TargetImpressionShare.Builder>
implements AccessibleBiddingStrategy.TargetImpressionShareOrBuilder
An automated bidding strategy that sets bids so that a certain percentage of search ads are shown at the top of the first page (or other targeted location).Protobuf type
google.ads.googleads.v23.resources.AccessibleBiddingStrategy.TargetImpressionShare-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.The chosen fraction of ads to be shown in the targeted location in micros.longOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.longThe chosen fraction of ads to be shown in the targeted location in micros.intOutput only.booleanOutput only.booleanThe chosen fraction of ads to be shown in the targeted location in micros.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCpcBidCeilingMicros(long value) Output only.Output only.setLocationFractionMicros(long value) The chosen fraction of ads to be shown in the targeted location in micros.setLocationValue(int value) Output only.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, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AccessibleBiddingStrategy.TargetImpressionShare.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AccessibleBiddingStrategy.TargetImpressionShare.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.GeneratedMessage.Builder<AccessibleBiddingStrategy.TargetImpressionShare.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
-
mergeFrom
public AccessibleBiddingStrategy.TargetImpressionShare.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccessibleBiddingStrategy.TargetImpressionShare.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AccessibleBiddingStrategy.TargetImpressionShare.Builder>
-
mergeFrom
public AccessibleBiddingStrategy.TargetImpressionShare.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<AccessibleBiddingStrategy.TargetImpressionShare.Builder>- Throws:
IOException
-
getLocationValue
public int getLocationValue()Output only. The targeted location on the search results page.
.google.ads.googleads.v23.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLocationValuein interfaceAccessibleBiddingStrategy.TargetImpressionShareOrBuilder- Returns:
- The enum numeric value on the wire for location.
-
setLocationValue
Output only. The targeted location on the search results page.
.google.ads.googleads.v23.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for location to set.- Returns:
- This builder for chaining.
-
getLocation
Output only. The targeted location on the search results page.
.google.ads.googleads.v23.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLocationin interfaceAccessibleBiddingStrategy.TargetImpressionShareOrBuilder- Returns:
- The location.
-
clearLocation
Output only. The targeted location on the search results page.
.google.ads.googleads.v23.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasLocationFractionMicros
public boolean hasLocationFractionMicros()The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% equals 10,000.
optional int64 location_fraction_micros = 2;- Specified by:
hasLocationFractionMicrosin interfaceAccessibleBiddingStrategy.TargetImpressionShareOrBuilder- Returns:
- Whether the locationFractionMicros field is set.
-
getLocationFractionMicros
public long getLocationFractionMicros()The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% equals 10,000.
optional int64 location_fraction_micros = 2;- Specified by:
getLocationFractionMicrosin interfaceAccessibleBiddingStrategy.TargetImpressionShareOrBuilder- Returns:
- The locationFractionMicros.
-
setLocationFractionMicros
public AccessibleBiddingStrategy.TargetImpressionShare.Builder setLocationFractionMicros(long value) The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% equals 10,000.
optional int64 location_fraction_micros = 2;- Parameters:
value- The locationFractionMicros to set.- Returns:
- This builder for chaining.
-
clearLocationFractionMicros
The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% equals 10,000.
optional int64 location_fraction_micros = 2;- Returns:
- This builder for chaining.
-
hasCpcBidCeilingMicros
public boolean hasCpcBidCeilingMicros()Output only. The highest CPC bid the automated bidding system is permitted to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros.
optional int64 cpc_bid_ceiling_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCpcBidCeilingMicrosin interfaceAccessibleBiddingStrategy.TargetImpressionShareOrBuilder- Returns:
- Whether the cpcBidCeilingMicros field is set.
-
getCpcBidCeilingMicros
public long getCpcBidCeilingMicros()Output only. The highest CPC bid the automated bidding system is permitted to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros.
optional int64 cpc_bid_ceiling_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCpcBidCeilingMicrosin interfaceAccessibleBiddingStrategy.TargetImpressionShareOrBuilder- Returns:
- The cpcBidCeilingMicros.
-
setCpcBidCeilingMicros
Output only. The highest CPC bid the automated bidding system is permitted to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros.
optional int64 cpc_bid_ceiling_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The cpcBidCeilingMicros to set.- Returns:
- This builder for chaining.
-
clearCpcBidCeilingMicros
Output only. The highest CPC bid the automated bidding system is permitted to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros.
optional int64 cpc_bid_ceiling_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-