Enum 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 enum google.ads.googleads.v10.enums.AdTypeEnum.AdType
    • 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;
      • 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;
    • 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 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 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 name
        java.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:
        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 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 name
        java.lang.NullPointerException - if the argument is null