public enum LabelType extends Enum<LabelType>
Java class for LabelType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LabelType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="COMPETITIVE_EXCLUSION"/>
<enumeration value="AD_UNIT_FREQUENCY_CAP"/>
<enumeration value="AD_EXCLUSION"/>
<enumeration value="CREATIVE_WRAPPER"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AD_EXCLUSION
Allows for the creation of labels to exclude ads from showing against a tag
that specifies the label as an exclusion.
|
AD_UNIT_FREQUENCY_CAP
Allows for the creation of limits on the frequency that a user sees a
particular type of creative over a portion of the inventory.
|
COMPETITIVE_EXCLUSION
Allows for the creation of labels to exclude competing ads from showing on
the same page.
|
CREATIVE_WRAPPER
Allows for the creation of labels that can be used to force the wrapping of
a delivering creative with header/footer creatives.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API
version.
|
| Modifier and Type | Method and Description |
|---|---|
static LabelType |
fromValue(String v) |
String |
value() |
static LabelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelType COMPETITIVE_EXCLUSION
public static final LabelType AD_UNIT_FREQUENCY_CAP
public static final LabelType AD_EXCLUSION
public static final LabelType CREATIVE_WRAPPER
CreativeWrapper.public static final LabelType UNKNOWN
public static LabelType[] values()
for (LabelType c : LabelType.values()) System.out.println(c);
public static LabelType 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.