public enum InventoryUnitSizesErrorReason extends Enum<InventoryUnitSizesErrorReason>
Java class for InventoryUnitSizesError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="InventoryUnitSizesError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_SIZES"/>
<enumeration value="INVALID_SIZE_FOR_PLATFORM"/>
<enumeration value="VIDEO_FEATURE_MISSING"/>
<enumeration value="VIDEO_MOBILE_LINE_ITEM_FEATURE_MISSING"/>
<enumeration value="INVALID_SIZE_FOR_MASTER"/>
<enumeration value="INVALID_SIZE_FOR_COMPANION"/>
<enumeration value="DUPLICATE_MASTER_SIZES"/>
<enumeration value="ASPECT_RATIO_NOT_SUPPORTED"/>
<enumeration value="VIDEO_COMPANIONS_NOT_SUPPORTED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ASPECT_RATIO_NOT_SUPPORTED
A size is an aspect ratio, but aspect ratio sizes are not enabled.
|
DUPLICATE_MASTER_SIZES
Duplicate video master sizes are not allowed.
|
INVALID_SIZE_FOR_COMPANION
A size that is a companion must have an environment of BROWSER.
|
INVALID_SIZE_FOR_MASTER
A size that has companions must have an environment of VIDEO_PLAYER.
|
INVALID_SIZE_FOR_PLATFORM
A size is an aspect ratio, but the ad unit is not a mobile ad unit.
|
INVALID_SIZES
A size in the ad unit is too large or too small.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
VIDEO_COMPANIONS_NOT_SUPPORTED
A video size has companions, but companions are not allowed for the network
|
VIDEO_FEATURE_MISSING
A size is video, but the video feature is not enabled.
|
VIDEO_MOBILE_LINE_ITEM_FEATURE_MISSING
A size is video in a mobile ad unit,
but the mobile video feature is not enabled.
|
| Modifier and Type | Method and Description |
|---|---|
static InventoryUnitSizesErrorReason |
fromValue(String v) |
String |
value() |
static InventoryUnitSizesErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryUnitSizesErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventoryUnitSizesErrorReason INVALID_SIZES
public static final InventoryUnitSizesErrorReason INVALID_SIZE_FOR_PLATFORM
public static final InventoryUnitSizesErrorReason VIDEO_FEATURE_MISSING
public static final InventoryUnitSizesErrorReason VIDEO_MOBILE_LINE_ITEM_FEATURE_MISSING
public static final InventoryUnitSizesErrorReason INVALID_SIZE_FOR_MASTER
public static final InventoryUnitSizesErrorReason INVALID_SIZE_FOR_COMPANION
public static final InventoryUnitSizesErrorReason DUPLICATE_MASTER_SIZES
public static final InventoryUnitSizesErrorReason ASPECT_RATIO_NOT_SUPPORTED
public static final InventoryUnitSizesErrorReason VIDEO_COMPANIONS_NOT_SUPPORTED
public static final InventoryUnitSizesErrorReason UNKNOWN
public static InventoryUnitSizesErrorReason[] values()
for (InventoryUnitSizesErrorReason c : InventoryUnitSizesErrorReason.values()) System.out.println(c);
public static InventoryUnitSizesErrorReason 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 InventoryUnitSizesErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.