Enum OpenRtb.VideoPlacementType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<OpenRtb.VideoPlacementType>
    Enclosing class:
    OpenRtb

    public static enum OpenRtb.VideoPlacementType
    extends Enum<OpenRtb.VideoPlacementType>
    implements com.google.protobuf.ProtocolMessageEnum
     OpenRTB 2.5: The following table lists the various types of video placements
     derived largely from the IAB Digital Video Guidelines.
     
    Protobuf enum com.google.openrtb.VideoPlacementType
    • Enum Constant Detail

      • UNDEFINED_VIDEO_PLACEMENT

        public static final OpenRtb.VideoPlacementType UNDEFINED_VIDEO_PLACEMENT
         The video placement is not defined.
         Default value.
         
        UNDEFINED_VIDEO_PLACEMENT = 0;
      • IN_STREAM_PLACEMENT

        public static final OpenRtb.VideoPlacementType IN_STREAM_PLACEMENT
         Played before, during or after the streaming video content
         that the consumer has requested.
         E.G.: Pre-roll, Mid-roll, Post-roll.
         
        IN_STREAM_PLACEMENT = 1;
      • IN_BANNER_PLACEMENT

        public static final OpenRtb.VideoPlacementType IN_BANNER_PLACEMENT
         Exists within a web banner that leverages the banner space
         to deliver a video experience as opposed to another static
         or rich media format.
         The format relies on the existence of display ad inventory
         on the page for its delivery.
         
        IN_BANNER_PLACEMENT = 2;
      • IN_ARTICLE_PLACEMENT

        public static final OpenRtb.VideoPlacementType IN_ARTICLE_PLACEMENT
         Loads and plays dynamically between paragraphs of editorial content;
         existing as a standalone branded message.
         
        IN_ARTICLE_PLACEMENT = 3;
      • IN_FEED_PLACEMENT

        public static final OpenRtb.VideoPlacementType IN_FEED_PLACEMENT
         In-Feed - Found in content, social, or product feeds.
         
        IN_FEED_PLACEMENT = 4;
      • FLOATING_PLACEMENT

        public static final OpenRtb.VideoPlacementType FLOATING_PLACEMENT
         Interstitial/Slider/Floating.
         Covers the entire or a portion of screen area,
         but is always on screen while displayed
         (i.e. cannot be scrolled out of view).
         Note that a full-screen interstitial (e.g., in mobile)
         can be distinguished from a floating/slider unit by the imp.instl field.
         
        FLOATING_PLACEMENT = 5;
    • Field Detail

      • UNDEFINED_VIDEO_PLACEMENT_VALUE

        public static final int UNDEFINED_VIDEO_PLACEMENT_VALUE
         The video placement is not defined.
         Default value.
         
        UNDEFINED_VIDEO_PLACEMENT = 0;
        See Also:
        Constant Field Values
      • IN_STREAM_PLACEMENT_VALUE

        public static final int IN_STREAM_PLACEMENT_VALUE
         Played before, during or after the streaming video content
         that the consumer has requested.
         E.G.: Pre-roll, Mid-roll, Post-roll.
         
        IN_STREAM_PLACEMENT = 1;
        See Also:
        Constant Field Values
      • IN_BANNER_PLACEMENT_VALUE

        public static final int IN_BANNER_PLACEMENT_VALUE
         Exists within a web banner that leverages the banner space
         to deliver a video experience as opposed to another static
         or rich media format.
         The format relies on the existence of display ad inventory
         on the page for its delivery.
         
        IN_BANNER_PLACEMENT = 2;
        See Also:
        Constant Field Values
      • IN_ARTICLE_PLACEMENT_VALUE

        public static final int IN_ARTICLE_PLACEMENT_VALUE
         Loads and plays dynamically between paragraphs of editorial content;
         existing as a standalone branded message.
         
        IN_ARTICLE_PLACEMENT = 3;
        See Also:
        Constant Field Values
      • IN_FEED_PLACEMENT_VALUE

        public static final int IN_FEED_PLACEMENT_VALUE
         In-Feed - Found in content, social, or product feeds.
         
        IN_FEED_PLACEMENT = 4;
        See Also:
        Constant Field Values
      • FLOATING_PLACEMENT_VALUE

        public static final int FLOATING_PLACEMENT_VALUE
         Interstitial/Slider/Floating.
         Covers the entire or a portion of screen area,
         but is always on screen while displayed
         (i.e. cannot be scrolled out of view).
         Note that a full-screen interstitial (e.g., in mobile)
         can be distinguished from a floating/slider unit by the imp.instl field.
         
        FLOATING_PLACEMENT = 5;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static OpenRtb.VideoPlacementType[] 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.VideoPlacementType c : OpenRtb.VideoPlacementType.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.VideoPlacementType 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static OpenRtb.VideoPlacementType 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 name
        NullPointerException - if the argument is null
      • forNumber

        public static OpenRtb.VideoPlacementType forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static OpenRtb.VideoPlacementType 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 name
        NullPointerException - if the argument is null