public static enum OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context extends Enum<OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context> implements com.google.protobuf.ProtocolMessageEnum
The context in which the ad appears - what type of content is surrounding the ad on the page at a high level. This maps directly to the new Deep Dive on In-Feed Ad Units. This denotes the primary context, but does not imply other content may not exist on the page - for example it's expected that most content platforms have some social components, etc.Protobuf enum
openrtb.Enums.BidRequest.Impression.NativeRequest.Context| Enum Constant and Description |
|---|
CONTENT_CENTRIC
Content-centric context such as newsfeed, article, image gallery, video
gallery, or similar.
|
PRODUCT
Product context such as product listings, details, recommendations,
reviews, or similar.
|
SOCIAL_CENTRIC
Social-centric context such as social network feed, email, chat, or
similar.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENT_CENTRIC_VALUE
Content-centric context such as newsfeed, article, image gallery, video
gallery, or similar.
|
static int |
PRODUCT_VALUE
Product context such as product listings, details, recommendations,
reviews, or similar.
|
static int |
SOCIAL_CENTRIC_VALUE
Social-centric context such as social network feed, email, chat, or
similar.
|
| Modifier and Type | Method and Description |
|---|---|
static OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context |
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.NativeRequest.Context> |
internalGetValueMap() |
static OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context CONTENT_CENTRIC
Content-centric context such as newsfeed, article, image gallery, video gallery, or similar.
CONTENT_CENTRIC = 1;public static final OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context SOCIAL_CENTRIC
Social-centric context such as social network feed, email, chat, or similar.
SOCIAL_CENTRIC = 2;public static final OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context PRODUCT
Product context such as product listings, details, recommendations, reviews, or similar.
PRODUCT = 3;public static final int CONTENT_CENTRIC_VALUE
Content-centric context such as newsfeed, article, image gallery, video gallery, or similar.
CONTENT_CENTRIC = 1;public static final int SOCIAL_CENTRIC_VALUE
Social-centric context such as social network feed, email, chat, or similar.
SOCIAL_CENTRIC = 2;public static final int PRODUCT_VALUE
Product context such as product listings, details, recommendations, reviews, or similar.
PRODUCT = 3;public static OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context[] values()
for (OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context c : OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context.values()) System.out.println(c);
public static OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context 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.NativeRequest.Context valueOf(int value)
forNumber(int) instead.public static OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OpenrtbCommon.Enums.BidRequest.Impression.NativeRequest.Context> 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.NativeRequest.Context valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018. All rights reserved.