public final class HistoricalBasisVolumeSettings extends GeneratedMessage implements HistoricalBasisVolumeSettingsOrBuilder
Settings to specify the volume of ad opportunities per day over the
ForecastAdjustment date range based on the traffic volume of a historical
reference period. The daily historical traffic for the provided targeting and
date range is fetched, multiplied by the provided multiplier, and used as the
daily expected traffic for the adjustment. The number of days included in the
historical date range does not need to be the same as the number of days
included in the adjustment date range.
Protobuf type google.ads.admanager.v1.HistoricalBasisVolumeSettings
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
HISTORICAL_DATE_RANGE_FIELD_NUMBER
public static final int HISTORICAL_DATE_RANGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MULTIPLIER_MILLI_PERCENT_FIELD_NUMBER
public static final int MULTIPLIER_MILLI_PERCENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGETING_FIELD_NUMBER
public static final int TARGETING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USE_PARENT_TRAFFIC_FORECAST_SEGMENT_TARGETING_FIELD_NUMBER
public static final int USE_PARENT_TRAFFIC_FORECAST_SEGMENT_TARGETING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static HistoricalBasisVolumeSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HistoricalBasisVolumeSettings.Builder newBuilder()
newBuilder(HistoricalBasisVolumeSettings prototype)
public static HistoricalBasisVolumeSettings.Builder newBuilder(HistoricalBasisVolumeSettings prototype)
public static HistoricalBasisVolumeSettings parseDelimitedFrom(InputStream input)
public static HistoricalBasisVolumeSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HistoricalBasisVolumeSettings parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HistoricalBasisVolumeSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HistoricalBasisVolumeSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HistoricalBasisVolumeSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HistoricalBasisVolumeSettings parseFrom(CodedInputStream input)
public static HistoricalBasisVolumeSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HistoricalBasisVolumeSettings parseFrom(InputStream input)
public static HistoricalBasisVolumeSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HistoricalBasisVolumeSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HistoricalBasisVolumeSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HistoricalBasisVolumeSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public HistoricalBasisVolumeSettings getDefaultInstanceForType()
getHistoricalDateRange()
public DateRange getHistoricalDateRange()
Required. The date range to use for the historical ad opportunity volume.
.google.ads.admanager.v1.DateRange historical_date_range = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
DateRange |
The historicalDateRange.
|
getHistoricalDateRangeOrBuilder()
public DateRangeOrBuilder getHistoricalDateRangeOrBuilder()
Required. The date range to use for the historical ad opportunity volume.
.google.ads.admanager.v1.DateRange historical_date_range = 3 [(.google.api.field_behavior) = REQUIRED];
getMultiplierMilliPercent()
public long getMultiplierMilliPercent()
Required. The multiplier to apply to the historical traffic volume,
expressed in thousandths of a percent. For example, to set the forecasted
traffic as 130% of the historical traffic, this value would be 130,000.
optional int64 multiplier_milli_percent = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
long |
The multiplierMilliPercent.
|
getParserForType()
public Parser<HistoricalBasisVolumeSettings> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTargeting()
public Targeting getTargeting()
Optional. The targeting criteria to use as the source of the historical
volume data. This field is required if
useParentTrafficForecastSegmentTargeting is false and ignored otherwise.
.google.ads.admanager.v1.Targeting targeting = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Targeting |
The targeting.
|
getTargetingOrBuilder()
public TargetingOrBuilder getTargetingOrBuilder()
Optional. The targeting criteria to use as the source of the historical
volume data. This field is required if
useParentTrafficForecastSegmentTargeting is false and ignored otherwise.
.google.ads.admanager.v1.Targeting targeting = 2 [(.google.api.field_behavior) = OPTIONAL];
getUseParentTrafficForecastSegmentTargeting()
public boolean getUseParentTrafficForecastSegmentTargeting()
Whether the parent traffic forecast segment targeting's or the targeting's
historical volume data should be used.
optional bool use_parent_traffic_forecast_segment_targeting = 1;
| Returns |
| Type |
Description |
boolean |
The useParentTrafficForecastSegmentTargeting.
|
hasHistoricalDateRange()
public boolean hasHistoricalDateRange()
Required. The date range to use for the historical ad opportunity volume.
.google.ads.admanager.v1.DateRange historical_date_range = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the historicalDateRange field is set.
|
hasMultiplierMilliPercent()
public boolean hasMultiplierMilliPercent()
Required. The multiplier to apply to the historical traffic volume,
expressed in thousandths of a percent. For example, to set the forecasted
traffic as 130% of the historical traffic, this value would be 130,000.
optional int64 multiplier_milli_percent = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the multiplierMilliPercent field is set.
|
hasTargeting()
public boolean hasTargeting()
Optional. The targeting criteria to use as the source of the historical
volume data. This field is required if
useParentTrafficForecastSegmentTargeting is false and ignored otherwise.
.google.ads.admanager.v1.Targeting targeting = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the targeting field is set.
|
hasUseParentTrafficForecastSegmentTargeting()
public boolean hasUseParentTrafficForecastSegmentTargeting()
Whether the parent traffic forecast segment targeting's or the targeting's
historical volume data should be used.
optional bool use_parent_traffic_forecast_segment_targeting = 1;
| Returns |
| Type |
Description |
boolean |
Whether the useParentTrafficForecastSegmentTargeting field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HistoricalBasisVolumeSettings.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected HistoricalBasisVolumeSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public HistoricalBasisVolumeSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides