Enum Class Ad.AdDataCase

java.lang.Object
java.lang.Enum<Ad.AdDataCase>
com.google.ads.googleads.v18.resources.Ad.AdDataCase
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<Ad.AdDataCase>, Constable
Enclosing class:
Ad

public static enum Ad.AdDataCase extends Enum<Ad.AdDataCase> implements com.google.protobuf.Internal.EnumLite
  • Enum Constant Details

    • TEXT_AD

      public static final Ad.AdDataCase TEXT_AD
    • EXPANDED_TEXT_AD

      public static final Ad.AdDataCase EXPANDED_TEXT_AD
    • CALL_AD

      public static final Ad.AdDataCase CALL_AD
    • EXPANDED_DYNAMIC_SEARCH_AD

      public static final Ad.AdDataCase EXPANDED_DYNAMIC_SEARCH_AD
    • HOTEL_AD

      public static final Ad.AdDataCase HOTEL_AD
    • SHOPPING_SMART_AD

      public static final Ad.AdDataCase SHOPPING_SMART_AD
    • SHOPPING_PRODUCT_AD

      public static final Ad.AdDataCase SHOPPING_PRODUCT_AD
    • IMAGE_AD

      public static final Ad.AdDataCase IMAGE_AD
    • VIDEO_AD

      public static final Ad.AdDataCase VIDEO_AD
    • VIDEO_RESPONSIVE_AD

      public static final Ad.AdDataCase VIDEO_RESPONSIVE_AD
    • RESPONSIVE_SEARCH_AD

      public static final Ad.AdDataCase RESPONSIVE_SEARCH_AD
    • LEGACY_RESPONSIVE_DISPLAY_AD

      public static final Ad.AdDataCase LEGACY_RESPONSIVE_DISPLAY_AD
    • APP_AD

      public static final Ad.AdDataCase APP_AD
    • LEGACY_APP_INSTALL_AD

      public static final Ad.AdDataCase LEGACY_APP_INSTALL_AD
    • RESPONSIVE_DISPLAY_AD

      public static final Ad.AdDataCase RESPONSIVE_DISPLAY_AD
    • LOCAL_AD

      public static final Ad.AdDataCase LOCAL_AD
    • DISPLAY_UPLOAD_AD

      public static final Ad.AdDataCase DISPLAY_UPLOAD_AD
    • APP_ENGAGEMENT_AD

      public static final Ad.AdDataCase APP_ENGAGEMENT_AD
    • SHOPPING_COMPARISON_LISTING_AD

      public static final Ad.AdDataCase SHOPPING_COMPARISON_LISTING_AD
    • SMART_CAMPAIGN_AD

      public static final Ad.AdDataCase SMART_CAMPAIGN_AD
    • APP_PRE_REGISTRATION_AD

      public static final Ad.AdDataCase APP_PRE_REGISTRATION_AD
    • DEMAND_GEN_MULTI_ASSET_AD

      public static final Ad.AdDataCase DEMAND_GEN_MULTI_ASSET_AD
    • DEMAND_GEN_VIDEO_RESPONSIVE_AD

      public static final Ad.AdDataCase DEMAND_GEN_VIDEO_RESPONSIVE_AD
    • DEMAND_GEN_PRODUCT_AD

      public static final Ad.AdDataCase DEMAND_GEN_PRODUCT_AD
    • TRAVEL_AD

      public static final Ad.AdDataCase TRAVEL_AD
    • ADDATA_NOT_SET

      public static final Ad.AdDataCase ADDATA_NOT_SET
  • Method Details

    • values

      public static Ad.AdDataCase[] 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 Ad.AdDataCase 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
    • valueOf

      @Deprecated public static Ad.AdDataCase 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 Ad.AdDataCase forNumber(int value)
    • getNumber

      public int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite