Enum Class AdTypeEnum.AdType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AdTypeEnum.AdType>,Constable
- Enclosing class:
- AdTypeEnum
public static enum AdTypeEnum.AdType
extends Enum<AdTypeEnum.AdType>
implements com.google.protobuf.ProtocolMessageEnum
The possible types of an ad.Protobuf enum
google.ads.googleads.v18.enums.AdTypeEnum.AdType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe ad is an app ad.The ad is an app engagement ad.Universal app pre-registration ad.Call ad.Demand Gen carousel ad.Demand Gen multi asset ad.Demand Gen product ad.Demand Gen video responsive ad.The ad is a display upload ad with one of the DYNAMIC_HTML5_* product types.The ad is an expanded dynamic search ad.The ad is an expanded text ad.The ad is a hotel ad.The ad is a display upload ad with the HTML5_UPLOAD_AD product type.This ad is an Image ad.In-feed video ad.The ad is a legacy app install ad.The ad is a legacy responsive display ad.The ad is a local ad.The ad is a responsive display ad.The ad is a responsive search ad.The ad is a Shopping Comparison Listing ad.The ad is a standard Shopping ad.The ad is a Smart Shopping ad.Smart campaign ad.The ad is a text ad.Travel ad.The received value is not known in this version.No value has been specified.The ad is a video ad.Video bumper ad.Video non-skippable in-stream ad.Video outstream ad.Video responsive ad.Video TrueView in-stream ad. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe ad is an app ad.static final intThe ad is an app engagement ad.static final intUniversal app pre-registration ad.static final intCall ad.static final intDemand Gen carousel ad.static final intDemand Gen multi asset ad.static final intDemand Gen product ad.static final intDemand Gen video responsive ad.static final intThe ad is a display upload ad with one of the DYNAMIC_HTML5_* product types.static final intThe ad is an expanded dynamic search ad.static final intThe ad is an expanded text ad.static final intThe ad is a hotel ad.static final intThe ad is a display upload ad with the HTML5_UPLOAD_AD product type.static final intThis ad is an Image ad.static final intIn-feed video ad.static final intThe ad is a legacy app install ad.static final intThe ad is a legacy responsive display ad.static final intThe ad is a local ad.static final intThe ad is a responsive display ad.static final intThe ad is a responsive search ad.static final intThe ad is a Shopping Comparison Listing ad.static final intThe ad is a standard Shopping ad.static final intThe ad is a Smart Shopping ad.static final intSmart campaign ad.static final intThe ad is a text ad.static final intTravel ad.static final intThe received value is not known in this version.static final intNo value has been specified.static final intThe ad is a video ad.static final intVideo bumper ad.static final intVideo non-skippable in-stream ad.static final intVideo outstream ad.static final intVideo responsive ad.static final intVideo TrueView in-stream ad. -
Method Summary
Modifier and TypeMethodDescriptionstatic AdTypeEnum.AdTypeforNumber(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<AdTypeEnum.AdType>static AdTypeEnum.AdTypevalueOf(int value) Deprecated.static AdTypeEnum.AdTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static AdTypeEnum.AdTypeReturns the enum constant of this class with the specified name.static AdTypeEnum.AdType[]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
The received value is not known in this version. This is a response-only value.
UNKNOWN = 1; -
TEXT_AD
The ad is a text ad.
TEXT_AD = 2; -
EXPANDED_TEXT_AD
The ad is an expanded text ad.
EXPANDED_TEXT_AD = 3; -
EXPANDED_DYNAMIC_SEARCH_AD
The ad is an expanded dynamic search ad.
EXPANDED_DYNAMIC_SEARCH_AD = 7; -
HOTEL_AD
The ad is a hotel ad.
HOTEL_AD = 8; -
SHOPPING_SMART_AD
The ad is a Smart Shopping ad.
SHOPPING_SMART_AD = 9; -
SHOPPING_PRODUCT_AD
The ad is a standard Shopping ad.
SHOPPING_PRODUCT_AD = 10; -
VIDEO_AD
The ad is a video ad.
VIDEO_AD = 12; -
IMAGE_AD
This ad is an Image ad.
IMAGE_AD = 14; -
RESPONSIVE_SEARCH_AD
The ad is a responsive search ad.
RESPONSIVE_SEARCH_AD = 15; -
LEGACY_RESPONSIVE_DISPLAY_AD
The ad is a legacy responsive display ad.
LEGACY_RESPONSIVE_DISPLAY_AD = 16; -
APP_AD
The ad is an app ad.
APP_AD = 17; -
LEGACY_APP_INSTALL_AD
The ad is a legacy app install ad.
LEGACY_APP_INSTALL_AD = 18; -
RESPONSIVE_DISPLAY_AD
The ad is a responsive display ad.
RESPONSIVE_DISPLAY_AD = 19; -
LOCAL_AD
The ad is a local ad.
LOCAL_AD = 20; -
HTML5_UPLOAD_AD
The ad is a display upload ad with the HTML5_UPLOAD_AD product type.
HTML5_UPLOAD_AD = 21; -
DYNAMIC_HTML5_AD
The ad is a display upload ad with one of the DYNAMIC_HTML5_* product types.
DYNAMIC_HTML5_AD = 22; -
APP_ENGAGEMENT_AD
The ad is an app engagement ad.
APP_ENGAGEMENT_AD = 23; -
SHOPPING_COMPARISON_LISTING_AD
The ad is a Shopping Comparison Listing ad.
SHOPPING_COMPARISON_LISTING_AD = 24; -
VIDEO_BUMPER_AD
Video bumper ad.
VIDEO_BUMPER_AD = 25; -
VIDEO_NON_SKIPPABLE_IN_STREAM_AD
Video non-skippable in-stream ad.
VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 26; -
VIDEO_OUTSTREAM_AD
Video outstream ad.
VIDEO_OUTSTREAM_AD = 27; -
VIDEO_TRUEVIEW_IN_STREAM_AD
Video TrueView in-stream ad.
VIDEO_TRUEVIEW_IN_STREAM_AD = 29; -
VIDEO_RESPONSIVE_AD
Video responsive ad.
VIDEO_RESPONSIVE_AD = 30; -
SMART_CAMPAIGN_AD
Smart campaign ad.
SMART_CAMPAIGN_AD = 31; -
CALL_AD
Call ad.
CALL_AD = 32; -
APP_PRE_REGISTRATION_AD
Universal app pre-registration ad.
APP_PRE_REGISTRATION_AD = 33; -
IN_FEED_VIDEO_AD
In-feed video ad.
IN_FEED_VIDEO_AD = 34; -
DEMAND_GEN_MULTI_ASSET_AD
Demand Gen multi asset ad.
DEMAND_GEN_MULTI_ASSET_AD = 40; -
DEMAND_GEN_CAROUSEL_AD
Demand Gen carousel ad.
DEMAND_GEN_CAROUSEL_AD = 41; -
TRAVEL_AD
Travel ad.
TRAVEL_AD = 37; -
DEMAND_GEN_VIDEO_RESPONSIVE_AD
Demand Gen video responsive ad.
DEMAND_GEN_VIDEO_RESPONSIVE_AD = 42; -
DEMAND_GEN_PRODUCT_AD
Demand Gen product ad.
DEMAND_GEN_PRODUCT_AD = 39; -
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_VALUEThe received value is not known in this version. This is a response-only value.
UNKNOWN = 1;- See Also:
-
TEXT_AD_VALUE
public static final int TEXT_AD_VALUEThe ad is a text ad.
TEXT_AD = 2;- See Also:
-
EXPANDED_TEXT_AD_VALUE
public static final int EXPANDED_TEXT_AD_VALUEThe ad is an expanded text ad.
EXPANDED_TEXT_AD = 3;- See Also:
-
EXPANDED_DYNAMIC_SEARCH_AD_VALUE
public static final int EXPANDED_DYNAMIC_SEARCH_AD_VALUEThe ad is an expanded dynamic search ad.
EXPANDED_DYNAMIC_SEARCH_AD = 7;- See Also:
-
HOTEL_AD_VALUE
public static final int HOTEL_AD_VALUEThe ad is a hotel ad.
HOTEL_AD = 8;- See Also:
-
SHOPPING_SMART_AD_VALUE
public static final int SHOPPING_SMART_AD_VALUEThe ad is a Smart Shopping ad.
SHOPPING_SMART_AD = 9;- See Also:
-
SHOPPING_PRODUCT_AD_VALUE
public static final int SHOPPING_PRODUCT_AD_VALUEThe ad is a standard Shopping ad.
SHOPPING_PRODUCT_AD = 10;- See Also:
-
VIDEO_AD_VALUE
public static final int VIDEO_AD_VALUEThe ad is a video ad.
VIDEO_AD = 12;- See Also:
-
IMAGE_AD_VALUE
public static final int IMAGE_AD_VALUEThis ad is an Image ad.
IMAGE_AD = 14;- See Also:
-
RESPONSIVE_SEARCH_AD_VALUE
public static final int RESPONSIVE_SEARCH_AD_VALUEThe ad is a responsive search ad.
RESPONSIVE_SEARCH_AD = 15;- See Also:
-
LEGACY_RESPONSIVE_DISPLAY_AD_VALUE
public static final int LEGACY_RESPONSIVE_DISPLAY_AD_VALUEThe ad is a legacy responsive display ad.
LEGACY_RESPONSIVE_DISPLAY_AD = 16;- See Also:
-
APP_AD_VALUE
public static final int APP_AD_VALUEThe ad is an app ad.
APP_AD = 17;- See Also:
-
LEGACY_APP_INSTALL_AD_VALUE
public static final int LEGACY_APP_INSTALL_AD_VALUEThe ad is a legacy app install ad.
LEGACY_APP_INSTALL_AD = 18;- See Also:
-
RESPONSIVE_DISPLAY_AD_VALUE
public static final int RESPONSIVE_DISPLAY_AD_VALUEThe ad is a responsive display ad.
RESPONSIVE_DISPLAY_AD = 19;- See Also:
-
LOCAL_AD_VALUE
public static final int LOCAL_AD_VALUEThe ad is a local ad.
LOCAL_AD = 20;- See Also:
-
HTML5_UPLOAD_AD_VALUE
public static final int HTML5_UPLOAD_AD_VALUEThe ad is a display upload ad with the HTML5_UPLOAD_AD product type.
HTML5_UPLOAD_AD = 21;- See Also:
-
DYNAMIC_HTML5_AD_VALUE
public static final int DYNAMIC_HTML5_AD_VALUEThe ad is a display upload ad with one of the DYNAMIC_HTML5_* product types.
DYNAMIC_HTML5_AD = 22;- See Also:
-
APP_ENGAGEMENT_AD_VALUE
public static final int APP_ENGAGEMENT_AD_VALUEThe ad is an app engagement ad.
APP_ENGAGEMENT_AD = 23;- See Also:
-
SHOPPING_COMPARISON_LISTING_AD_VALUE
public static final int SHOPPING_COMPARISON_LISTING_AD_VALUEThe ad is a Shopping Comparison Listing ad.
SHOPPING_COMPARISON_LISTING_AD = 24;- See Also:
-
VIDEO_BUMPER_AD_VALUE
public static final int VIDEO_BUMPER_AD_VALUEVideo bumper ad.
VIDEO_BUMPER_AD = 25;- See Also:
-
VIDEO_NON_SKIPPABLE_IN_STREAM_AD_VALUE
public static final int VIDEO_NON_SKIPPABLE_IN_STREAM_AD_VALUEVideo non-skippable in-stream ad.
VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 26;- See Also:
-
VIDEO_OUTSTREAM_AD_VALUE
public static final int VIDEO_OUTSTREAM_AD_VALUEVideo outstream ad.
VIDEO_OUTSTREAM_AD = 27;- See Also:
-
VIDEO_TRUEVIEW_IN_STREAM_AD_VALUE
public static final int VIDEO_TRUEVIEW_IN_STREAM_AD_VALUEVideo TrueView in-stream ad.
VIDEO_TRUEVIEW_IN_STREAM_AD = 29;- See Also:
-
VIDEO_RESPONSIVE_AD_VALUE
public static final int VIDEO_RESPONSIVE_AD_VALUEVideo responsive ad.
VIDEO_RESPONSIVE_AD = 30;- See Also:
-
SMART_CAMPAIGN_AD_VALUE
public static final int SMART_CAMPAIGN_AD_VALUESmart campaign ad.
SMART_CAMPAIGN_AD = 31;- See Also:
-
CALL_AD_VALUE
public static final int CALL_AD_VALUECall ad.
CALL_AD = 32;- See Also:
-
APP_PRE_REGISTRATION_AD_VALUE
public static final int APP_PRE_REGISTRATION_AD_VALUEUniversal app pre-registration ad.
APP_PRE_REGISTRATION_AD = 33;- See Also:
-
IN_FEED_VIDEO_AD_VALUE
public static final int IN_FEED_VIDEO_AD_VALUEIn-feed video ad.
IN_FEED_VIDEO_AD = 34;- See Also:
-
DEMAND_GEN_MULTI_ASSET_AD_VALUE
public static final int DEMAND_GEN_MULTI_ASSET_AD_VALUEDemand Gen multi asset ad.
DEMAND_GEN_MULTI_ASSET_AD = 40;- See Also:
-
DEMAND_GEN_CAROUSEL_AD_VALUE
public static final int DEMAND_GEN_CAROUSEL_AD_VALUEDemand Gen carousel ad.
DEMAND_GEN_CAROUSEL_AD = 41;- See Also:
-
TRAVEL_AD_VALUE
public static final int TRAVEL_AD_VALUETravel ad.
TRAVEL_AD = 37;- See Also:
-
DEMAND_GEN_VIDEO_RESPONSIVE_AD_VALUE
public static final int DEMAND_GEN_VIDEO_RESPONSIVE_AD_VALUEDemand Gen video responsive ad.
DEMAND_GEN_VIDEO_RESPONSIVE_AD = 42;- See Also:
-
DEMAND_GEN_PRODUCT_AD_VALUE
public static final int DEMAND_GEN_PRODUCT_AD_VALUEDemand Gen product ad.
DEMAND_GEN_PRODUCT_AD = 39;- 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
-
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
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
-