Enum Class PromotionPlaceholderFieldEnum.PromotionPlaceholderField

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

public static enum PromotionPlaceholderFieldEnum.PromotionPlaceholderField extends Enum<PromotionPlaceholderFieldEnum.PromotionPlaceholderField> implements com.google.protobuf.ProtocolMessageEnum
 Possible values for Promotion placeholder fields.
 
Protobuf enum google.ads.googleads.v18.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderField
  • Enum Constant Details

  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Not specified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       Used for return value only. Represents value unknown in this version.
       
      UNKNOWN = 1;
      See Also:
    • PROMOTION_TARGET_VALUE

      public static final int PROMOTION_TARGET_VALUE
       Data Type: STRING. The text that appears on the ad when the extension is
       shown.
       
      PROMOTION_TARGET = 2;
      See Also:
    • DISCOUNT_MODIFIER_VALUE

      public static final int DISCOUNT_MODIFIER_VALUE
       Data Type: STRING. Lets you add "up to" phrase to the promotion,
       in case you have variable promotion rates.
       
      DISCOUNT_MODIFIER = 3;
      See Also:
    • PERCENT_OFF_VALUE

      public static final int PERCENT_OFF_VALUE
       Data Type: INT64. Takes a value in micros, where 1 million micros
       represents 1%, and is shown as a percentage when rendered.
       
      PERCENT_OFF = 4;
      See Also:
    • MONEY_AMOUNT_OFF_VALUE

      public static final int MONEY_AMOUNT_OFF_VALUE
       Data Type: MONEY. Requires a currency and an amount of money.
       
      MONEY_AMOUNT_OFF = 5;
      See Also:
    • PROMOTION_CODE_VALUE

      public static final int PROMOTION_CODE_VALUE
       Data Type: STRING. A string that the user enters to get the discount.
       
      PROMOTION_CODE = 6;
      See Also:
    • ORDERS_OVER_AMOUNT_VALUE

      public static final int ORDERS_OVER_AMOUNT_VALUE
       Data Type: MONEY. A minimum spend before the user qualifies for the
       promotion.
       
      ORDERS_OVER_AMOUNT = 7;
      See Also:
    • PROMOTION_START_VALUE

      public static final int PROMOTION_START_VALUE
       Data Type: DATE. The start date of the promotion.
       
      PROMOTION_START = 8;
      See Also:
    • PROMOTION_END_VALUE

      public static final int PROMOTION_END_VALUE
       Data Type: DATE. The end date of the promotion.
       
      PROMOTION_END = 9;
      See Also:
    • OCCASION_VALUE

      public static final int OCCASION_VALUE
       Data Type: STRING. Describes the associated event for the promotion using
       one of the PromotionExtensionOccasion enum values, for example NEW_YEARS.
       
      OCCASION = 10;
      See Also:
    • FINAL_URLS_VALUE

      public static final int FINAL_URLS_VALUE
       Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded
       URLs.
       
      FINAL_URLS = 11;
      See Also:
    • FINAL_MOBILE_URLS_VALUE

      public static final int FINAL_MOBILE_URLS_VALUE
       Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded
       URLs.
       
      FINAL_MOBILE_URLS = 12;
      See Also:
    • TRACKING_URL_VALUE

      public static final int TRACKING_URL_VALUE
       Data Type: URL. Tracking template for the ad when using Upgraded URLs.
       
      TRACKING_URL = 13;
      See Also:
    • LANGUAGE_VALUE

      public static final int LANGUAGE_VALUE
       Data Type: STRING. A string represented by a language code for the
       promotion.
       
      LANGUAGE = 14;
      See Also:
    • FINAL_URL_SUFFIX_VALUE

      public static final int FINAL_URL_SUFFIX_VALUE
       Data Type: STRING. Final URL suffix for the ad when using parallel
       tracking.
       
      FINAL_URL_SUFFIX = 15;
      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 PromotionPlaceholderFieldEnum.PromotionPlaceholderField 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<PromotionPlaceholderFieldEnum.PromotionPlaceholderField> 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 PromotionPlaceholderFieldEnum.PromotionPlaceholderField 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