public enum CreativeSizeType extends Enum<CreativeSizeType>
Java class for CreativeSizeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CreativeSizeType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="PIXEL"/>
<enumeration value="ASPECT_RATIO"/>
<enumeration value="INTERSTITIAL"/>
<enumeration value="NATIVE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ASPECT_RATIO
Mobile size, that is expressed as a ratio of say 4 by 1, that could be
met by a 100 x 25 sized image.
|
INTERSTITIAL
Out-of-page size, that is not related to the slot it is served.
|
NATIVE
Native size, which is a function of the how the client renders the creative.
|
PIXEL
Dimension based size, an actual height and width.
|
| Modifier and Type | Method and Description |
|---|---|
static CreativeSizeType |
fromValue(String v) |
String |
value() |
static CreativeSizeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreativeSizeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreativeSizeType PIXEL
public static final CreativeSizeType ASPECT_RATIO
public static final CreativeSizeType INTERSTITIAL
public static final CreativeSizeType NATIVE
public static CreativeSizeType[] values()
for (CreativeSizeType c : CreativeSizeType.values()) System.out.println(c);
public static CreativeSizeType 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 CreativeSizeType fromValue(String v)
Copyright © 2018. All Rights Reserved.