Package com.google.openrtb
Enum OpenRtb.CreativeAttribute
- java.lang.Object
-
- java.lang.Enum<OpenRtb.CreativeAttribute>
-
- com.google.openrtb.OpenRtb.CreativeAttribute
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OpenRtb.CreativeAttribute>
- Enclosing class:
- OpenRtb
public static enum OpenRtb.CreativeAttribute extends Enum<OpenRtb.CreativeAttribute> implements com.google.protobuf.ProtocolMessageEnum
OpenRTB 2.0: The following table specifies a standard list of creative attributes that can describe an ad being served or serve as restrictions of thereof.
Protobuf enumcom.google.openrtb.CreativeAttribute
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_CAN_BE_SKIPPEDAD_CAN_BE_SKIPPED = 16;ANNOYINGDefined as "Shaky, Flashing, Flickering, Extreme Animation, Smileys".AUDIO_AUTO_PLAYAUDIO_AUTO_PLAY = 1;AUDIO_USER_INITIATEDAUDIO_USER_INITIATED = 2;EXPANDABLE_AUTOMATICEXPANDABLE_AUTOMATIC = 3;EXPANDABLE_CLICK_INITIATEDEXPANDABLE_CLICK_INITIATED = 4;EXPANDABLE_ROLLOVER_INITIATEDEXPANDABLE_ROLLOVER_INITIATED = 5;FLASHFLASH = 17;HAS_AUDIO_ON_OFF_BUTTONHAS_AUDIO_ON_OFF_BUTTON = 15;POPPop (e.g., Over, Under, or upon Exit).PROVOCATIVE_OR_SUGGESTIVEPROVOCATIVE_OR_SUGGESTIVE = 9;SURVEYSSURVEYS = 11;TEXT_ONLYTEXT_ONLY = 12;USER_INTERACTIVEEg, embedded games.VIDEO_IN_BANNER_AUTO_PLAYVIDEO_IN_BANNER_AUTO_PLAY = 6;VIDEO_IN_BANNER_USER_INITIATEDVIDEO_IN_BANNER_USER_INITIATED = 7;WINDOWS_DIALOG_OR_ALERT_STYLEWINDOWS_DIALOG_OR_ALERT_STYLE = 14;
-
Field Summary
Fields Modifier and Type Field Description static intAD_CAN_BE_SKIPPED_VALUEAD_CAN_BE_SKIPPED = 16;static intANNOYING_VALUEDefined as "Shaky, Flashing, Flickering, Extreme Animation, Smileys".static intAUDIO_AUTO_PLAY_VALUEAUDIO_AUTO_PLAY = 1;static intAUDIO_USER_INITIATED_VALUEAUDIO_USER_INITIATED = 2;static intEXPANDABLE_AUTOMATIC_VALUEEXPANDABLE_AUTOMATIC = 3;static intEXPANDABLE_CLICK_INITIATED_VALUEEXPANDABLE_CLICK_INITIATED = 4;static intEXPANDABLE_ROLLOVER_INITIATED_VALUEEXPANDABLE_ROLLOVER_INITIATED = 5;static intFLASH_VALUEFLASH = 17;static intHAS_AUDIO_ON_OFF_BUTTON_VALUEHAS_AUDIO_ON_OFF_BUTTON = 15;static intPOP_VALUEPop (e.g., Over, Under, or upon Exit).static intPROVOCATIVE_OR_SUGGESTIVE_VALUEPROVOCATIVE_OR_SUGGESTIVE = 9;static intSURVEYS_VALUESURVEYS = 11;static intTEXT_ONLY_VALUETEXT_ONLY = 12;static intUSER_INTERACTIVE_VALUEEg, embedded games.static intVIDEO_IN_BANNER_AUTO_PLAY_VALUEVIDEO_IN_BANNER_AUTO_PLAY = 6;static intVIDEO_IN_BANNER_USER_INITIATED_VALUEVIDEO_IN_BANNER_USER_INITIATED = 7;static intWINDOWS_DIALOG_OR_ALERT_STYLE_VALUEWINDOWS_DIALOG_OR_ALERT_STYLE = 14;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OpenRtb.CreativeAttributeforNumber(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.CreativeAttribute>internalGetValueMap()static OpenRtb.CreativeAttributevalueOf(int value)Deprecated.static OpenRtb.CreativeAttributevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OpenRtb.CreativeAttributevalueOf(String name)Returns the enum constant of this type with the specified name.static OpenRtb.CreativeAttribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUDIO_AUTO_PLAY
public static final OpenRtb.CreativeAttribute AUDIO_AUTO_PLAY
AUDIO_AUTO_PLAY = 1;
-
AUDIO_USER_INITIATED
public static final OpenRtb.CreativeAttribute AUDIO_USER_INITIATED
AUDIO_USER_INITIATED = 2;
-
EXPANDABLE_AUTOMATIC
public static final OpenRtb.CreativeAttribute EXPANDABLE_AUTOMATIC
EXPANDABLE_AUTOMATIC = 3;
-
EXPANDABLE_CLICK_INITIATED
public static final OpenRtb.CreativeAttribute EXPANDABLE_CLICK_INITIATED
EXPANDABLE_CLICK_INITIATED = 4;
-
EXPANDABLE_ROLLOVER_INITIATED
public static final OpenRtb.CreativeAttribute EXPANDABLE_ROLLOVER_INITIATED
EXPANDABLE_ROLLOVER_INITIATED = 5;
-
VIDEO_IN_BANNER_AUTO_PLAY
public static final OpenRtb.CreativeAttribute VIDEO_IN_BANNER_AUTO_PLAY
VIDEO_IN_BANNER_AUTO_PLAY = 6;
-
VIDEO_IN_BANNER_USER_INITIATED
public static final OpenRtb.CreativeAttribute VIDEO_IN_BANNER_USER_INITIATED
VIDEO_IN_BANNER_USER_INITIATED = 7;
-
POP
public static final OpenRtb.CreativeAttribute POP
Pop (e.g., Over, Under, or upon Exit).
POP = 8;
-
PROVOCATIVE_OR_SUGGESTIVE
public static final OpenRtb.CreativeAttribute PROVOCATIVE_OR_SUGGESTIVE
PROVOCATIVE_OR_SUGGESTIVE = 9;
-
ANNOYING
public static final OpenRtb.CreativeAttribute ANNOYING
Defined as "Shaky, Flashing, Flickering, Extreme Animation, Smileys".
ANNOYING = 10;
-
SURVEYS
public static final OpenRtb.CreativeAttribute SURVEYS
SURVEYS = 11;
-
TEXT_ONLY
public static final OpenRtb.CreativeAttribute TEXT_ONLY
TEXT_ONLY = 12;
-
USER_INTERACTIVE
public static final OpenRtb.CreativeAttribute USER_INTERACTIVE
Eg, embedded games.
USER_INTERACTIVE = 13;
-
WINDOWS_DIALOG_OR_ALERT_STYLE
public static final OpenRtb.CreativeAttribute WINDOWS_DIALOG_OR_ALERT_STYLE
WINDOWS_DIALOG_OR_ALERT_STYLE = 14;
-
HAS_AUDIO_ON_OFF_BUTTON
public static final OpenRtb.CreativeAttribute HAS_AUDIO_ON_OFF_BUTTON
HAS_AUDIO_ON_OFF_BUTTON = 15;
-
AD_CAN_BE_SKIPPED
public static final OpenRtb.CreativeAttribute AD_CAN_BE_SKIPPED
AD_CAN_BE_SKIPPED = 16;
-
FLASH
public static final OpenRtb.CreativeAttribute FLASH
FLASH = 17;
-
-
Field Detail
-
AUDIO_AUTO_PLAY_VALUE
public static final int AUDIO_AUTO_PLAY_VALUE
AUDIO_AUTO_PLAY = 1;- See Also:
- Constant Field Values
-
AUDIO_USER_INITIATED_VALUE
public static final int AUDIO_USER_INITIATED_VALUE
AUDIO_USER_INITIATED = 2;- See Also:
- Constant Field Values
-
EXPANDABLE_AUTOMATIC_VALUE
public static final int EXPANDABLE_AUTOMATIC_VALUE
EXPANDABLE_AUTOMATIC = 3;- See Also:
- Constant Field Values
-
EXPANDABLE_CLICK_INITIATED_VALUE
public static final int EXPANDABLE_CLICK_INITIATED_VALUE
EXPANDABLE_CLICK_INITIATED = 4;- See Also:
- Constant Field Values
-
EXPANDABLE_ROLLOVER_INITIATED_VALUE
public static final int EXPANDABLE_ROLLOVER_INITIATED_VALUE
EXPANDABLE_ROLLOVER_INITIATED = 5;- See Also:
- Constant Field Values
-
VIDEO_IN_BANNER_AUTO_PLAY_VALUE
public static final int VIDEO_IN_BANNER_AUTO_PLAY_VALUE
VIDEO_IN_BANNER_AUTO_PLAY = 6;- See Also:
- Constant Field Values
-
VIDEO_IN_BANNER_USER_INITIATED_VALUE
public static final int VIDEO_IN_BANNER_USER_INITIATED_VALUE
VIDEO_IN_BANNER_USER_INITIATED = 7;- See Also:
- Constant Field Values
-
POP_VALUE
public static final int POP_VALUE
Pop (e.g., Over, Under, or upon Exit).
POP = 8;- See Also:
- Constant Field Values
-
PROVOCATIVE_OR_SUGGESTIVE_VALUE
public static final int PROVOCATIVE_OR_SUGGESTIVE_VALUE
PROVOCATIVE_OR_SUGGESTIVE = 9;- See Also:
- Constant Field Values
-
ANNOYING_VALUE
public static final int ANNOYING_VALUE
Defined as "Shaky, Flashing, Flickering, Extreme Animation, Smileys".
ANNOYING = 10;- See Also:
- Constant Field Values
-
SURVEYS_VALUE
public static final int SURVEYS_VALUE
SURVEYS = 11;- See Also:
- Constant Field Values
-
TEXT_ONLY_VALUE
public static final int TEXT_ONLY_VALUE
TEXT_ONLY = 12;- See Also:
- Constant Field Values
-
USER_INTERACTIVE_VALUE
public static final int USER_INTERACTIVE_VALUE
Eg, embedded games.
USER_INTERACTIVE = 13;- See Also:
- Constant Field Values
-
WINDOWS_DIALOG_OR_ALERT_STYLE_VALUE
public static final int WINDOWS_DIALOG_OR_ALERT_STYLE_VALUE
WINDOWS_DIALOG_OR_ALERT_STYLE = 14;- See Also:
- Constant Field Values
-
HAS_AUDIO_ON_OFF_BUTTON_VALUE
public static final int HAS_AUDIO_ON_OFF_BUTTON_VALUE
HAS_AUDIO_ON_OFF_BUTTON = 15;- See Also:
- Constant Field Values
-
AD_CAN_BE_SKIPPED_VALUE
public static final int AD_CAN_BE_SKIPPED_VALUE
AD_CAN_BE_SKIPPED = 16;- See Also:
- Constant Field Values
-
FLASH_VALUE
public static final int FLASH_VALUE
FLASH = 17;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OpenRtb.CreativeAttribute[] 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.CreativeAttribute c : OpenRtb.CreativeAttribute.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.CreativeAttribute 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.CreativeAttribute 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.CreativeAttribute 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.CreativeAttribute> 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.CreativeAttribute 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
-
-