public enum DraftStatus extends Enum<DraftStatus>
Java class for DraftStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DraftStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="PROPOSED"/>
<enumeration value="PROMOTED"/>
<enumeration value="PROMOTING"/>
<enumeration value="ARCHIVED"/>
<enumeration value="PROMOTE_FAILED"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ARCHIVED
The advertiser has archived the draft.
|
PROMOTE_FAILED
The promotion failed after it was partially applied.
|
PROMOTED
The process to merge changes in the draft back to the original campaign has
completedly successfully.
|
PROMOTING
The advertiser requested to merge changes in the draft back into the original
campaigns.
|
PROPOSED
Initial state of the draft, the advertiser can start adding changes with no
effect on serving.
|
UNKNOWN
Invalid status.
|
| Modifier and Type | Method and Description |
|---|---|
static DraftStatus |
fromValue(String v) |
String |
value() |
static DraftStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DraftStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DraftStatus UNKNOWN
public static final DraftStatus PROPOSED
public static final DraftStatus PROMOTED
public static final DraftStatus PROMOTING
public static final DraftStatus ARCHIVED
public static final DraftStatus PROMOTE_FAILED
public static DraftStatus[] values()
for (DraftStatus c : DraftStatus.values()) System.out.println(c);
public static DraftStatus 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()
public static DraftStatus fromValue(String v)
Copyright © 2023. All rights reserved.