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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAudio ads.Short (<7 secs) in-stream non-skippable YouTube ads.In-feed YouTube or image ads served on feed surfaces (e.g.Non-skippable in-stream ads.Skippable in-stream ads.Masthead ads.Value assigned to formats (such as experimental formats) which don't support format segmentation in Video and Demand Gen campaigns.Outstream ads.Vertical full-screen video or image ads served on YouTube Shorts or BrandConnect ads served as organic YouTube Shorts.Used for return value only.Value assigned for Video TrueView for Action campaigns statistics.No value has been specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAudio ads.static final intShort (<7 secs) in-stream non-skippable YouTube ads.static final intIn-feed YouTube or image ads served on feed surfaces (e.g.static final intNon-skippable in-stream ads.static final intSkippable in-stream ads.static final intMasthead ads.static final intValue assigned to formats (such as experimental formats) which don't support format segmentation in Video and Demand Gen campaigns.static final intOutstream ads.static final intVertical full-screen video or image ads served on YouTube Shorts or BrandConnect ads served as organic YouTube Shorts.static final intUsed for return value only.static final intValue assigned for Video TrueView for Action campaigns statistics.static final intNo value has been specified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AdFormatTypeEnum.AdFormatType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static AdFormatTypeEnum.AdFormatType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
No value has been specified.
UNSPECIFIED = 0; -
UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1; -
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
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
Skippable in-stream ads.
INSTREAM_SKIPPABLE = 4; -
INSTREAM_NON_SKIPPABLE
Non-skippable in-stream ads.
INSTREAM_NON_SKIPPABLE = 5; -
INFEED
In-feed YouTube or image ads served on feed surfaces (e.g. Discover Feed, YouTube Home, etc.).
INFEED = 6; -
BUMPER
Short (<7 secs) in-stream non-skippable YouTube ads.
BUMPER = 7; -
OUTSTREAM
Outstream ads.
OUTSTREAM = 8; -
MASTHEAD
Masthead ads.
MASTHEAD = 9; -
AUDIO
Audio ads.
AUDIO = 10; -
SHORTS
Vertical full-screen video or image ads served on YouTube Shorts or BrandConnect ads served as organic YouTube Shorts.
SHORTS = 11; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENo value has been specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUsed for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
-
OTHER_VALUE
public static final int OTHER_VALUEValue 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_VALUEValue 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_VALUESkippable in-stream ads.
INSTREAM_SKIPPABLE = 4;- See Also:
-
INSTREAM_NON_SKIPPABLE_VALUE
public static final int INSTREAM_NON_SKIPPABLE_VALUENon-skippable in-stream ads.
INSTREAM_NON_SKIPPABLE = 5;- See Also:
-
INFEED_VALUE
public static final int INFEED_VALUEIn-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_VALUEShort (<7 secs) in-stream non-skippable YouTube ads.
BUMPER = 7;- See Also:
-
OUTSTREAM_VALUE
public static final int OUTSTREAM_VALUEOutstream ads.
OUTSTREAM = 8;- See Also:
-
MASTHEAD_VALUE
public static final int MASTHEAD_VALUEMasthead ads.
MASTHEAD = 9;- See Also:
-
AUDIO_VALUE
public static final int AUDIO_VALUEAudio ads.
AUDIO = 10;- See Also:
-
SHORTS_VALUE
public static final int SHORTS_VALUEVertical 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
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
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 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.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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
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 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 nameNullPointerException- if the argument is null
-