Class BiddingSeasonalityAdjustment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v14.resources.BiddingSeasonalityAdjustment
-
- All Implemented Interfaces:
BiddingSeasonalityAdjustmentOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
public final class BiddingSeasonalityAdjustment extends com.google.protobuf.GeneratedMessageV3 implements BiddingSeasonalityAdjustmentOrBuilder
Represents a bidding seasonality adjustment. See "About seasonality adjustments" at https://support.google.com/google-ads/answer/10369906.
Protobuf typegoogle.ads.googleads.v14.resources.BiddingSeasonalityAdjustment
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BiddingSeasonalityAdjustment.Builder
Represents a bidding seasonality adjustment.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADVERTISING_CHANNEL_TYPES_FIELD_NUMBER
static int
CAMPAIGNS_FIELD_NUMBER
static int
CONVERSION_RATE_MODIFIER_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DEVICES_FIELD_NUMBER
static int
END_DATE_TIME_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
RESOURCE_NAME_FIELD_NUMBER
static int
SCOPE_FIELD_NUMBER
static int
SEASONALITY_ADJUSTMENT_ID_FIELD_NUMBER
static int
START_DATE_TIME_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
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.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.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.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.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.String
getCampaigns(int index)
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.com.google.protobuf.ByteString
getCampaignsBytes(int index)
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.int
getCampaignsCount()
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.com.google.protobuf.ProtocolStringList
getCampaignsList()
The seasonality adjustment will apply to the campaigns listed when the scope of this adjustment is CAMPAIGN.double
getConversionRateModifier()
Conversion rate modifier estimated based on expected conversion rate changes.static BiddingSeasonalityAdjustment
getDefaultInstance()
BiddingSeasonalityAdjustment
getDefaultInstanceForType()
java.lang.String
getDescription()
The description of the seasonality adjustment.com.google.protobuf.ByteString
getDescriptionBytes()
The description of the seasonality adjustment.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
DeviceEnum.Device
getDevices(int index)
If not specified, all devices will be included in this adjustment.int
getDevicesCount()
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.int
getDevicesValue(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.String
getEndDateTime()
Required.com.google.protobuf.ByteString
getEndDateTimeBytes()
Required.java.lang.String
getName()
The name of the seasonality adjustment.com.google.protobuf.ByteString
getNameBytes()
The name of the seasonality adjustment.com.google.protobuf.Parser<BiddingSeasonalityAdjustment>
getParserForType()
java.lang.String
getResourceName()
Immutable.com.google.protobuf.ByteString
getResourceNameBytes()
Immutable.SeasonalityEventScopeEnum.SeasonalityEventScope
getScope()
The scope of the seasonality adjustment.int
getScopeValue()
The scope of the seasonality adjustment.long
getSeasonalityAdjustmentId()
Output only.int
getSerializedSize()
java.lang.String
getStartDateTime()
Required.com.google.protobuf.ByteString
getStartDateTimeBytes()
Required.SeasonalityEventStatusEnum.SeasonalityEventStatus
getStatus()
Output only.int
getStatusValue()
Output only.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static BiddingSeasonalityAdjustment.Builder
newBuilder()
static BiddingSeasonalityAdjustment.Builder
newBuilder(BiddingSeasonalityAdjustment prototype)
BiddingSeasonalityAdjustment.Builder
newBuilderForType()
protected BiddingSeasonalityAdjustment.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static BiddingSeasonalityAdjustment
parseDelimitedFrom(java.io.InputStream input)
static BiddingSeasonalityAdjustment
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BiddingSeasonalityAdjustment
parseFrom(byte[] data)
static BiddingSeasonalityAdjustment
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BiddingSeasonalityAdjustment
parseFrom(com.google.protobuf.ByteString data)
static BiddingSeasonalityAdjustment
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BiddingSeasonalityAdjustment
parseFrom(com.google.protobuf.CodedInputStream input)
static BiddingSeasonalityAdjustment
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BiddingSeasonalityAdjustment
parseFrom(java.io.InputStream input)
static BiddingSeasonalityAdjustment
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BiddingSeasonalityAdjustment
parseFrom(java.nio.ByteBuffer data)
static BiddingSeasonalityAdjustment
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<BiddingSeasonalityAdjustment>
parser()
BiddingSeasonalityAdjustment.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEASONALITY_ADJUSTMENT_ID_FIELD_NUMBER
public static final int SEASONALITY_ADJUSTMENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_DATE_TIME_FIELD_NUMBER
public static final int START_DATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_DATE_TIME_FIELD_NUMBER
public static final int END_DATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEVICES_FIELD_NUMBER
public static final int DEVICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONVERSION_RATE_MODIFIER_FIELD_NUMBER
public static final int CONVERSION_RATE_MODIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CAMPAIGNS_FIELD_NUMBER
public static final int CAMPAIGNS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADVERTISING_CHANNEL_TYPES_FIELD_NUMBER
public static final int ADVERTISING_CHANNEL_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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:
getResourceName
in 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:
getResourceNameBytes
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Returns:
- The bytes for resourceName.
-
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:
getSeasonalityAdjustmentId
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Returns:
- The seasonalityAdjustmentId.
-
getScopeValue
public int getScopeValue()
The scope of the seasonality adjustment.
.google.ads.googleads.v14.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;
- Specified by:
getScopeValue
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Returns:
- The enum numeric value on the wire for scope.
-
getScope
public SeasonalityEventScopeEnum.SeasonalityEventScope getScope()
The scope of the seasonality adjustment.
.google.ads.googleads.v14.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;
- Specified by:
getScope
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Returns:
- The scope.
-
getStatusValue
public int getStatusValue()
Output only. The status of the seasonality adjustment.
.google.ads.googleads.v14.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusValue
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public SeasonalityEventStatusEnum.SeasonalityEventStatus getStatus()
Output only. The status of the seasonality adjustment.
.google.ads.googleads.v14.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatus
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Returns:
- The status.
-
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:
getStartDateTime
in 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:
getStartDateTimeBytes
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Returns:
- The bytes for startDateTime.
-
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:
getEndDateTime
in 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:
getEndDateTimeBytes
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Returns:
- The bytes for endDateTime.
-
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:
getName
in 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:
getNameBytes
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Returns:
- The bytes for name.
-
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:
getDescription
in 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:
getDescriptionBytes
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Returns:
- The bytes for description.
-
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.v14.enums.DeviceEnum.Device devices = 9;
- Specified by:
getDevicesList
in 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.v14.enums.DeviceEnum.Device devices = 9;
- Specified by:
getDevicesCount
in 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.v14.enums.DeviceEnum.Device devices = 9;
- Specified by:
getDevices
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The devices at the given index.
-
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.v14.enums.DeviceEnum.Device devices = 9;
- Specified by:
getDevicesValueList
in 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.v14.enums.DeviceEnum.Device devices = 9;
- Specified by:
getDevicesValue
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of devices at the given index.
-
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:
getConversionRateModifier
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Returns:
- The conversionRateModifier.
-
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:
getCampaignsList
in 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:
getCampaignsCount
in 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:
getCampaigns
in 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:
getCampaignsBytes
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the campaigns at the given index.
-
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.v14.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;
- Specified by:
getAdvertisingChannelTypesList
in 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.v14.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;
- Specified by:
getAdvertisingChannelTypesCount
in 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.v14.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;
- Specified by:
getAdvertisingChannelTypes
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The advertisingChannelTypes at the given index.
-
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.v14.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;
- Specified by:
getAdvertisingChannelTypesValueList
in 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.v14.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12;
- Specified by:
getAdvertisingChannelTypesValue
in interfaceBiddingSeasonalityAdjustmentOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of advertisingChannelTypes at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BiddingSeasonalityAdjustment parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BiddingSeasonalityAdjustment parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BiddingSeasonalityAdjustment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BiddingSeasonalityAdjustment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BiddingSeasonalityAdjustment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BiddingSeasonalityAdjustment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BiddingSeasonalityAdjustment parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BiddingSeasonalityAdjustment parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BiddingSeasonalityAdjustment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BiddingSeasonalityAdjustment parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BiddingSeasonalityAdjustment parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BiddingSeasonalityAdjustment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public BiddingSeasonalityAdjustment.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BiddingSeasonalityAdjustment.Builder newBuilder()
-
newBuilder
public static BiddingSeasonalityAdjustment.Builder newBuilder(BiddingSeasonalityAdjustment prototype)
-
toBuilder
public BiddingSeasonalityAdjustment.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BiddingSeasonalityAdjustment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BiddingSeasonalityAdjustment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BiddingSeasonalityAdjustment> parser()
-
getParserForType
public com.google.protobuf.Parser<BiddingSeasonalityAdjustment> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BiddingSeasonalityAdjustment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-