Enum DisplayUploadProductTypeEnum.DisplayUploadProductType

    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        java.lang.NullPointerException - if the argument is null
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        java.lang.NullPointerException - if the argument is null