Enum AdTypeEnum.AdType
- java.lang.Object
-
- java.lang.Enum<AdTypeEnum.AdType>
-
- com.google.ads.googleads.v10.enums.AdTypeEnum.AdType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<AdTypeEnum.AdType>
- Enclosing class:
- AdTypeEnum
public static enum AdTypeEnum.AdType extends java.lang.Enum<AdTypeEnum.AdType> implements com.google.protobuf.ProtocolMessageEnum
The possible types of an ad.
Protobuf enumgoogle.ads.googleads.v10.enums.AdTypeEnum.AdType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APP_ADThe ad is an app ad.APP_ENGAGEMENT_ADThe ad is an app engagement ad.APP_PRE_REGISTRATION_ADUniversal app pre-registration ad.CALL_ADCall ad.DYNAMIC_HTML5_ADThe ad is a display upload ad with one of the DYNAMIC_HTML5_* product types.EXPANDED_DYNAMIC_SEARCH_ADThe ad is an expanded dynamic search ad.EXPANDED_TEXT_ADThe ad is an expanded text ad.GMAIL_ADThis ad is a Gmail ad.HOTEL_ADThe ad is a hotel ad.HTML5_UPLOAD_ADThe ad is a display upload ad with the HTML5_UPLOAD_AD product type.IMAGE_ADThis ad is an Image ad.IN_FEED_VIDEO_ADIn-feed video ad.LEGACY_APP_INSTALL_ADThe ad is a legacy app install ad.LEGACY_RESPONSIVE_DISPLAY_ADThe ad is a legacy responsive display ad.LOCAL_ADThe ad is a local ad.RESPONSIVE_DISPLAY_ADThe ad is a responsive display ad.RESPONSIVE_SEARCH_ADThe ad is a responsive search ad.SHOPPING_COMPARISON_LISTING_ADThe ad is a Shopping Comparison Listing ad.SHOPPING_PRODUCT_ADThe ad is a standard Shopping ad.SHOPPING_SMART_ADThe ad is a Smart Shopping ad.SMART_CAMPAIGN_ADSmart campaign ad.TEXT_ADThe ad is a text ad.UNKNOWNThe received value is not known in this version.UNRECOGNIZEDUNSPECIFIEDNo value has been specified.VIDEO_ADThe ad is a video ad.VIDEO_BUMPER_ADVideo bumper ad.VIDEO_NON_SKIPPABLE_IN_STREAM_ADVideo non-skippable in-stream ad.VIDEO_OUTSTREAM_ADVideo outstream ad.VIDEO_RESPONSIVE_ADVideo responsive ad.VIDEO_TRUEVIEW_IN_STREAM_ADVideo TrueView in-stream ad.
-
Field Summary
Fields Modifier and Type Field Description static intAPP_AD_VALUEThe ad is an app ad.static intAPP_ENGAGEMENT_AD_VALUEThe ad is an app engagement ad.static intAPP_PRE_REGISTRATION_AD_VALUEUniversal app pre-registration ad.static intCALL_AD_VALUECall ad.static intDYNAMIC_HTML5_AD_VALUEThe ad is a display upload ad with one of the DYNAMIC_HTML5_* product types.static intEXPANDED_DYNAMIC_SEARCH_AD_VALUEThe ad is an expanded dynamic search ad.static intEXPANDED_TEXT_AD_VALUEThe ad is an expanded text ad.static intGMAIL_AD_VALUEThis ad is a Gmail ad.static intHOTEL_AD_VALUEThe ad is a hotel ad.static intHTML5_UPLOAD_AD_VALUEThe ad is a display upload ad with the HTML5_UPLOAD_AD product type.static intIMAGE_AD_VALUEThis ad is an Image ad.static intIN_FEED_VIDEO_AD_VALUEIn-feed video ad.static intLEGACY_APP_INSTALL_AD_VALUEThe ad is a legacy app install ad.static intLEGACY_RESPONSIVE_DISPLAY_AD_VALUEThe ad is a legacy responsive display ad.static intLOCAL_AD_VALUEThe ad is a local ad.static intRESPONSIVE_DISPLAY_AD_VALUEThe ad is a responsive display ad.static intRESPONSIVE_SEARCH_AD_VALUEThe ad is a responsive search ad.static intSHOPPING_COMPARISON_LISTING_AD_VALUEThe ad is a Shopping Comparison Listing ad.static intSHOPPING_PRODUCT_AD_VALUEThe ad is a standard Shopping ad.static intSHOPPING_SMART_AD_VALUEThe ad is a Smart Shopping ad.static intSMART_CAMPAIGN_AD_VALUESmart campaign ad.static intTEXT_AD_VALUEThe ad is a text ad.static intUNKNOWN_VALUEThe received value is not known in this version.static intUNSPECIFIED_VALUENo value has been specified.static intVIDEO_AD_VALUEThe ad is a video ad.static intVIDEO_BUMPER_AD_VALUEVideo bumper ad.static intVIDEO_NON_SKIPPABLE_IN_STREAM_AD_VALUEVideo non-skippable in-stream ad.static intVIDEO_OUTSTREAM_AD_VALUEVideo outstream ad.static intVIDEO_RESPONSIVE_AD_VALUEVideo responsive ad.static intVIDEO_TRUEVIEW_IN_STREAM_AD_VALUEVideo TrueView in-stream ad.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AdTypeEnum.AdTypeforNumber(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<AdTypeEnum.AdType>internalGetValueMap()static AdTypeEnum.AdTypevalueOf(int value)Deprecated.static AdTypeEnum.AdTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AdTypeEnum.AdTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AdTypeEnum.AdType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final AdTypeEnum.AdType UNSPECIFIED
No value has been specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final AdTypeEnum.AdType UNKNOWN
The received value is not known in this version. This is a response-only value.
UNKNOWN = 1;
-
TEXT_AD
public static final AdTypeEnum.AdType TEXT_AD
The ad is a text ad.
TEXT_AD = 2;
-
EXPANDED_TEXT_AD
public static final AdTypeEnum.AdType EXPANDED_TEXT_AD
The ad is an expanded text ad.
EXPANDED_TEXT_AD = 3;
-
EXPANDED_DYNAMIC_SEARCH_AD
public static final AdTypeEnum.AdType EXPANDED_DYNAMIC_SEARCH_AD
The ad is an expanded dynamic search ad.
EXPANDED_DYNAMIC_SEARCH_AD = 7;
-
HOTEL_AD
public static final AdTypeEnum.AdType HOTEL_AD
The ad is a hotel ad.
HOTEL_AD = 8;
-
SHOPPING_SMART_AD
public static final AdTypeEnum.AdType SHOPPING_SMART_AD
The ad is a Smart Shopping ad.
SHOPPING_SMART_AD = 9;
-
SHOPPING_PRODUCT_AD
public static final AdTypeEnum.AdType SHOPPING_PRODUCT_AD
The ad is a standard Shopping ad.
SHOPPING_PRODUCT_AD = 10;
-
VIDEO_AD
public static final AdTypeEnum.AdType VIDEO_AD
The ad is a video ad.
VIDEO_AD = 12;
-
GMAIL_AD
public static final AdTypeEnum.AdType GMAIL_AD
This ad is a Gmail ad.
GMAIL_AD = 13;
-
IMAGE_AD
public static final AdTypeEnum.AdType IMAGE_AD
This ad is an Image ad.
IMAGE_AD = 14;
-
RESPONSIVE_SEARCH_AD
public static final AdTypeEnum.AdType RESPONSIVE_SEARCH_AD
The ad is a responsive search ad.
RESPONSIVE_SEARCH_AD = 15;
-
LEGACY_RESPONSIVE_DISPLAY_AD
public static final AdTypeEnum.AdType LEGACY_RESPONSIVE_DISPLAY_AD
The ad is a legacy responsive display ad.
LEGACY_RESPONSIVE_DISPLAY_AD = 16;
-
APP_AD
public static final AdTypeEnum.AdType APP_AD
The ad is an app ad.
APP_AD = 17;
-
LEGACY_APP_INSTALL_AD
public static final AdTypeEnum.AdType LEGACY_APP_INSTALL_AD
The ad is a legacy app install ad.
LEGACY_APP_INSTALL_AD = 18;
-
RESPONSIVE_DISPLAY_AD
public static final AdTypeEnum.AdType RESPONSIVE_DISPLAY_AD
The ad is a responsive display ad.
RESPONSIVE_DISPLAY_AD = 19;
-
LOCAL_AD
public static final AdTypeEnum.AdType LOCAL_AD
The ad is a local ad.
LOCAL_AD = 20;
-
HTML5_UPLOAD_AD
public static final AdTypeEnum.AdType HTML5_UPLOAD_AD
The ad is a display upload ad with the HTML5_UPLOAD_AD product type.
HTML5_UPLOAD_AD = 21;
-
DYNAMIC_HTML5_AD
public static final AdTypeEnum.AdType 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
public static final AdTypeEnum.AdType APP_ENGAGEMENT_AD
The ad is an app engagement ad.
APP_ENGAGEMENT_AD = 23;
-
SHOPPING_COMPARISON_LISTING_AD
public static final AdTypeEnum.AdType SHOPPING_COMPARISON_LISTING_AD
The ad is a Shopping Comparison Listing ad.
SHOPPING_COMPARISON_LISTING_AD = 24;
-
VIDEO_BUMPER_AD
public static final AdTypeEnum.AdType VIDEO_BUMPER_AD
Video bumper ad.
VIDEO_BUMPER_AD = 25;
-
VIDEO_NON_SKIPPABLE_IN_STREAM_AD
public static final AdTypeEnum.AdType VIDEO_NON_SKIPPABLE_IN_STREAM_AD
Video non-skippable in-stream ad.
VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 26;
-
VIDEO_OUTSTREAM_AD
public static final AdTypeEnum.AdType VIDEO_OUTSTREAM_AD
Video outstream ad.
VIDEO_OUTSTREAM_AD = 27;
-
VIDEO_TRUEVIEW_IN_STREAM_AD
public static final AdTypeEnum.AdType VIDEO_TRUEVIEW_IN_STREAM_AD
Video TrueView in-stream ad.
VIDEO_TRUEVIEW_IN_STREAM_AD = 29;
-
VIDEO_RESPONSIVE_AD
public static final AdTypeEnum.AdType VIDEO_RESPONSIVE_AD
Video responsive ad.
VIDEO_RESPONSIVE_AD = 30;
-
SMART_CAMPAIGN_AD
public static final AdTypeEnum.AdType SMART_CAMPAIGN_AD
Smart campaign ad.
SMART_CAMPAIGN_AD = 31;
-
CALL_AD
public static final AdTypeEnum.AdType CALL_AD
Call ad.
CALL_AD = 32;
-
APP_PRE_REGISTRATION_AD
public static final AdTypeEnum.AdType APP_PRE_REGISTRATION_AD
Universal app pre-registration ad.
APP_PRE_REGISTRATION_AD = 33;
-
IN_FEED_VIDEO_AD
public static final AdTypeEnum.AdType IN_FEED_VIDEO_AD
In-feed video ad.
IN_FEED_VIDEO_AD = 34;
-
UNRECOGNIZED
public static final AdTypeEnum.AdType UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
No value has been specified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received value is not known in this version. This is a response-only value.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
TEXT_AD_VALUE
public static final int TEXT_AD_VALUE
The ad is a text ad.
TEXT_AD = 2;- See Also:
- Constant Field Values
-
EXPANDED_TEXT_AD_VALUE
public static final int EXPANDED_TEXT_AD_VALUE
The ad is an expanded text ad.
EXPANDED_TEXT_AD = 3;- See Also:
- Constant Field Values
-
EXPANDED_DYNAMIC_SEARCH_AD_VALUE
public static final int EXPANDED_DYNAMIC_SEARCH_AD_VALUE
The ad is an expanded dynamic search ad.
EXPANDED_DYNAMIC_SEARCH_AD = 7;- See Also:
- Constant Field Values
-
HOTEL_AD_VALUE
public static final int HOTEL_AD_VALUE
The ad is a hotel ad.
HOTEL_AD = 8;- See Also:
- Constant Field Values
-
SHOPPING_SMART_AD_VALUE
public static final int SHOPPING_SMART_AD_VALUE
The ad is a Smart Shopping ad.
SHOPPING_SMART_AD = 9;- See Also:
- Constant Field Values
-
SHOPPING_PRODUCT_AD_VALUE
public static final int SHOPPING_PRODUCT_AD_VALUE
The ad is a standard Shopping ad.
SHOPPING_PRODUCT_AD = 10;- See Also:
- Constant Field Values
-
VIDEO_AD_VALUE
public static final int VIDEO_AD_VALUE
The ad is a video ad.
VIDEO_AD = 12;- See Also:
- Constant Field Values
-
GMAIL_AD_VALUE
public static final int GMAIL_AD_VALUE
This ad is a Gmail ad.
GMAIL_AD = 13;- See Also:
- Constant Field Values
-
IMAGE_AD_VALUE
public static final int IMAGE_AD_VALUE
This ad is an Image ad.
IMAGE_AD = 14;- See Also:
- Constant Field Values
-
RESPONSIVE_SEARCH_AD_VALUE
public static final int RESPONSIVE_SEARCH_AD_VALUE
The ad is a responsive search ad.
RESPONSIVE_SEARCH_AD = 15;- See Also:
- Constant Field Values
-
LEGACY_RESPONSIVE_DISPLAY_AD_VALUE
public static final int LEGACY_RESPONSIVE_DISPLAY_AD_VALUE
The ad is a legacy responsive display ad.
LEGACY_RESPONSIVE_DISPLAY_AD = 16;- See Also:
- Constant Field Values
-
APP_AD_VALUE
public static final int APP_AD_VALUE
The ad is an app ad.
APP_AD = 17;- See Also:
- Constant Field Values
-
LEGACY_APP_INSTALL_AD_VALUE
public static final int LEGACY_APP_INSTALL_AD_VALUE
The ad is a legacy app install ad.
LEGACY_APP_INSTALL_AD = 18;- See Also:
- Constant Field Values
-
RESPONSIVE_DISPLAY_AD_VALUE
public static final int RESPONSIVE_DISPLAY_AD_VALUE
The ad is a responsive display ad.
RESPONSIVE_DISPLAY_AD = 19;- See Also:
- Constant Field Values
-
LOCAL_AD_VALUE
public static final int LOCAL_AD_VALUE
The ad is a local ad.
LOCAL_AD = 20;- See Also:
- Constant Field Values
-
HTML5_UPLOAD_AD_VALUE
public static final int HTML5_UPLOAD_AD_VALUE
The ad is a display upload ad with the HTML5_UPLOAD_AD product type.
HTML5_UPLOAD_AD = 21;- See Also:
- Constant Field Values
-
DYNAMIC_HTML5_AD_VALUE
public static final int DYNAMIC_HTML5_AD_VALUE
The ad is a display upload ad with one of the DYNAMIC_HTML5_* product types.
DYNAMIC_HTML5_AD = 22;- See Also:
- Constant Field Values
-
APP_ENGAGEMENT_AD_VALUE
public static final int APP_ENGAGEMENT_AD_VALUE
The ad is an app engagement ad.
APP_ENGAGEMENT_AD = 23;- See Also:
- Constant Field Values
-
SHOPPING_COMPARISON_LISTING_AD_VALUE
public static final int SHOPPING_COMPARISON_LISTING_AD_VALUE
The ad is a Shopping Comparison Listing ad.
SHOPPING_COMPARISON_LISTING_AD = 24;- See Also:
- Constant Field Values
-
VIDEO_BUMPER_AD_VALUE
public static final int VIDEO_BUMPER_AD_VALUE
Video bumper ad.
VIDEO_BUMPER_AD = 25;- See Also:
- Constant Field Values
-
VIDEO_NON_SKIPPABLE_IN_STREAM_AD_VALUE
public static final int VIDEO_NON_SKIPPABLE_IN_STREAM_AD_VALUE
Video non-skippable in-stream ad.
VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 26;- See Also:
- Constant Field Values
-
VIDEO_OUTSTREAM_AD_VALUE
public static final int VIDEO_OUTSTREAM_AD_VALUE
Video outstream ad.
VIDEO_OUTSTREAM_AD = 27;- See Also:
- Constant Field Values
-
VIDEO_TRUEVIEW_IN_STREAM_AD_VALUE
public static final int VIDEO_TRUEVIEW_IN_STREAM_AD_VALUE
Video TrueView in-stream ad.
VIDEO_TRUEVIEW_IN_STREAM_AD = 29;- See Also:
- Constant Field Values
-
VIDEO_RESPONSIVE_AD_VALUE
public static final int VIDEO_RESPONSIVE_AD_VALUE
Video responsive ad.
VIDEO_RESPONSIVE_AD = 30;- See Also:
- Constant Field Values
-
SMART_CAMPAIGN_AD_VALUE
public static final int SMART_CAMPAIGN_AD_VALUE
Smart campaign ad.
SMART_CAMPAIGN_AD = 31;- See Also:
- Constant Field Values
-
CALL_AD_VALUE
public static final int CALL_AD_VALUE
Call ad.
CALL_AD = 32;- See Also:
- Constant Field Values
-
APP_PRE_REGISTRATION_AD_VALUE
public static final int APP_PRE_REGISTRATION_AD_VALUE
Universal app pre-registration ad.
APP_PRE_REGISTRATION_AD = 33;- See Also:
- Constant Field Values
-
IN_FEED_VIDEO_AD_VALUE
public static final int IN_FEED_VIDEO_AD_VALUE
In-feed video ad.
IN_FEED_VIDEO_AD = 34;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AdTypeEnum.AdType[] 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 (AdTypeEnum.AdType c : AdTypeEnum.AdType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdTypeEnum.AdType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 AdTypeEnum.AdType 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static AdTypeEnum.AdType 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<AdTypeEnum.AdType> 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 AdTypeEnum.AdType 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-