Enum Class AdFormatTypeEnum.AdFormatType

java.lang.Object
java.lang.Enum<AdFormatTypeEnum.AdFormatType>
com.google.ads.googleads.v18.enums.AdFormatTypeEnum.AdFormatType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AdFormatTypeEnum.AdFormatType>, Constable
Enclosing class:
AdFormatTypeEnum

public static enum AdFormatTypeEnum.AdFormatType extends Enum<AdFormatTypeEnum.AdFormatType> implements com.google.protobuf.ProtocolMessageEnum
 Enumerates Google Ads format types.

 Note that this segmentation is available only for Video and Demand Gen
 campaigns. For assets, only video assets are supported.
 
Protobuf enum google.ads.googleads.v18.enums.AdFormatTypeEnum.AdFormatType
  • Enum Constant Details

    • UNSPECIFIED

      public static final AdFormatTypeEnum.AdFormatType UNSPECIFIED
       No value has been specified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final AdFormatTypeEnum.AdFormatType UNKNOWN
       Used for return value only. Represents value unknown in this version.
       
      UNKNOWN = 1;
    • OTHER

      public static final AdFormatTypeEnum.AdFormatType OTHER
       Value assigned to formats (such as experimental formats) which don't
       support format segmentation in Video and Demand Gen campaigns.
      
       Note that these formats may change categories in the future, for example
       if an experimental format is exposed or a new format is added. We
       strongly recommend to not rely on this field for long term decisions.
       
      OTHER = 2;
    • UNSEGMENTED

      public static final AdFormatTypeEnum.AdFormatType UNSEGMENTED
       Value assigned for Video TrueView for Action campaigns statistics.
      
       Note that statistics with this value may change categories in the future,
       for example if format segmentation support is added for new campaign
       types. We strongly recommend to not rely on this field for long term
       decisions.
       
      UNSEGMENTED = 3;
    • INSTREAM_SKIPPABLE

      public static final AdFormatTypeEnum.AdFormatType INSTREAM_SKIPPABLE
       Skippable in-stream ads.
       
      INSTREAM_SKIPPABLE = 4;
    • INSTREAM_NON_SKIPPABLE

      public static final AdFormatTypeEnum.AdFormatType INSTREAM_NON_SKIPPABLE
       Non-skippable in-stream ads.
       
      INSTREAM_NON_SKIPPABLE = 5;
    • INFEED

      public static final AdFormatTypeEnum.AdFormatType INFEED
       In-feed YouTube or image ads served on feed surfaces (e.g. Discover Feed,
       YouTube Home, etc.).
       
      INFEED = 6;
    • BUMPER

      public static final AdFormatTypeEnum.AdFormatType BUMPER
       Short (<7 secs) in-stream non-skippable YouTube ads.
       
      BUMPER = 7;
    • OUTSTREAM

      public static final AdFormatTypeEnum.AdFormatType OUTSTREAM
       Outstream ads.
       
      OUTSTREAM = 8;
    • MASTHEAD

      public static final AdFormatTypeEnum.AdFormatType MASTHEAD
       Masthead ads.
       
      MASTHEAD = 9;
    • AUDIO

      public static final AdFormatTypeEnum.AdFormatType AUDIO
       Audio ads.
       
      AUDIO = 10;
    • SHORTS

      public static final AdFormatTypeEnum.AdFormatType SHORTS
       Vertical full-screen video or image ads served on YouTube Shorts or
       BrandConnect ads served as organic YouTube Shorts.
       
      SHORTS = 11;
    • UNRECOGNIZED

      public static final AdFormatTypeEnum.AdFormatType UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       No value has been specified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       Used for return value only. Represents value unknown in this version.
       
      UNKNOWN = 1;
      See Also:
    • OTHER_VALUE

      public static final int OTHER_VALUE
       Value assigned to formats (such as experimental formats) which don't
       support format segmentation in Video and Demand Gen campaigns.
      
       Note that these formats may change categories in the future, for example
       if an experimental format is exposed or a new format is added. We
       strongly recommend to not rely on this field for long term decisions.
       
      OTHER = 2;
      See Also:
    • UNSEGMENTED_VALUE

      public static final int UNSEGMENTED_VALUE
       Value assigned for Video TrueView for Action campaigns statistics.
      
       Note that statistics with this value may change categories in the future,
       for example if format segmentation support is added for new campaign
       types. We strongly recommend to not rely on this field for long term
       decisions.
       
      UNSEGMENTED = 3;
      See Also:
    • INSTREAM_SKIPPABLE_VALUE

      public static final int INSTREAM_SKIPPABLE_VALUE
       Skippable in-stream ads.
       
      INSTREAM_SKIPPABLE = 4;
      See Also:
    • INSTREAM_NON_SKIPPABLE_VALUE

      public static final int INSTREAM_NON_SKIPPABLE_VALUE
       Non-skippable in-stream ads.
       
      INSTREAM_NON_SKIPPABLE = 5;
      See Also:
    • INFEED_VALUE

      public static final int INFEED_VALUE
       In-feed YouTube or image ads served on feed surfaces (e.g. Discover Feed,
       YouTube Home, etc.).
       
      INFEED = 6;
      See Also:
    • BUMPER_VALUE

      public static final int BUMPER_VALUE
       Short (<7 secs) in-stream non-skippable YouTube ads.
       
      BUMPER = 7;
      See Also:
    • OUTSTREAM_VALUE

      public static final int OUTSTREAM_VALUE
       Outstream ads.
       
      OUTSTREAM = 8;
      See Also:
    • MASTHEAD_VALUE

      public static final int MASTHEAD_VALUE
       Masthead ads.
       
      MASTHEAD = 9;
      See Also:
    • AUDIO_VALUE

      public static final int AUDIO_VALUE
       Audio ads.
       
      AUDIO = 10;
      See Also:
    • SHORTS_VALUE

      public static final int SHORTS_VALUE
       Vertical full-screen video or image ads served on YouTube Shorts or
       BrandConnect ads served as organic YouTube Shorts.
       
      SHORTS = 11;
      See Also:
  • Method Details

    • values

      public static AdFormatTypeEnum.AdFormatType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AdFormatTypeEnum.AdFormatType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 AdFormatTypeEnum.AdFormatType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static AdFormatTypeEnum.AdFormatType 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<AdFormatTypeEnum.AdFormatType> internalGetValueMap()
    • 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 AdFormatTypeEnum.AdFormatType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null