Enum Class DisplayUploadProductTypeEnum.DisplayUploadProductType
java.lang.Object
java.lang.Enum<DisplayUploadProductTypeEnum.DisplayUploadProductType>
com.google.ads.googleads.v18.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DisplayUploadProductTypeEnum.DisplayUploadProductType>,Constable
- Enclosing class:
- DisplayUploadProductTypeEnum
public static enum DisplayUploadProductTypeEnum.DisplayUploadProductType
extends Enum<DisplayUploadProductTypeEnum.DisplayUploadProductType>
implements com.google.protobuf.ProtocolMessageEnum
Enumerates display upload product types.Protobuf enum
google.ads.googleads.v18.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDynamic HTML5 custom ad.Dynamic HTML5 education ad.Dynamic HTML5 flight ad.Dynamic HTML5 hotel ad.Dynamic HTML5 hotel and rental ad.Dynamic HTML5 job ad.Dynamic HTML5 local ad.Dynamic HTML5 real estate ad.Dynamic HTML5 travel ad.HTML5 upload ad.The value is unknown in this version.Not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDynamic HTML5 custom ad.static final intDynamic HTML5 education ad.static final intDynamic HTML5 flight ad.static final intDynamic HTML5 hotel ad.static final intDynamic HTML5 hotel and rental ad.static final intDynamic HTML5 job ad.static final intDynamic HTML5 local ad.static final intDynamic HTML5 real estate ad.static final intDynamic HTML5 travel ad.static final intHTML5 upload ad.static final intThe value is unknown in this version.static final intNot 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<DisplayUploadProductTypeEnum.DisplayUploadProductType>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.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Not specified.
UNSPECIFIED = 0; -
UNKNOWN
The value is unknown in this version.
UNKNOWN = 1; -
HTML5_UPLOAD_AD
HTML5 upload ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set.
HTML5_UPLOAD_AD = 2; -
DYNAMIC_HTML5_EDUCATION_AD
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType DYNAMIC_HTML5_EDUCATION_ADDynamic HTML5 education ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in an education campaign.
DYNAMIC_HTML5_EDUCATION_AD = 3; -
DYNAMIC_HTML5_FLIGHT_AD
Dynamic HTML5 flight ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a flight campaign.
DYNAMIC_HTML5_FLIGHT_AD = 4; -
DYNAMIC_HTML5_HOTEL_RENTAL_AD
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType DYNAMIC_HTML5_HOTEL_RENTAL_ADDynamic HTML5 hotel and rental ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a hotel campaign.
DYNAMIC_HTML5_HOTEL_RENTAL_AD = 5; -
DYNAMIC_HTML5_JOB_AD
Dynamic HTML5 job ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a job campaign.
DYNAMIC_HTML5_JOB_AD = 6; -
DYNAMIC_HTML5_LOCAL_AD
Dynamic HTML5 local ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a local campaign.
DYNAMIC_HTML5_LOCAL_AD = 7; -
DYNAMIC_HTML5_REAL_ESTATE_AD
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType DYNAMIC_HTML5_REAL_ESTATE_ADDynamic HTML5 real estate ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a real estate campaign.
DYNAMIC_HTML5_REAL_ESTATE_AD = 8; -
DYNAMIC_HTML5_CUSTOM_AD
Dynamic HTML5 custom ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a custom campaign.
DYNAMIC_HTML5_CUSTOM_AD = 9; -
DYNAMIC_HTML5_TRAVEL_AD
Dynamic HTML5 travel ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a travel campaign.
DYNAMIC_HTML5_TRAVEL_AD = 10; -
DYNAMIC_HTML5_HOTEL_AD
Dynamic HTML5 hotel ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a hotel campaign.
DYNAMIC_HTML5_HOTEL_AD = 11; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENot specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe value is unknown in this version.
UNKNOWN = 1;- See Also:
-
HTML5_UPLOAD_AD_VALUE
public static final int HTML5_UPLOAD_AD_VALUEHTML5 upload ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set.
HTML5_UPLOAD_AD = 2;- See Also:
-
DYNAMIC_HTML5_EDUCATION_AD_VALUE
public static final int DYNAMIC_HTML5_EDUCATION_AD_VALUEDynamic HTML5 education ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in an education campaign.
DYNAMIC_HTML5_EDUCATION_AD = 3;- See Also:
-
DYNAMIC_HTML5_FLIGHT_AD_VALUE
public static final int DYNAMIC_HTML5_FLIGHT_AD_VALUEDynamic HTML5 flight ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a flight campaign.
DYNAMIC_HTML5_FLIGHT_AD = 4;- See Also:
-
DYNAMIC_HTML5_HOTEL_RENTAL_AD_VALUE
public static final int DYNAMIC_HTML5_HOTEL_RENTAL_AD_VALUEDynamic HTML5 hotel and rental ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a hotel campaign.
DYNAMIC_HTML5_HOTEL_RENTAL_AD = 5;- See Also:
-
DYNAMIC_HTML5_JOB_AD_VALUE
public static final int DYNAMIC_HTML5_JOB_AD_VALUEDynamic HTML5 job ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a job campaign.
DYNAMIC_HTML5_JOB_AD = 6;- See Also:
-
DYNAMIC_HTML5_LOCAL_AD_VALUE
public static final int DYNAMIC_HTML5_LOCAL_AD_VALUEDynamic HTML5 local ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a local campaign.
DYNAMIC_HTML5_LOCAL_AD = 7;- See Also:
-
DYNAMIC_HTML5_REAL_ESTATE_AD_VALUE
public static final int DYNAMIC_HTML5_REAL_ESTATE_AD_VALUEDynamic HTML5 real estate ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a real estate campaign.
DYNAMIC_HTML5_REAL_ESTATE_AD = 8;- See Also:
-
DYNAMIC_HTML5_CUSTOM_AD_VALUE
public static final int DYNAMIC_HTML5_CUSTOM_AD_VALUEDynamic HTML5 custom ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a custom campaign.
DYNAMIC_HTML5_CUSTOM_AD = 9;- See Also:
-
DYNAMIC_HTML5_TRAVEL_AD_VALUE
public static final int DYNAMIC_HTML5_TRAVEL_AD_VALUEDynamic HTML5 travel ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a travel campaign.
DYNAMIC_HTML5_TRAVEL_AD = 10;- See Also:
-
DYNAMIC_HTML5_HOTEL_AD_VALUE
public static final int DYNAMIC_HTML5_HOTEL_AD_VALUEDynamic HTML5 hotel ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be used in a hotel campaign.
DYNAMIC_HTML5_HOTEL_AD = 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<DisplayUploadProductTypeEnum.DisplayUploadProductType> 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 DisplayUploadProductTypeEnum.DisplayUploadProductType 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
-