Enum Class AdTypeEnum.AdType

java.lang.Object
java.lang.Enum<AdTypeEnum.AdType>
com.google.ads.googleads.v18.enums.AdTypeEnum.AdType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AdTypeEnum.AdType>, Constable
Enclosing class:
AdTypeEnum

public static enum AdTypeEnum.AdType extends Enum<AdTypeEnum.AdType> implements com.google.protobuf.ProtocolMessageEnum
 The possible types of an ad.
 
Protobuf enum google.ads.googleads.v18.enums.AdTypeEnum.AdType
  • Enum Constant Details

    • 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;
    • 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;
    • DEMAND_GEN_MULTI_ASSET_AD

      public static final AdTypeEnum.AdType DEMAND_GEN_MULTI_ASSET_AD
       Demand Gen multi asset ad.
       
      DEMAND_GEN_MULTI_ASSET_AD = 40;
    • TRAVEL_AD

      public static final AdTypeEnum.AdType TRAVEL_AD
       Travel ad.
       
      TRAVEL_AD = 37;
    • DEMAND_GEN_VIDEO_RESPONSIVE_AD

      public static final AdTypeEnum.AdType DEMAND_GEN_VIDEO_RESPONSIVE_AD
       Demand Gen video responsive ad.
       
      DEMAND_GEN_VIDEO_RESPONSIVE_AD = 42;
    • DEMAND_GEN_PRODUCT_AD

      public static final AdTypeEnum.AdType DEMAND_GEN_PRODUCT_AD
       Demand Gen product ad.
       
      DEMAND_GEN_PRODUCT_AD = 39;
    • UNRECOGNIZED

      public static final AdTypeEnum.AdType UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       No value has been specified.
       
      UNSPECIFIED = 0;
      See Also:
    • 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:
    • TEXT_AD_VALUE

      public static final int TEXT_AD_VALUE
       The ad is a text ad.
       
      TEXT_AD = 2;
      See Also:
    • 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:
    • 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:
    • HOTEL_AD_VALUE

      public static final int HOTEL_AD_VALUE
       The ad is a hotel ad.
       
      HOTEL_AD = 8;
      See Also:
    • 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:
    • 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:
    • VIDEO_AD_VALUE

      public static final int VIDEO_AD_VALUE
       The ad is a video ad.
       
      VIDEO_AD = 12;
      See Also:
    • IMAGE_AD_VALUE

      public static final int IMAGE_AD_VALUE
       This ad is an Image ad.
       
      IMAGE_AD = 14;
      See Also:
    • 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:
    • 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:
    • APP_AD_VALUE

      public static final int APP_AD_VALUE
       The ad is an app ad.
       
      APP_AD = 17;
      See Also:
    • 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:
    • 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:
    • LOCAL_AD_VALUE

      public static final int LOCAL_AD_VALUE
       The ad is a local ad.
       
      LOCAL_AD = 20;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • VIDEO_BUMPER_AD_VALUE

      public static final int VIDEO_BUMPER_AD_VALUE
       Video bumper ad.
       
      VIDEO_BUMPER_AD = 25;
      See Also:
    • 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:
    • VIDEO_OUTSTREAM_AD_VALUE

      public static final int VIDEO_OUTSTREAM_AD_VALUE
       Video outstream ad.
       
      VIDEO_OUTSTREAM_AD = 27;
      See Also:
    • 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:
    • VIDEO_RESPONSIVE_AD_VALUE

      public static final int VIDEO_RESPONSIVE_AD_VALUE
       Video responsive ad.
       
      VIDEO_RESPONSIVE_AD = 30;
      See Also:
    • SMART_CAMPAIGN_AD_VALUE

      public static final int SMART_CAMPAIGN_AD_VALUE
       Smart campaign ad.
       
      SMART_CAMPAIGN_AD = 31;
      See Also:
    • CALL_AD_VALUE

      public static final int CALL_AD_VALUE
       Call ad.
       
      CALL_AD = 32;
      See Also:
    • 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:
    • 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:
    • DEMAND_GEN_MULTI_ASSET_AD_VALUE

      public static final int DEMAND_GEN_MULTI_ASSET_AD_VALUE
       Demand Gen multi asset ad.
       
      DEMAND_GEN_MULTI_ASSET_AD = 40;
      See Also:
    • TRAVEL_AD_VALUE

      public static final int TRAVEL_AD_VALUE
       Travel ad.
       
      TRAVEL_AD = 37;
      See Also:
    • DEMAND_GEN_VIDEO_RESPONSIVE_AD_VALUE

      public static final int DEMAND_GEN_VIDEO_RESPONSIVE_AD_VALUE
       Demand Gen video responsive ad.
       
      DEMAND_GEN_VIDEO_RESPONSIVE_AD = 42;
      See Also:
    • DEMAND_GEN_PRODUCT_AD_VALUE

      public static final int DEMAND_GEN_PRODUCT_AD_VALUE
       Demand Gen product ad.
       
      DEMAND_GEN_PRODUCT_AD = 39;
      See Also:
  • Method Details

    • values

      public static AdTypeEnum.AdType[] 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

      public static AdTypeEnum.AdType valueOf(String name)
      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 name
      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 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 name
      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 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 name
      NullPointerException - if the argument is null