public enum GoalType extends Enum<GoalType>
Java class for GoalType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GoalType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NONE"/>
<enumeration value="LIFETIME"/>
<enumeration value="DAILY"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DAILY
There is a daily goal on the number of ads delivered for this line item.
|
LIFETIME
There is a goal on the number of ads delivered for this line item during
its entire lifetime.
|
NONE
No goal is specified for the number of ads delivered.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static GoalType |
fromValue(String v) |
String |
value() |
static GoalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GoalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoalType NONE
LineItemSummary.lineItemType must be one of:
public static final GoalType LIFETIME
LineItemSummary.lineItemType must be
one of:
public static final GoalType DAILY
LineItemSummary.lineItemType must be one of:
public static final GoalType UNKNOWN
public static GoalType[] values()
for (GoalType c : GoalType.values()) System.out.println(c);
public static GoalType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
Copyright © 2018. All Rights Reserved.