public class ForecastAdjustment extends Object implements Serializable
| Constructor and Description |
|---|
ForecastAdjustment() |
ForecastAdjustment(Long id,
Long trafficForecastSegmentId,
String name,
DateRange dateRange,
ForecastAdjustmentStatus status,
ForecastAdjustmentVolumeType volumeType,
Boolean allowAdjustingForecastAboveRecommendedLimit,
DailyVolumeSettings dailyVolumeSettings,
TotalVolumeSettings totalVolumeSettings,
HistoricalBasisVolumeSettings historicalBasisVolumeSettings,
long[] calculatedDailyAdOpportunityCounts) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAllowAdjustingForecastAboveRecommendedLimit()
Gets the allowAdjustingForecastAboveRecommendedLimit value for this ForecastAdjustment.
|
long[] |
getCalculatedDailyAdOpportunityCounts()
Gets the calculatedDailyAdOpportunityCounts value for this ForecastAdjustment.
|
long |
getCalculatedDailyAdOpportunityCounts(int i) |
DailyVolumeSettings |
getDailyVolumeSettings()
Gets the dailyVolumeSettings value for this ForecastAdjustment.
|
DateRange |
getDateRange()
Gets the dateRange value for this ForecastAdjustment.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
HistoricalBasisVolumeSettings |
getHistoricalBasisVolumeSettings()
Gets the historicalBasisVolumeSettings value for this ForecastAdjustment.
|
Long |
getId()
Gets the id value for this ForecastAdjustment.
|
String |
getName()
Gets the name value for this ForecastAdjustment.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
ForecastAdjustmentStatus |
getStatus()
Gets the status value for this ForecastAdjustment.
|
TotalVolumeSettings |
getTotalVolumeSettings()
Gets the totalVolumeSettings value for this ForecastAdjustment.
|
Long |
getTrafficForecastSegmentId()
Gets the trafficForecastSegmentId value for this ForecastAdjustment.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
ForecastAdjustmentVolumeType |
getVolumeType()
Gets the volumeType value for this ForecastAdjustment.
|
int |
hashCode() |
void |
setAllowAdjustingForecastAboveRecommendedLimit(Boolean allowAdjustingForecastAboveRecommendedLimit)
Sets the allowAdjustingForecastAboveRecommendedLimit value for this ForecastAdjustment.
|
void |
setCalculatedDailyAdOpportunityCounts(int i,
long _value) |
void |
setCalculatedDailyAdOpportunityCounts(long[] calculatedDailyAdOpportunityCounts)
Sets the calculatedDailyAdOpportunityCounts value for this ForecastAdjustment.
|
void |
setDailyVolumeSettings(DailyVolumeSettings dailyVolumeSettings)
Sets the dailyVolumeSettings value for this ForecastAdjustment.
|
void |
setDateRange(DateRange dateRange)
Sets the dateRange value for this ForecastAdjustment.
|
void |
setHistoricalBasisVolumeSettings(HistoricalBasisVolumeSettings historicalBasisVolumeSettings)
Sets the historicalBasisVolumeSettings value for this ForecastAdjustment.
|
void |
setId(Long id)
Sets the id value for this ForecastAdjustment.
|
void |
setName(String name)
Sets the name value for this ForecastAdjustment.
|
void |
setStatus(ForecastAdjustmentStatus status)
Sets the status value for this ForecastAdjustment.
|
void |
setTotalVolumeSettings(TotalVolumeSettings totalVolumeSettings)
Sets the totalVolumeSettings value for this ForecastAdjustment.
|
void |
setTrafficForecastSegmentId(Long trafficForecastSegmentId)
Sets the trafficForecastSegmentId value for this ForecastAdjustment.
|
void |
setVolumeType(ForecastAdjustmentVolumeType volumeType)
Sets the volumeType value for this ForecastAdjustment.
|
String |
toString() |
public ForecastAdjustment()
public ForecastAdjustment(Long id, Long trafficForecastSegmentId, String name, DateRange dateRange, ForecastAdjustmentStatus status, ForecastAdjustmentVolumeType volumeType, Boolean allowAdjustingForecastAboveRecommendedLimit, DailyVolumeSettings dailyVolumeSettings, TotalVolumeSettings totalVolumeSettings, HistoricalBasisVolumeSettings historicalBasisVolumeSettings, long[] calculatedDailyAdOpportunityCounts)
public Long getId()
public void setId(Long id)
id - * The unique ID of the ForecastAdjustment. This field is read-only.
This attribute is read-only.public Long getTrafficForecastSegmentId()
public void setTrafficForecastSegmentId(Long trafficForecastSegmentId)
trafficForecastSegmentId - * The ID of the parent TrafficForecastSegment. This field is
required and immutable after
creation.
This attribute is
required.public String getName()
public void setName(String name)
name - * Name of the ForecastAdjustment. This field is optional.public DateRange getDateRange()
public void setDateRange(DateRange dateRange)
dateRange - * The start and end date range of the adjustment.
This attribute is
required.public ForecastAdjustmentStatus getStatus()
public void setStatus(ForecastAdjustmentStatus status)
status - * The status of the adjustment. This field is required.public ForecastAdjustmentVolumeType getVolumeType()
public void setVolumeType(ForecastAdjustmentVolumeType volumeType)
volumeType - * The volume type of the adjustment.
This attribute is
required.public Boolean getAllowAdjustingForecastAboveRecommendedLimit()
Note that this field will not persist on the adjustment itself, and will only affect the current request.
public void setAllowAdjustingForecastAboveRecommendedLimit(Boolean allowAdjustingForecastAboveRecommendedLimit)
allowAdjustingForecastAboveRecommendedLimit - * Whether to allow provided volume settings to increase current
forecasted traffic values by more
than 300%. Due to system constraints, adjusting the
forecast by more than 300% may have
unintended consequences for other parts of the forecast.
Note that this field will not persist on the adjustment itself, and will only affect the current request.
public DailyVolumeSettings getDailyVolumeSettings()
volumeType is ForecastAdjustmentVolumeType#DAILY_VOLUME
and ignored
othewise.public void setDailyVolumeSettings(DailyVolumeSettings dailyVolumeSettings)
dailyVolumeSettings - * The daily number of ad opportunities for each day in the adjustment
date range. This field is
required if volumeType is ForecastAdjustmentVolumeType#DAILY_VOLUME
and ignored
othewise.public TotalVolumeSettings getTotalVolumeSettings()
volumeType is ForecastAdjustmentVolumeType#TOTAL_VOLUME
and ignored
othewise.public void setTotalVolumeSettings(TotalVolumeSettings totalVolumeSettings)
totalVolumeSettings - * The total number of ad opportunities for the entire adjustment
date range. This field is
required if volumeType is ForecastAdjustmentVolumeType#TOTAL_VOLUME
and ignored
othewise.public HistoricalBasisVolumeSettings getHistoricalBasisVolumeSettings()
volumeType is ForecastAdjustmentVolumeType#HISTORICAL_BASIS_VOLUME
and ignored othewise.public void setHistoricalBasisVolumeSettings(HistoricalBasisVolumeSettings historicalBasisVolumeSettings)
historicalBasisVolumeSettings - * The total number of ad opportunities for the entire adjustment
date range, determined by
reference to historical volume data. This field is
required if volumeType is ForecastAdjustmentVolumeType#HISTORICAL_BASIS_VOLUME
and ignored othewise.public long[] getCalculatedDailyAdOpportunityCounts()
This field is read-only and is populated by Google after forecast adjustment creation.
public void setCalculatedDailyAdOpportunityCounts(long[] calculatedDailyAdOpportunityCounts)
calculatedDailyAdOpportunityCounts - * The daily number of ad opportunities calculated to satisfy
the provided volume settings. Each
value in this list represents the calculated ad opportunities
on the corresponding day of the
adjustment date range.
This field is read-only and is populated by Google after forecast adjustment creation.
public long getCalculatedDailyAdOpportunityCounts(int i)
public void setCalculatedDailyAdOpportunityCounts(int i,
long _value)
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2020. All rights reserved.