public enum Level extends Enum<Level>
Java class for Level.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Level">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CREATIVE"/>
<enumeration value="ADGROUP"/>
<enumeration value="CAMPAIGN"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ADGROUP
The cap is applied at the ad group level.
|
CAMPAIGN
The cap is applied at the campaign level.
|
CREATIVE
The cap is applied at the creative level.
|
UNKNOWN
This value cannot be set by the user and sent to the AdWords API servers,
as it would generate a RejectedError.
|
| Modifier and Type | Method and Description |
|---|---|
static Level |
fromValue(String v) |
String |
value() |
static Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Level CREATIVE
public static final Level ADGROUP
public static final Level CAMPAIGN
public static final Level UNKNOWN
public static Level[] values()
for (Level c : Level.values()) System.out.println(c);
public static Level 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 © 2023. All rights reserved.