Enum Class ServedAssetFieldTypeEnum.ServedAssetFieldType

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

public static enum ServedAssetFieldTypeEnum.ServedAssetFieldType extends Enum<ServedAssetFieldTypeEnum.ServedAssetFieldType> implements com.google.protobuf.ProtocolMessageEnum
 The possible asset field types.
 
Protobuf enum google.ads.googleads.v18.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType
  • Enum Constant Details

  • 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:
    • HEADLINE_1_VALUE

      public static final int HEADLINE_1_VALUE
       The asset is used in headline 1.
       
      HEADLINE_1 = 2;
      See Also:
    • HEADLINE_2_VALUE

      public static final int HEADLINE_2_VALUE
       The asset is used in headline 2.
       
      HEADLINE_2 = 3;
      See Also:
    • HEADLINE_3_VALUE

      public static final int HEADLINE_3_VALUE
       The asset is used in headline 3.
       
      HEADLINE_3 = 4;
      See Also:
    • DESCRIPTION_1_VALUE

      public static final int DESCRIPTION_1_VALUE
       The asset is used in description 1.
       
      DESCRIPTION_1 = 5;
      See Also:
    • DESCRIPTION_2_VALUE

      public static final int DESCRIPTION_2_VALUE
       The asset is used in description 2.
       
      DESCRIPTION_2 = 6;
      See Also:
    • HEADLINE_VALUE

      public static final int HEADLINE_VALUE
       The asset was used in a headline. Use this only if there is only one
       headline in the ad. Otherwise, use the HEADLINE_1, HEADLINE_2 or
       HEADLINE_3 enums
       
      HEADLINE = 7;
      See Also:
    • HEADLINE_IN_PORTRAIT_VALUE

      public static final int HEADLINE_IN_PORTRAIT_VALUE
       The asset was used as a headline in portrait image.
       
      HEADLINE_IN_PORTRAIT = 8;
      See Also:
    • LONG_HEADLINE_VALUE

      public static final int LONG_HEADLINE_VALUE
       The asset was used in a long headline (used in MultiAssetResponsiveAd).
       
      LONG_HEADLINE = 9;
      See Also:
    • DESCRIPTION_VALUE

      public static final int DESCRIPTION_VALUE
       The asset was used in a description. Use this only if there is only one
       description in the ad. Otherwise, use the DESCRIPTION_1 or DESCRIPTION_@
       enums
       
      DESCRIPTION = 10;
      See Also:
    • DESCRIPTION_IN_PORTRAIT_VALUE

      public static final int DESCRIPTION_IN_PORTRAIT_VALUE
       The asset was used as description in portrait image.
       
      DESCRIPTION_IN_PORTRAIT = 11;
      See Also:
    • BUSINESS_NAME_IN_PORTRAIT_VALUE

      public static final int BUSINESS_NAME_IN_PORTRAIT_VALUE
       The asset was used as business name in portrait image.
       
      BUSINESS_NAME_IN_PORTRAIT = 12;
      See Also:
    • BUSINESS_NAME_VALUE

      public static final int BUSINESS_NAME_VALUE
       The asset was used as business name.
       
      BUSINESS_NAME = 13;
      See Also:
    • MARKETING_IMAGE_VALUE

      public static final int MARKETING_IMAGE_VALUE
       The asset was used as a marketing image.
       
      MARKETING_IMAGE = 14;
      See Also:
    • MARKETING_IMAGE_IN_PORTRAIT_VALUE

      public static final int MARKETING_IMAGE_IN_PORTRAIT_VALUE
       The asset was used as a marketing image in portrait image.
       
      MARKETING_IMAGE_IN_PORTRAIT = 15;
      See Also:
    • SQUARE_MARKETING_IMAGE_VALUE

      public static final int SQUARE_MARKETING_IMAGE_VALUE
       The asset was used as a square marketing image.
       
      SQUARE_MARKETING_IMAGE = 16;
      See Also:
    • PORTRAIT_MARKETING_IMAGE_VALUE

      public static final int PORTRAIT_MARKETING_IMAGE_VALUE
       The asset was used as a portrait marketing image.
       
      PORTRAIT_MARKETING_IMAGE = 17;
      See Also:
    • LOGO_VALUE

      public static final int LOGO_VALUE
       The asset was used as a logo.
       
      LOGO = 18;
      See Also:
    • LANDSCAPE_LOGO_VALUE

      public static final int LANDSCAPE_LOGO_VALUE
       The asset was used as a landscape logo.
       
      LANDSCAPE_LOGO = 19;
      See Also:
    • CALL_TO_ACTION_VALUE

      public static final int CALL_TO_ACTION_VALUE
       The asset was used as a call-to-action.
       
      CALL_TO_ACTION = 20;
      See Also:
    • YOU_TUBE_VIDEO_VALUE

      public static final int YOU_TUBE_VIDEO_VALUE
       The asset was used as a YouTube video.
       
      YOU_TUBE_VIDEO = 21;
      See Also:
    • CALL_VALUE

      public static final int CALL_VALUE
       This asset is used as a call.
       
      CALL = 23;
      See Also:
    • MOBILE_APP_VALUE

      public static final int MOBILE_APP_VALUE
       This asset is used as a mobile app.
       
      MOBILE_APP = 24;
      See Also:
    • CALLOUT_VALUE

      public static final int CALLOUT_VALUE
       This asset is used as a callout.
       
      CALLOUT = 25;
      See Also:
    • STRUCTURED_SNIPPET_VALUE

      public static final int STRUCTURED_SNIPPET_VALUE
       This asset is used as a structured snippet.
       
      STRUCTURED_SNIPPET = 26;
      See Also:
    • PRICE_VALUE

      public static final int PRICE_VALUE
       This asset is used as a price.
       
      PRICE = 27;
      See Also:
    • PROMOTION_VALUE

      public static final int PROMOTION_VALUE
       This asset is used as a promotion.
       
      PROMOTION = 28;
      See Also:
    • AD_IMAGE_VALUE

      public static final int AD_IMAGE_VALUE
       This asset is used as an image.
       
      AD_IMAGE = 29;
      See Also:
    • LEAD_FORM_VALUE

      public static final int LEAD_FORM_VALUE
       The asset is used as a lead form.
       
      LEAD_FORM = 30;
      See Also:
    • BUSINESS_LOGO_VALUE

      public static final int BUSINESS_LOGO_VALUE
       The asset is used as a business logo.
       
      BUSINESS_LOGO = 31;
      See Also:
  • Method Details

    • 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

      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.
      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 ServedAssetFieldTypeEnum.ServedAssetFieldType 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<ServedAssetFieldTypeEnum.ServedAssetFieldType> 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 ServedAssetFieldTypeEnum.ServedAssetFieldType 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