Package com.google.openrtb
Enum OpenRtb.DataAssetType
- java.lang.Object
-
- java.lang.Enum<OpenRtb.DataAssetType>
-
- com.google.openrtb.OpenRtb.DataAssetType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OpenRtb.DataAssetType>
- Enclosing class:
- OpenRtb
public static enum OpenRtb.DataAssetType extends Enum<OpenRtb.DataAssetType> implements com.google.protobuf.ProtocolMessageEnum
OpenRTB Native 1.0: 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.
Protobuf enumcom.google.openrtb.DataAssetType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESSAddress.CTATEXTText describing a 'call to action' button for the destination URL.DESCDescriptive text associated with the product or service being advertised.DESC2Additional descriptive text associated with the product or service being advertised.DISPLAYURLDisplay URL for the text ad.DOWNLOADSNumber downloads/installs of this product.LIKESNumber of social ratings or "likes" of product being offered to the user.PHONEPhone number.PRICEPrice for product / app / in-app purchase.RATINGRating of the product being offered to the user.SALEPRICESale price that can be used together with price to indicate a discounted price compared to a regular price.SPONSOREDSponsored By message where response should contain the brand name of the sponsor.
-
Field Summary
Fields Modifier and Type Field Description static intADDRESS_VALUEAddress.static intCTATEXT_VALUEText describing a 'call to action' button for the destination URL.static intDESC_VALUEDescriptive text associated with the product or service being advertised.static intDESC2_VALUEAdditional descriptive text associated with the product or service being advertised.static intDISPLAYURL_VALUEDisplay URL for the text ad.static intDOWNLOADS_VALUENumber downloads/installs of this product.static intLIKES_VALUENumber of social ratings or "likes" of product being offered to the user.static intPHONE_VALUEPhone number.static intPRICE_VALUEPrice for product / app / in-app purchase.static intRATING_VALUERating of the product being offered to the user.static intSALEPRICE_VALUESale price that can be used together with price to indicate a discounted price compared to a regular price.static intSPONSORED_VALUESponsored By message where response should contain the brand name of the sponsor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OpenRtb.DataAssetTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<OpenRtb.DataAssetType>internalGetValueMap()static OpenRtb.DataAssetTypevalueOf(int value)Deprecated.static OpenRtb.DataAssetTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OpenRtb.DataAssetTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OpenRtb.DataAssetType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPONSORED
public static final OpenRtb.DataAssetType SPONSORED
Sponsored By message where response should contain the brand name of the sponsor. Format: Text; Max length: 25 or longer.
SPONSORED = 1;
-
DESC
public static final OpenRtb.DataAssetType DESC
Descriptive text associated with the product or service being advertised. Format: Text; Max length: 140 or longer.
DESC = 2;
-
RATING
public static final OpenRtb.DataAssetType RATING
Rating of the product being offered to the user. For example an app's rating in an app store from 0-5. Format: Number (1-5 digits) formatted as string.
RATING = 3;
-
LIKES
public static final OpenRtb.DataAssetType LIKES
Number of social ratings or "likes" of product being offered to the user. Format: Number formatted as string.
LIKES = 4;
-
DOWNLOADS
public static final OpenRtb.DataAssetType DOWNLOADS
Number downloads/installs of this product. Format: Number formatted as string.
DOWNLOADS = 5;
-
PRICE
public static final OpenRtb.DataAssetType PRICE
Price for product / app / in-app purchase. Value should include currency symbol in localised format. Format: Number formatted as string.
PRICE = 6;
-
SALEPRICE
public static final OpenRtb.DataAssetType SALEPRICE
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. Format: Number formatted as string.
SALEPRICE = 7;
-
PHONE
public static final OpenRtb.DataAssetType PHONE
Phone number. Format: Formatted string.
PHONE = 8;
-
ADDRESS
public static final OpenRtb.DataAssetType ADDRESS
Address. Format: Text.
ADDRESS = 9;
-
DESC2
public static final OpenRtb.DataAssetType DESC2
Additional descriptive text associated with the product or service being advertised. Format: Text.
DESC2 = 10;
-
DISPLAYURL
public static final OpenRtb.DataAssetType DISPLAYURL
Display URL for the text ad. Format: Text.
DISPLAYURL = 11;
-
CTATEXT
public static final OpenRtb.DataAssetType CTATEXT
Text describing a 'call to action' button for the destination URL. Format: Text.
CTATEXT = 12;
-
-
Field Detail
-
SPONSORED_VALUE
public static final int SPONSORED_VALUE
Sponsored By message where response should contain the brand name of the sponsor. Format: Text; Max length: 25 or longer.
SPONSORED = 1;- See Also:
- Constant Field Values
-
DESC_VALUE
public static final int DESC_VALUE
Descriptive text associated with the product or service being advertised. Format: Text; Max length: 140 or longer.
DESC = 2;- See Also:
- Constant Field Values
-
RATING_VALUE
public static final int RATING_VALUE
Rating of the product being offered to the user. For example an app's rating in an app store from 0-5. Format: Number (1-5 digits) formatted as string.
RATING = 3;- See Also:
- Constant Field Values
-
LIKES_VALUE
public static final int LIKES_VALUE
Number of social ratings or "likes" of product being offered to the user. Format: Number formatted as string.
LIKES = 4;- See Also:
- Constant Field Values
-
DOWNLOADS_VALUE
public static final int DOWNLOADS_VALUE
Number downloads/installs of this product. Format: Number formatted as string.
DOWNLOADS = 5;- See Also:
- Constant Field Values
-
PRICE_VALUE
public static final int PRICE_VALUE
Price for product / app / in-app purchase. Value should include currency symbol in localised format. Format: Number formatted as string.
PRICE = 6;- See Also:
- Constant Field Values
-
SALEPRICE_VALUE
public static final int SALEPRICE_VALUE
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. Format: Number formatted as string.
SALEPRICE = 7;- See Also:
- Constant Field Values
-
PHONE_VALUE
public static final int PHONE_VALUE
Phone number. Format: Formatted string.
PHONE = 8;- See Also:
- Constant Field Values
-
ADDRESS_VALUE
public static final int ADDRESS_VALUE
Address. Format: Text.
ADDRESS = 9;- See Also:
- Constant Field Values
-
DESC2_VALUE
public static final int DESC2_VALUE
Additional descriptive text associated with the product or service being advertised. Format: Text.
DESC2 = 10;- See Also:
- Constant Field Values
-
DISPLAYURL_VALUE
public static final int DISPLAYURL_VALUE
Display URL for the text ad. Format: Text.
DISPLAYURL = 11;- See Also:
- Constant Field Values
-
CTATEXT_VALUE
public static final int CTATEXT_VALUE
Text describing a 'call to action' button for the destination URL. Format: Text.
CTATEXT = 12;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OpenRtb.DataAssetType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OpenRtb.DataAssetType c : OpenRtb.DataAssetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenRtb.DataAssetType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static OpenRtb.DataAssetType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static OpenRtb.DataAssetType forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<OpenRtb.DataAssetType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static OpenRtb.DataAssetType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-