public static enum OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType extends Enum<OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType> implements com.google.protobuf.ProtocolMessageEnum
OpenRTB 6.2: types of ads that can be accepted by the exchange unless restricted by publisher site settings.Protobuf enum
openrtb.Enums.BidRequest.Impression.Banner.AdType| Enum Constant and Description |
|---|
IFRAME
Iframe.
|
JAVASCRIPT
Javascript must be valid XHTML (ie, script tags included).
|
XHTML_BANNER
"Usually mobile".
|
XHTML_TEXT
"Usually mobile".
|
| Modifier and Type | Field and Description |
|---|---|
static int |
IFRAME_VALUE
Iframe.
|
static int |
JAVASCRIPT_VALUE
Javascript must be valid XHTML (ie, script tags included).
|
static int |
XHTML_BANNER_VALUE
"Usually mobile".
|
static int |
XHTML_TEXT_VALUE
"Usually mobile".
|
| Modifier and Type | Method and Description |
|---|---|
static OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType> |
internalGetValueMap() |
static OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType XHTML_TEXT
"Usually mobile".
XHTML_TEXT = 1;public static final OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType XHTML_BANNER
"Usually mobile".
XHTML_BANNER = 2;public static final OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType JAVASCRIPT
Javascript must be valid XHTML (ie, script tags included).
JAVASCRIPT = 3;public static final OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType IFRAME
Iframe.
IFRAME = 4;public static final int XHTML_TEXT_VALUE
"Usually mobile".
XHTML_TEXT = 1;public static final int XHTML_BANNER_VALUE
"Usually mobile".
XHTML_BANNER = 2;public static final int JAVASCRIPT_VALUE
Javascript must be valid XHTML (ie, script tags included).
JAVASCRIPT = 3;public static final int IFRAME_VALUE
Iframe.
IFRAME = 4;public static OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType[] values()
for (OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType c : OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType.values()) System.out.println(c);
public static OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType valueOf(int value)
forNumber(int) instead.public static OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OpenrtbCommon.Enums.BidRequest.Impression.Banner.AdType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017. All rights reserved.