public static enum OpenrtbCommon.Enums.BidRequest.Impression.Banner.BannerExtensions.BannerType extends Enum<OpenrtbCommon.Enums.BidRequest.Impression.Banner.BannerExtensions.BannerType> implements com.google.protobuf.ProtocolMessageEnum
Some exchanges support a "bannertype=rewarded" field for banners. This signifies that an end user will recieve a reward for interacting with the ad. E.g. if the user clicks the ad, they get game currency in a phone game. There aren't other possible "bannertype" values yet, but there could be in the future.Protobuf enum
openrtb.Enums.BidRequest.Impression.Banner.BannerExtensions.BannerType| Enum Constant and Description |
|---|
REWARDED
REWARDED = 0; |
UNKNOWN
UNKNOWN = -1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
REWARDED_VALUE
REWARDED = 0; |
static int |
UNKNOWN_VALUE
UNKNOWN = -1; |
public static final OpenrtbCommon.Enums.BidRequest.Impression.Banner.BannerExtensions.BannerType UNKNOWN
UNKNOWN = -1;public static final OpenrtbCommon.Enums.BidRequest.Impression.Banner.BannerExtensions.BannerType REWARDED
REWARDED = 0;public static final int UNKNOWN_VALUE
UNKNOWN = -1;public static final int REWARDED_VALUE
REWARDED = 0;public static OpenrtbCommon.Enums.BidRequest.Impression.Banner.BannerExtensions.BannerType[] values()
for (OpenrtbCommon.Enums.BidRequest.Impression.Banner.BannerExtensions.BannerType c : OpenrtbCommon.Enums.BidRequest.Impression.Banner.BannerExtensions.BannerType.values()) System.out.println(c);
public static OpenrtbCommon.Enums.BidRequest.Impression.Banner.BannerExtensions.BannerType 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.BannerExtensions.BannerType valueOf(int value)
forNumber(int) instead.public static OpenrtbCommon.Enums.BidRequest.Impression.Banner.BannerExtensions.BannerType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OpenrtbCommon.Enums.BidRequest.Impression.Banner.BannerExtensions.BannerType> 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.BannerExtensions.BannerType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017. All rights reserved.