Class BiddingSeasonalityAdjustment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BiddingSeasonalityAdjustment.Builder>
-
- com.google.ads.googleads.v10.resources.BiddingSeasonalityAdjustment.Builder
-
- All Implemented Interfaces:
BiddingSeasonalityAdjustmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BiddingSeasonalityAdjustment
public static final class BiddingSeasonalityAdjustment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BiddingSeasonalityAdjustment.Builder> implements BiddingSeasonalityAdjustmentOrBuilder
Represents a bidding seasonality adjustment. See "About seasonality adjustments" at https://support.google.com/google-ads/answer/10369906.
Protobuf typegoogle.ads.googleads.v10.resources.BiddingSeasonalityAdjustment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BiddingSeasonalityAdjustment.BuilderaddAdvertisingChannelTypes(AdvertisingChannelTypeEnum.AdvertisingChannelType value)The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.BiddingSeasonalityAdjustment.BuilderaddAdvertisingChannelTypesValue(int value)The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.BiddingSeasonalityAdjustment.BuilderaddAllAdvertisingChannelTypes(java.lang.Iterable<? extends AdvertisingChannelTypeEnum.AdvertisingChannelType> values)The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.BiddingSeasonalityAdjustment.BuilderaddAllAdvertisingChannelTypesValue(java.lang.Iterable<java.lang.Integer> values)The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.BiddingSeasonalityAdjustment.BuilderaddAllCampaigns(java.lang.Iterable<java.lang.String> values)The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.BiddingSeasonalityAdjustment.BuilderaddAllDevices(java.lang.Iterable<? extends DeviceEnum.Device> values)If not specified, all devices will be included in this adjustment.BiddingSeasonalityAdjustment.BuilderaddAllDevicesValue(java.lang.Iterable<java.lang.Integer> values)If not specified, all devices will be included in this adjustment.BiddingSeasonalityAdjustment.BuilderaddCampaigns(java.lang.String value)The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.BiddingSeasonalityAdjustment.BuilderaddCampaignsBytes(com.google.protobuf.ByteString value)The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.BiddingSeasonalityAdjustment.BuilderaddDevices(DeviceEnum.Device value)If not specified, all devices will be included in this adjustment.BiddingSeasonalityAdjustment.BuilderaddDevicesValue(int value)If not specified, all devices will be included in this adjustment.BiddingSeasonalityAdjustment.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BiddingSeasonalityAdjustmentbuild()BiddingSeasonalityAdjustmentbuildPartial()BiddingSeasonalityAdjustment.Builderclear()BiddingSeasonalityAdjustment.BuilderclearAdvertisingChannelTypes()The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.BiddingSeasonalityAdjustment.BuilderclearCampaigns()The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.BiddingSeasonalityAdjustment.BuilderclearConversionRateModifier()Conversion rate modifier estimated based on expected conversion rate changes.BiddingSeasonalityAdjustment.BuilderclearDescription()The description of the seasonality adjustment.BiddingSeasonalityAdjustment.BuilderclearDevices()If not specified, all devices will be included in this adjustment.BiddingSeasonalityAdjustment.BuilderclearEndDateTime()Required.BiddingSeasonalityAdjustment.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BiddingSeasonalityAdjustment.BuilderclearName()The name of the seasonality adjustment.BiddingSeasonalityAdjustment.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BiddingSeasonalityAdjustment.BuilderclearResourceName()Immutable.BiddingSeasonalityAdjustment.BuilderclearScope()The scope of the seasonality adjustment.BiddingSeasonalityAdjustment.BuilderclearSeasonalityAdjustmentId()Output only.BiddingSeasonalityAdjustment.BuilderclearStartDateTime()Required.BiddingSeasonalityAdjustment.BuilderclearStatus()Output only.BiddingSeasonalityAdjustment.Builderclone()AdvertisingChannelTypeEnum.AdvertisingChannelTypegetAdvertisingChannelTypes(int index)The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.intgetAdvertisingChannelTypesCount()The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.java.util.List<AdvertisingChannelTypeEnum.AdvertisingChannelType>getAdvertisingChannelTypesList()The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.intgetAdvertisingChannelTypesValue(int index)The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.java.util.List<java.lang.Integer>getAdvertisingChannelTypesValueList()The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.java.lang.StringgetCampaigns(int index)The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.com.google.protobuf.ByteStringgetCampaignsBytes(int index)The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.intgetCampaignsCount()The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.com.google.protobuf.ProtocolStringListgetCampaignsList()The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.doublegetConversionRateModifier()Conversion rate modifier estimated based on expected conversion rate changes.BiddingSeasonalityAdjustmentgetDefaultInstanceForType()java.lang.StringgetDescription()The description of the seasonality adjustment.com.google.protobuf.ByteStringgetDescriptionBytes()The description of the seasonality adjustment.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DeviceEnum.DevicegetDevices(int index)If not specified, all devices will be included in this adjustment.intgetDevicesCount()If not specified, all devices will be included in this adjustment.java.util.List<DeviceEnum.Device>getDevicesList()If not specified, all devices will be included in this adjustment.intgetDevicesValue(int index)If not specified, all devices will be included in this adjustment.java.util.List<java.lang.Integer>getDevicesValueList()If not specified, all devices will be included in this adjustment.java.lang.StringgetEndDateTime()Required.com.google.protobuf.ByteStringgetEndDateTimeBytes()Required.java.lang.StringgetName()The name of the seasonality adjustment.com.google.protobuf.ByteStringgetNameBytes()The name of the seasonality adjustment.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.SeasonalityEventScopeEnum.SeasonalityEventScopegetScope()The scope of the seasonality adjustment.intgetScopeValue()The scope of the seasonality adjustment.longgetSeasonalityAdjustmentId()Output only.java.lang.StringgetStartDateTime()Required.com.google.protobuf.ByteStringgetStartDateTimeBytes()Required.SeasonalityEventStatusEnum.SeasonalityEventStatusgetStatus()Output only.intgetStatusValue()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BiddingSeasonalityAdjustment.BuildermergeFrom(BiddingSeasonalityAdjustment other)BiddingSeasonalityAdjustment.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BiddingSeasonalityAdjustment.BuildermergeFrom(com.google.protobuf.Message other)BiddingSeasonalityAdjustment.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BiddingSeasonalityAdjustment.BuildersetAdvertisingChannelTypes(int index, AdvertisingChannelTypeEnum.AdvertisingChannelType value)The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.BiddingSeasonalityAdjustment.BuildersetAdvertisingChannelTypesValue(int index, int value)The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL.BiddingSeasonalityAdjustment.BuildersetCampaigns(int index, java.lang.String value)The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.BiddingSeasonalityAdjustment.BuildersetConversionRateModifier(double value)Conversion rate modifier estimated based on expected conversion rate changes.BiddingSeasonalityAdjustment.BuildersetDescription(java.lang.String value)The description of the seasonality adjustment.BiddingSeasonalityAdjustment.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)The description of the seasonality adjustment.BiddingSeasonalityAdjustment.BuildersetDevices(int index, DeviceEnum.Device value)If not specified, all devices will be included in this adjustment.BiddingSeasonalityAdjustment.BuildersetDevicesValue(int index, int value)If not specified, all devices will be included in this adjustment.BiddingSeasonalityAdjustment.BuildersetEndDateTime(java.lang.String value)Required.BiddingSeasonalityAdjustment.BuildersetEndDateTimeBytes(com.google.protobuf.ByteString value)Required.BiddingSeasonalityAdjustment.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BiddingSeasonalityAdjustment.BuildersetName(java.lang.String value)The name of the seasonality adjustment.BiddingSeasonalityAdjustment.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the seasonality adjustment.BiddingSeasonalityAdjustment.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)BiddingSeasonalityAdjustment.BuildersetResourceName(java.lang.String value)Immutable.BiddingSeasonalityAdjustment.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Immutable.BiddingSeasonalityAdjustment.BuildersetScope(SeasonalityEventScopeEnum.SeasonalityEventScope value)The scope of the seasonality adjustment.BiddingSeasonalityAdjustment.BuildersetScopeValue(int value)The scope of the seasonality adjustment.BiddingSeasonalityAdjustment.BuildersetSeasonalityAdjustmentId(long value)Output only.BiddingSeasonalityAdjustment.BuildersetStartDateTime(java.lang.String value)Required.BiddingSeasonalityAdjustment.BuildersetStartDateTimeBytes(com.google.protobuf.ByteString value)Required.BiddingSeasonalityAdjustment.BuildersetStatus(SeasonalityEventStatusEnum.SeasonalityEventStatus value)Output only.BiddingSeasonalityAdjustment.BuildersetStatusValue(int value)Output only.BiddingSeasonalityAdjustment.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<BiddingSeasonalityAdjustment.Builder>
-
clear
public BiddingSeasonalityAdjustment.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<BiddingSeasonalityAdjustment.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<BiddingSeasonalityAdjustment.Builder>
-
getDefaultInstanceForType
public BiddingSeasonalityAdjustment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BiddingSeasonalityAdjustment build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BiddingSeasonalityAdjustment buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BiddingSeasonalityAdjustment.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<BiddingSeasonalityAdjustment.Builder>
-
setField
public BiddingSeasonalityAdjustment.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<BiddingSeasonalityAdjustment.Builder>
-
clearField
public BiddingSeasonalityAdjustment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingSeasonalityAdjustment.Builder>
-
clearOneof
public BiddingSeasonalityAdjustment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingSeasonalityAdjustment.Builder>
-
setRepeatedField
public BiddingSeasonalityAdjustment.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<BiddingSeasonalityAdjustment.Builder>
-
addRepeatedField
public BiddingSeasonalityAdjustment.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<BiddingSeasonalityAdjustment.Builder>
-
mergeFrom
public BiddingSeasonalityAdjustment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BiddingSeasonalityAdjustment.Builder>
-
mergeFrom
public BiddingSeasonalityAdjustment.Builder mergeFrom(BiddingSeasonalityAdjustment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingSeasonalityAdjustment.Builder>
-
mergeFrom
public BiddingSeasonalityAdjustment.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<BiddingSeasonalityAdjustment.Builder>- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the seasonality adjustment. Seasonality adjustment resource names have the form: `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the seasonality adjustment. Seasonality adjustment resource names have the form: `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public BiddingSeasonalityAdjustment.Builder setResourceName(java.lang.String value)
Immutable. The resource name of the seasonality adjustment. Seasonality adjustment resource names have the form: `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_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
public BiddingSeasonalityAdjustment.Builder clearResourceName()
Immutable. The resource name of the seasonality adjustment. Seasonality adjustment resource names have the form: `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public BiddingSeasonalityAdjustment.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the seasonality adjustment. Seasonality adjustment resource names have the form: `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_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.
-
getSeasonalityAdjustmentId
public long getSeasonalityAdjustmentId()
Output only. The ID of the seasonality adjustment.
int64 seasonality_adjustment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSeasonalityAdjustmentIdin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The seasonalityAdjustmentId.
-
setSeasonalityAdjustmentId
public BiddingSeasonalityAdjustment.Builder setSeasonalityAdjustmentId(long value)
Output only. The ID of the seasonality adjustment.
int64 seasonality_adjustment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The seasonalityAdjustmentId to set.- Returns:
- This builder for chaining.
-
clearSeasonalityAdjustmentId
public BiddingSeasonalityAdjustment.Builder clearSeasonalityAdjustmentId()
Output only. The ID of the seasonality adjustment.
int64 seasonality_adjustment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getScopeValue
public int getScopeValue()
The scope of the seasonality adjustment.
.google.ads.googleads.v10.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;- Specified by:
getScopeValuein interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The enum numeric value on the wire for scope.
-
setScopeValue
public BiddingSeasonalityAdjustment.Builder setScopeValue(int value)
The scope of the seasonality adjustment.
.google.ads.googleads.v10.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;- Parameters:
value- The enum numeric value on the wire for scope to set.- Returns:
- This builder for chaining.
-
getScope
public SeasonalityEventScopeEnum.SeasonalityEventScope getScope()
The scope of the seasonality adjustment.
.google.ads.googleads.v10.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;- Specified by:
getScopein interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The scope.
-
setScope
public BiddingSeasonalityAdjustment.Builder setScope(SeasonalityEventScopeEnum.SeasonalityEventScope value)
The scope of the seasonality adjustment.
.google.ads.googleads.v10.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;- Parameters:
value- The scope to set.- Returns:
- This builder for chaining.
-
clearScope
public BiddingSeasonalityAdjustment.Builder clearScope()
The scope of the seasonality adjustment.
.google.ads.googleads.v10.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
Output only. The status of the seasonality adjustment.
.google.ads.googleads.v10.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public BiddingSeasonalityAdjustment.Builder setStatusValue(int value)
Output only. The status of the seasonality adjustment.
.google.ads.googleads.v10.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.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
public SeasonalityEventStatusEnum.SeasonalityEventStatus getStatus()
Output only. The status of the seasonality adjustment.
.google.ads.googleads.v10.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The status.
-
setStatus
public BiddingSeasonalityAdjustment.Builder setStatus(SeasonalityEventStatusEnum.SeasonalityEventStatus value)
Output only. The status of the seasonality adjustment.
.google.ads.googleads.v10.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public BiddingSeasonalityAdjustment.Builder clearStatus()
Output only. The status of the seasonality adjustment.
.google.ads.googleads.v10.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStartDateTime
public java.lang.String getStartDateTime()
Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. A seasonality adjustment is forward looking and should be used for events that start and end in the future.
string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStartDateTimein interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The startDateTime.
-
getStartDateTimeBytes
public com.google.protobuf.ByteString getStartDateTimeBytes()
Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. A seasonality adjustment is forward looking and should be used for events that start and end in the future.
string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStartDateTimeBytesin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The bytes for startDateTime.
-
setStartDateTime
public BiddingSeasonalityAdjustment.Builder setStartDateTime(java.lang.String value)
Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. A seasonality adjustment is forward looking and should be used for events that start and end in the future.
string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The startDateTime to set.- Returns:
- This builder for chaining.
-
clearStartDateTime
public BiddingSeasonalityAdjustment.Builder clearStartDateTime()
Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. A seasonality adjustment is forward looking and should be used for events that start and end in the future.
string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setStartDateTimeBytes
public BiddingSeasonalityAdjustment.Builder setStartDateTimeBytes(com.google.protobuf.ByteString value)
Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. A seasonality adjustment is forward looking and should be used for events that start and end in the future.
string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for startDateTime to set.- Returns:
- This builder for chaining.
-
getEndDateTime
public java.lang.String getEndDateTime()
Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. The length of [start_date_time, end_date_time) interval must be within (0, 14 days].
string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEndDateTimein interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The endDateTime.
-
getEndDateTimeBytes
public com.google.protobuf.ByteString getEndDateTimeBytes()
Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. The length of [start_date_time, end_date_time) interval must be within (0, 14 days].
string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEndDateTimeBytesin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The bytes for endDateTime.
-
setEndDateTime
public BiddingSeasonalityAdjustment.Builder setEndDateTime(java.lang.String value)
Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. The length of [start_date_time, end_date_time) interval must be within (0, 14 days].
string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The endDateTime to set.- Returns:
- This builder for chaining.
-
clearEndDateTime
public BiddingSeasonalityAdjustment.Builder clearEndDateTime()
Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. The length of [start_date_time, end_date_time) interval must be within (0, 14 days].
string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setEndDateTimeBytes
public BiddingSeasonalityAdjustment.Builder setEndDateTimeBytes(com.google.protobuf.ByteString value)
Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss format. The length of [start_date_time, end_date_time) interval must be within (0, 14 days].
string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for endDateTime to set.- Returns:
- This builder for chaining.
-
getName
public java.lang.String getName()
The name of the seasonality adjustment. The name can be at most 255 characters.
string name = 7;- Specified by:
getNamein interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the seasonality adjustment. The name can be at most 255 characters.
string name = 7;- Specified by:
getNameBytesin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The bytes for name.
-
setName
public BiddingSeasonalityAdjustment.Builder setName(java.lang.String value)
The name of the seasonality adjustment. The name can be at most 255 characters.
string name = 7;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public BiddingSeasonalityAdjustment.Builder clearName()
The name of the seasonality adjustment. The name can be at most 255 characters.
string name = 7;- Returns:
- This builder for chaining.
-
setNameBytes
public BiddingSeasonalityAdjustment.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the seasonality adjustment. The name can be at most 255 characters.
string name = 7;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
public java.lang.String getDescription()
The description of the seasonality adjustment. The description can be at most 2048 characters.
string description = 8;- Specified by:
getDescriptionin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description of the seasonality adjustment. The description can be at most 2048 characters.
string description = 8;- Specified by:
getDescriptionBytesin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The bytes for description.
-
setDescription
public BiddingSeasonalityAdjustment.Builder setDescription(java.lang.String value)
The description of the seasonality adjustment. The description can be at most 2048 characters.
string description = 8;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public BiddingSeasonalityAdjustment.Builder clearDescription()
The description of the seasonality adjustment. The description can be at most 2048 characters.
string description = 8;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public BiddingSeasonalityAdjustment.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the seasonality adjustment. The description can be at most 2048 characters.
string description = 8;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDevicesList
public java.util.List<DeviceEnum.Device> getDevicesList()
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Specified by:
getDevicesListin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- A list containing the devices.
-
getDevicesCount
public int getDevicesCount()
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Specified by:
getDevicesCountin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The count of devices.
-
getDevices
public DeviceEnum.Device getDevices(int index)
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Specified by:
getDevicesin interfaceBiddingSeasonalityAdjustmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The devices at the given index.
-
setDevices
public BiddingSeasonalityAdjustment.Builder setDevices(int index, DeviceEnum.Device value)
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Parameters:
index- The index to set the value at.value- The devices to set.- Returns:
- This builder for chaining.
-
addDevices
public BiddingSeasonalityAdjustment.Builder addDevices(DeviceEnum.Device value)
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Parameters:
value- The devices to add.- Returns:
- This builder for chaining.
-
addAllDevices
public BiddingSeasonalityAdjustment.Builder addAllDevices(java.lang.Iterable<? extends DeviceEnum.Device> values)
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Parameters:
values- The devices to add.- Returns:
- This builder for chaining.
-
clearDevices
public BiddingSeasonalityAdjustment.Builder clearDevices()
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Returns:
- This builder for chaining.
-
getDevicesValueList
public java.util.List<java.lang.Integer> getDevicesValueList()
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Specified by:
getDevicesValueListin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- A list containing the enum numeric values on the wire for devices.
-
getDevicesValue
public int getDevicesValue(int index)
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Specified by:
getDevicesValuein interfaceBiddingSeasonalityAdjustmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of devices at the given index.
-
setDevicesValue
public BiddingSeasonalityAdjustment.Builder setDevicesValue(int index, int value)
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of devices at the given index.
-
addDevicesValue
public BiddingSeasonalityAdjustment.Builder addDevicesValue(int value)
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Parameters:
value- The enum numeric value on the wire for devices to add.- Returns:
- This builder for chaining.
-
addAllDevicesValue
public BiddingSeasonalityAdjustment.Builder addAllDevicesValue(java.lang.Iterable<java.lang.Integer> values)
If not specified, all devices will be included in this adjustment. Otherwise, only the specified targeted devices will be included in this adjustment.
repeated .google.ads.googleads.v10.enums.DeviceEnum.Device devices = 9;- Parameters:
values- The enum numeric values on the wire for devices to add.- Returns:
- This builder for chaining.
-
getConversionRateModifier
public double getConversionRateModifier()
Conversion rate modifier estimated based on expected conversion rate changes. When this field is unset or set to 1.0 no adjustment will be applied to traffic. The allowed range is 0.1 to 10.0.
double conversion_rate_modifier = 10;- Specified by:
getConversionRateModifierin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The conversionRateModifier.
-
setConversionRateModifier
public BiddingSeasonalityAdjustment.Builder setConversionRateModifier(double value)
Conversion rate modifier estimated based on expected conversion rate changes. When this field is unset or set to 1.0 no adjustment will be applied to traffic. The allowed range is 0.1 to 10.0.
double conversion_rate_modifier = 10;- Parameters:
value- The conversionRateModifier to set.- Returns:
- This builder for chaining.
-
clearConversionRateModifier
public BiddingSeasonalityAdjustment.Builder clearConversionRateModifier()
Conversion rate modifier estimated based on expected conversion rate changes. When this field is unset or set to 1.0 no adjustment will be applied to traffic. The allowed range is 0.1 to 10.0.
double conversion_rate_modifier = 10;- Returns:
- This builder for chaining.
-
getCampaignsList
public com.google.protobuf.ProtocolStringList getCampaignsList()
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 11 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignsListin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- A list containing the campaigns.
-
getCampaignsCount
public int getCampaignsCount()
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 11 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignsCountin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The count of campaigns.
-
getCampaigns
public java.lang.String getCampaigns(int index)
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 11 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignsin interfaceBiddingSeasonalityAdjustmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The campaigns at the given index.
-
getCampaignsBytes
public com.google.protobuf.ByteString getCampaignsBytes(int index)
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 11 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignsBytesin interfaceBiddingSeasonalityAdjustmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the campaigns at the given index.
-
setCampaigns
public BiddingSeasonalityAdjustment.Builder setCampaigns(int index, java.lang.String value)
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 11 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The campaigns to set.- Returns:
- This builder for chaining.
-
addCampaigns
public BiddingSeasonalityAdjustment.Builder addCampaigns(java.lang.String value)
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 11 [(.google.api.resource_reference) = { ... }- Parameters:
value- The campaigns to add.- Returns:
- This builder for chaining.
-
addAllCampaigns
public BiddingSeasonalityAdjustment.Builder addAllCampaigns(java.lang.Iterable<java.lang.String> values)
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 11 [(.google.api.resource_reference) = { ... }- Parameters:
values- The campaigns to add.- Returns:
- This builder for chaining.
-
clearCampaigns
public BiddingSeasonalityAdjustment.Builder clearCampaigns()
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 11 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addCampaignsBytes
public BiddingSeasonalityAdjustment.Builder addCampaignsBytes(com.google.protobuf.ByteString value)
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 11 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the campaigns to add.- Returns:
- This builder for chaining.
-
getAdvertisingChannelTypesList
public java.util.List<AdvertisingChannelTypeEnum.AdvertisingChannelType> getAdvertisingChannelTypesList()
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Specified by:
getAdvertisingChannelTypesListin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- A list containing the advertisingChannelTypes.
-
getAdvertisingChannelTypesCount
public int getAdvertisingChannelTypesCount()
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Specified by:
getAdvertisingChannelTypesCountin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- The count of advertisingChannelTypes.
-
getAdvertisingChannelTypes
public AdvertisingChannelTypeEnum.AdvertisingChannelType getAdvertisingChannelTypes(int index)
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Specified by:
getAdvertisingChannelTypesin interfaceBiddingSeasonalityAdjustmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The advertisingChannelTypes at the given index.
-
setAdvertisingChannelTypes
public BiddingSeasonalityAdjustment.Builder setAdvertisingChannelTypes(int index, AdvertisingChannelTypeEnum.AdvertisingChannelType value)
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Parameters:
index- The index to set the value at.value- The advertisingChannelTypes to set.- Returns:
- This builder for chaining.
-
addAdvertisingChannelTypes
public BiddingSeasonalityAdjustment.Builder addAdvertisingChannelTypes(AdvertisingChannelTypeEnum.AdvertisingChannelType value)
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Parameters:
value- The advertisingChannelTypes to add.- Returns:
- This builder for chaining.
-
addAllAdvertisingChannelTypes
public BiddingSeasonalityAdjustment.Builder addAllAdvertisingChannelTypes(java.lang.Iterable<? extends AdvertisingChannelTypeEnum.AdvertisingChannelType> values)
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Parameters:
values- The advertisingChannelTypes to add.- Returns:
- This builder for chaining.
-
clearAdvertisingChannelTypes
public BiddingSeasonalityAdjustment.Builder clearAdvertisingChannelTypes()
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Returns:
- This builder for chaining.
-
getAdvertisingChannelTypesValueList
public java.util.List<java.lang.Integer> getAdvertisingChannelTypesValueList()
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Specified by:
getAdvertisingChannelTypesValueListin interfaceBiddingSeasonalityAdjustmentOrBuilder- Returns:
- A list containing the enum numeric values on the wire for advertisingChannelTypes.
-
getAdvertisingChannelTypesValue
public int getAdvertisingChannelTypesValue(int index)
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Specified by:
getAdvertisingChannelTypesValuein interfaceBiddingSeasonalityAdjustmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of advertisingChannelTypes at the given index.
-
setAdvertisingChannelTypesValue
public BiddingSeasonalityAdjustment.Builder setAdvertisingChannelTypesValue(int index, int value)
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of advertisingChannelTypes at the given index.
-
addAdvertisingChannelTypesValue
public BiddingSeasonalityAdjustment.Builder addAdvertisingChannelTypesValue(int value)
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Parameters:
value- The enum numeric value on the wire for advertisingChannelTypes to add.- Returns:
- This builder for chaining.
-
addAllAdvertisingChannelTypesValue
public BiddingSeasonalityAdjustment.Builder addAllAdvertisingChannelTypesValue(java.lang.Iterable<java.lang.Integer> values)
The seasonality adjustment will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this adjustment is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a seasonality adjustment with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;- Parameters:
values- The enum numeric values on the wire for advertisingChannelTypes to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BiddingSeasonalityAdjustment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingSeasonalityAdjustment.Builder>
-
mergeUnknownFields
public final BiddingSeasonalityAdjustment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingSeasonalityAdjustment.Builder>
-
-