public static enum Openrtb.NativeRequest.Asset.Data.DataAssetType extends Enum<Openrtb.NativeRequest.Asset.Data.DataAssetType> implements com.google.protobuf.ProtocolMessageEnum
openrtb.NativeRequest.Asset.Data.DataAssetType
OpenRTB Native 7.3: Common asset element types of native advertising. This list is non-exhaustive and intended to be extended by the buyers and sellers as the format evolves. An implementing exchange may not support all asset variants or introduce new ones unique to that system.
| Enum Constant and Description |
|---|
ADDRESS
ADDRESS = 9; |
CTATEXT
CTATEXT = 12; |
DESC
DESC = 2; |
DESC2
DESC2 = 10; |
DISPLAYURL
DISPLAYURL = 11; |
DOWNLOADS
DOWNLOADS = 5; |
LIKES
LIKES = 4; |
PHONE
PHONE = 8; |
PRICE
PRICE = 6; |
RATING
RATING = 3; |
SALEPRICE
SALEPRICE = 7; |
SPONSORED
SPONSORED = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_VALUE
ADDRESS = 9; |
static int |
CTATEXT_VALUE
CTATEXT = 12; |
static int |
DESC_VALUE
DESC = 2; |
static int |
DESC2_VALUE
DESC2 = 10; |
static int |
DISPLAYURL_VALUE
DISPLAYURL = 11; |
static int |
DOWNLOADS_VALUE
DOWNLOADS = 5; |
static int |
LIKES_VALUE
LIKES = 4; |
static int |
PHONE_VALUE
PHONE = 8; |
static int |
PRICE_VALUE
PRICE = 6; |
static int |
RATING_VALUE
RATING = 3; |
static int |
SALEPRICE_VALUE
SALEPRICE = 7; |
static int |
SPONSORED_VALUE
SPONSORED = 1; |
| Modifier and Type | Method and Description |
|---|---|
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.Asset.Data.DataAssetType> |
internalGetValueMap() |
static Openrtb.NativeRequest.Asset.Data.DataAssetType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Openrtb.NativeRequest.Asset.Data.DataAssetType |
valueOf(int value) |
static Openrtb.NativeRequest.Asset.Data.DataAssetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Openrtb.NativeRequest.Asset.Data.DataAssetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType SPONSORED
SPONSORED = 1;
Sponsored By message where response should contain the brand name of the sponsor.
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType DESC
DESC = 2;
Descriptive text associated with the product or service being advertised.
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType RATING
RATING = 3;
Rating of the product being offered to the user. For example an app's rating in an app store from 0-5.
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType LIKES
LIKES = 4;
Number of social ratings or "likes" of the product being offered to the user.
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType DOWNLOADS
DOWNLOADS = 5;
Number downloads/installs of this product.
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType PRICE
PRICE = 6;
Price for product / app / in-app purchase. Value should include currency symbol in localised format.
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType SALEPRICE
SALEPRICE = 7;
Sale price that can be used together with price to indicate a discounted price compared to a regular price. Value should include currency symbol in localised format.
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType PHONE
PHONE = 8;
Phone number.
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType ADDRESS
ADDRESS = 9;
Address.
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType DESC2
DESC2 = 10;
Additional descriptive text associated with the product or service being advertised.
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType DISPLAYURL
DISPLAYURL = 11;
Display URL for the text ad.
public static final Openrtb.NativeRequest.Asset.Data.DataAssetType CTATEXT
CTATEXT = 12;
Text describing a "call to action" button for the destination URL.
public static final int SPONSORED_VALUE
SPONSORED = 1;
Sponsored By message where response should contain the brand name of the sponsor.
public static final int DESC_VALUE
DESC = 2;
Descriptive text associated with the product or service being advertised.
public static final int RATING_VALUE
RATING = 3;
Rating of the product being offered to the user. For example an app's rating in an app store from 0-5.
public static final int LIKES_VALUE
LIKES = 4;
Number of social ratings or "likes" of the product being offered to the user.
public static final int DOWNLOADS_VALUE
DOWNLOADS = 5;
Number downloads/installs of this product.
public static final int PRICE_VALUE
PRICE = 6;
Price for product / app / in-app purchase. Value should include currency symbol in localised format.
public static final int SALEPRICE_VALUE
SALEPRICE = 7;
Sale price that can be used together with price to indicate a discounted price compared to a regular price. Value should include currency symbol in localised format.
public static final int PHONE_VALUE
PHONE = 8;
Phone number.
public static final int ADDRESS_VALUE
ADDRESS = 9;
Address.
public static final int DESC2_VALUE
DESC2 = 10;
Additional descriptive text associated with the product or service being advertised.
public static final int DISPLAYURL_VALUE
DISPLAYURL = 11;
Display URL for the text ad.
public static final int CTATEXT_VALUE
CTATEXT = 12;
Text describing a "call to action" button for the destination URL.
public static Openrtb.NativeRequest.Asset.Data.DataAssetType[] values()
for (Openrtb.NativeRequest.Asset.Data.DataAssetType c : Openrtb.NativeRequest.Asset.Data.DataAssetType.values()) System.out.println(c);
public static Openrtb.NativeRequest.Asset.Data.DataAssetType 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.ProtocolMessageEnumpublic static Openrtb.NativeRequest.Asset.Data.DataAssetType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Openrtb.NativeRequest.Asset.Data.DataAssetType> 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.Asset.Data.DataAssetType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017. All rights reserved.