public static enum Openrtb.NativeRequest.AdUnitId extends Enum<Openrtb.NativeRequest.AdUnitId> implements com.google.protobuf.ProtocolMessageEnum
OpenRTB Native 7.2: Below is a list of the core ad unit ids described by IAB here: http://www.iab.net/media/file/IABNativeAdvertisingPlaybook120413.pdf In feed unit is essentially a layout, it has been removed from the list. The in feed units can be identified via the layout parameter on the request. An implementing exchange may not support all asset variants or introduce new ones unique to that system.Protobuf enum
openrtb.NativeRequest.AdUnitId| Enum Constant and Description |
|---|
CUSTOM
Exchange-specific values above 500.
|
IAB_IN_AD_NATIVE
IAB_IN_AD_NATIVE = 4; |
PAID_SEARCH_UNIT
PAID_SEARCH_UNIT = 1; |
PROMOTED_LISTING
PROMOTED_LISTING = 3; |
RECOMMENDATION_WIDGET
RECOMMENDATION_WIDGET = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_VALUE
Exchange-specific values above 500.
|
static int |
IAB_IN_AD_NATIVE_VALUE
IAB_IN_AD_NATIVE = 4; |
static int |
PAID_SEARCH_UNIT_VALUE
PAID_SEARCH_UNIT = 1; |
static int |
PROMOTED_LISTING_VALUE
PROMOTED_LISTING = 3; |
static int |
RECOMMENDATION_WIDGET_VALUE
RECOMMENDATION_WIDGET = 2; |
| Modifier and Type | Method and Description |
|---|---|
static Openrtb.NativeRequest.AdUnitId |
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<Openrtb.NativeRequest.AdUnitId> |
internalGetValueMap() |
static Openrtb.NativeRequest.AdUnitId |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Openrtb.NativeRequest.AdUnitId |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Openrtb.NativeRequest.AdUnitId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Openrtb.NativeRequest.AdUnitId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Openrtb.NativeRequest.AdUnitId PAID_SEARCH_UNIT
PAID_SEARCH_UNIT = 1;public static final Openrtb.NativeRequest.AdUnitId RECOMMENDATION_WIDGET
RECOMMENDATION_WIDGET = 2;public static final Openrtb.NativeRequest.AdUnitId PROMOTED_LISTING
PROMOTED_LISTING = 3;public static final Openrtb.NativeRequest.AdUnitId IAB_IN_AD_NATIVE
IAB_IN_AD_NATIVE = 4;public static final Openrtb.NativeRequest.AdUnitId CUSTOM
Exchange-specific values above 500.
CUSTOM = 5;public static final int PAID_SEARCH_UNIT_VALUE
PAID_SEARCH_UNIT = 1;public static final int RECOMMENDATION_WIDGET_VALUE
RECOMMENDATION_WIDGET = 2;public static final int PROMOTED_LISTING_VALUE
PROMOTED_LISTING = 3;public static final int IAB_IN_AD_NATIVE_VALUE
IAB_IN_AD_NATIVE = 4;public static final int CUSTOM_VALUE
Exchange-specific values above 500.
CUSTOM = 5;public static Openrtb.NativeRequest.AdUnitId[] values()
for (Openrtb.NativeRequest.AdUnitId c : Openrtb.NativeRequest.AdUnitId.values()) System.out.println(c);
public static Openrtb.NativeRequest.AdUnitId 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 Openrtb.NativeRequest.AdUnitId valueOf(int value)
forNumber(int) instead.public static Openrtb.NativeRequest.AdUnitId forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Openrtb.NativeRequest.AdUnitId> 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 Openrtb.NativeRequest.AdUnitId valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017. All rights reserved.