Enum DisplayUploadProductTypeEnum.DisplayUploadProductType
- java.lang.Object
-
- java.lang.Enum<DisplayUploadProductTypeEnum.DisplayUploadProductType>
-
- com.google.ads.googleads.v10.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<DisplayUploadProductTypeEnum.DisplayUploadProductType>
- Enclosing class:
- DisplayUploadProductTypeEnum
public static enum DisplayUploadProductTypeEnum.DisplayUploadProductType extends java.lang.Enum<DisplayUploadProductTypeEnum.DisplayUploadProductType> implements com.google.protobuf.ProtocolMessageEnum
Enumerates display upload product types.
Protobuf enumgoogle.ads.googleads.v10.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DYNAMIC_HTML5_CUSTOM_ADDynamic HTML5 custom ad.DYNAMIC_HTML5_EDUCATION_ADDynamic HTML5 education ad.DYNAMIC_HTML5_FLIGHT_ADDynamic HTML5 flight ad.DYNAMIC_HTML5_HOTEL_ADDynamic HTML5 hotel ad.DYNAMIC_HTML5_HOTEL_RENTAL_ADDynamic HTML5 hotel and rental ad.DYNAMIC_HTML5_JOB_ADDynamic HTML5 job ad.DYNAMIC_HTML5_LOCAL_ADDynamic HTML5 local ad.DYNAMIC_HTML5_REAL_ESTATE_ADDynamic HTML5 real estate ad.DYNAMIC_HTML5_TRAVEL_ADDynamic HTML5 travel ad.HTML5_UPLOAD_ADHTML5 upload ad.UNKNOWNThe value is unknown in this version.UNRECOGNIZEDUNSPECIFIEDNot specified.
-
Field Summary
Fields Modifier and Type Field Description static intDYNAMIC_HTML5_CUSTOM_AD_VALUEDynamic HTML5 custom ad.static intDYNAMIC_HTML5_EDUCATION_AD_VALUEDynamic HTML5 education ad.static intDYNAMIC_HTML5_FLIGHT_AD_VALUEDynamic HTML5 flight ad.static intDYNAMIC_HTML5_HOTEL_AD_VALUEDynamic HTML5 hotel ad.static intDYNAMIC_HTML5_HOTEL_RENTAL_AD_VALUEDynamic HTML5 hotel and rental ad.static intDYNAMIC_HTML5_JOB_AD_VALUEDynamic HTML5 job ad.static intDYNAMIC_HTML5_LOCAL_AD_VALUEDynamic HTML5 local ad.static intDYNAMIC_HTML5_REAL_ESTATE_AD_VALUEDynamic HTML5 real estate ad.static intDYNAMIC_HTML5_TRAVEL_AD_VALUEDynamic HTML5 travel ad.static intHTML5_UPLOAD_AD_VALUEHTML5 upload ad.static intUNKNOWN_VALUEThe value is unknown in this version.static intUNSPECIFIED_VALUENot specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DisplayUploadProductTypeEnum.DisplayUploadProductTypeforNumber(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<DisplayUploadProductTypeEnum.DisplayUploadProductType>internalGetValueMap()static DisplayUploadProductTypeEnum.DisplayUploadProductTypevalueOf(int value)Deprecated.static DisplayUploadProductTypeEnum.DisplayUploadProductTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static DisplayUploadProductTypeEnum.DisplayUploadProductTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DisplayUploadProductTypeEnum.DisplayUploadProductType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType UNKNOWN
The value is unknown in this version.
UNKNOWN = 1;
-
HTML5_UPLOAD_AD
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType 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_AD
Dynamic 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
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType 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_AD
Dynamic 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
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType 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
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType 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_AD
Dynamic 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
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType 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
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType 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
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType 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
public static final DisplayUploadProductTypeEnum.DisplayUploadProductType UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Not specified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The value is unknown in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
HTML5_UPLOAD_AD_VALUE
public static final int HTML5_UPLOAD_AD_VALUE
HTML5 upload ad. This product type requires the upload_media_bundle field in DisplayUploadAdInfo to be set.
HTML5_UPLOAD_AD = 2;- See Also:
- Constant Field Values
-
DYNAMIC_HTML5_EDUCATION_AD_VALUE
public static final int DYNAMIC_HTML5_EDUCATION_AD_VALUE
Dynamic 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:
- Constant Field Values
-
DYNAMIC_HTML5_FLIGHT_AD_VALUE
public static final int DYNAMIC_HTML5_FLIGHT_AD_VALUE
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;- See Also:
- Constant Field Values
-
DYNAMIC_HTML5_HOTEL_RENTAL_AD_VALUE
public static final int DYNAMIC_HTML5_HOTEL_RENTAL_AD_VALUE
Dynamic 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:
- Constant Field Values
-
DYNAMIC_HTML5_JOB_AD_VALUE
public static final int DYNAMIC_HTML5_JOB_AD_VALUE
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;- See Also:
- Constant Field Values
-
DYNAMIC_HTML5_LOCAL_AD_VALUE
public static final int DYNAMIC_HTML5_LOCAL_AD_VALUE
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;- See Also:
- Constant Field Values
-
DYNAMIC_HTML5_REAL_ESTATE_AD_VALUE
public static final int DYNAMIC_HTML5_REAL_ESTATE_AD_VALUE
Dynamic 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:
- Constant Field Values
-
DYNAMIC_HTML5_CUSTOM_AD_VALUE
public static final int DYNAMIC_HTML5_CUSTOM_AD_VALUE
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;- See Also:
- Constant Field Values
-
DYNAMIC_HTML5_TRAVEL_AD_VALUE
public static final int DYNAMIC_HTML5_TRAVEL_AD_VALUE
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;- See Also:
- Constant Field Values
-
DYNAMIC_HTML5_HOTEL_AD_VALUE
public static final int DYNAMIC_HTML5_HOTEL_AD_VALUE
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;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static DisplayUploadProductTypeEnum.DisplayUploadProductType[] 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 (DisplayUploadProductTypeEnum.DisplayUploadProductType c : DisplayUploadProductTypeEnum.DisplayUploadProductType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DisplayUploadProductTypeEnum.DisplayUploadProductType 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 DisplayUploadProductTypeEnum.DisplayUploadProductType 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 DisplayUploadProductTypeEnum.DisplayUploadProductType 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<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 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
-
-