public class Goal extends Object implements Serializable
LineItem needs to satisfy to meet
its delivery goal.| Constructor and Description |
|---|
Goal() |
Goal(GoalType goalType,
UnitType unitType,
Long units) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
GoalType |
getGoalType()
Gets the goalType value for this Goal.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
Long |
getUnits()
Gets the units value for this Goal.
|
UnitType |
getUnitType()
Gets the unitType value for this Goal.
|
int |
hashCode() |
void |
setGoalType(GoalType goalType)
Sets the goalType value for this Goal.
|
void |
setUnits(Long units)
Sets the units value for this Goal.
|
void |
setUnitType(UnitType unitType)
Sets the unitType value for this Goal.
|
String |
toString() |
public GoalType getGoalType()
LineItem. It defines the
period over which the goal
for LineItem should be reached.public void setGoalType(GoalType goalType)
goalType - * The type of the goal for the LineItem. It defines the
period over which the goal
for LineItem should be reached.public UnitType getUnitType()
LineItem.public void setUnitType(UnitType unitType)
unitType - * The type of the goal unit for the LineItem.public Long getUnits()
LineItem. If
the line item is of type
LineItemType.SPONSORSHIP, it represents the
percentage of available impressions
reserved. If the line item is of type LineItemType.BULK
or
LineItemType.PRICE_PRIORITY, it represents
the number of remaining impressions
reserved. If the line item is of type LineItemType.NETWORK
or
LineItemType.HOUSE, it represents the percentage
of remaining impressions
reserved.
If this is a secondary goal, it represents the
number of impressions or conversions that
the line item will stop serving at if reached. For
valid line item types, see
LineItemSummary.secondaryGoals.
public void setUnits(Long units)
units - * If this is a primary goal, it represents the number or percentage
of impressions or clicks
that will be reserved for the LineItem. If
the line item is of type
LineItemType.SPONSORSHIP, it represents the
percentage of available impressions
reserved. If the line item is of type LineItemType.BULK
or
LineItemType.PRICE_PRIORITY, it represents
the number of remaining impressions
reserved. If the line item is of type LineItemType.NETWORK
or
LineItemType.HOUSE, it represents the percentage
of remaining impressions
reserved.
If this is a secondary goal, it represents the
number of impressions or conversions that
the line item will stop serving at if reached. For
valid line item types, see
LineItemSummary.secondaryGoals.
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2019. All rights reserved.