Enum Class TravelPlaceholderFieldEnum.TravelPlaceholderField

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

public static enum TravelPlaceholderFieldEnum.TravelPlaceholderField extends Enum<TravelPlaceholderFieldEnum.TravelPlaceholderField> implements com.google.protobuf.ProtocolMessageEnum
 Possible values for Travel placeholder fields.
 
Protobuf enum google.ads.googleads.v18.enums.TravelPlaceholderFieldEnum.TravelPlaceholderField
  • 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:
    • DESTINATION_ID_VALUE

      public static final int DESTINATION_ID_VALUE
       Data Type: STRING. Required. Destination id. Example: PAR, LON.
       For feed items that only have destination id, destination id must be a
       unique key. For feed items that have both destination id and origin id,
       then the combination must be a unique key.
       
      DESTINATION_ID = 2;
      See Also:
    • ORIGIN_ID_VALUE

      public static final int ORIGIN_ID_VALUE
       Data Type: STRING. Origin id. Example: PAR, LON.
       Combination of DESTINATION_ID and ORIGIN_ID must be
       unique per offer.
       
      ORIGIN_ID = 3;
      See Also:
    • TITLE_VALUE

      public static final int TITLE_VALUE
       Data Type: STRING. Required. Main headline with name to be shown in
       dynamic ad.
       
      TITLE = 4;
      See Also:
    • DESTINATION_NAME_VALUE

      public static final int DESTINATION_NAME_VALUE
       Data Type: STRING. The destination name. Shorter names are recommended.
       
      DESTINATION_NAME = 5;
      See Also:
    • ORIGIN_NAME_VALUE

      public static final int ORIGIN_NAME_VALUE
       Data Type: STRING. Origin name. Shorter names are recommended.
       
      ORIGIN_NAME = 6;
      See Also:
    • PRICE_VALUE

      public static final int PRICE_VALUE
       Data Type: STRING. Price to be shown in the ad. Highly recommended for
       dynamic ads.
       Example: "100.00 USD"
       
      PRICE = 7;
      See Also:
    • FORMATTED_PRICE_VALUE

      public static final int FORMATTED_PRICE_VALUE
       Data Type: STRING. Formatted price to be shown in the ad.
       Example: "Starting at $100.00 USD", "$80 - $100"
       
      FORMATTED_PRICE = 8;
      See Also:
    • SALE_PRICE_VALUE

      public static final int SALE_PRICE_VALUE
       Data Type: STRING. Sale price to be shown in the ad.
       Example: "80.00 USD"
       
      SALE_PRICE = 9;
      See Also:
    • FORMATTED_SALE_PRICE_VALUE

      public static final int FORMATTED_SALE_PRICE_VALUE
       Data Type: STRING. Formatted sale price to be shown in the ad.
       Example: "On sale for $80.00", "$60 - $80"
       
      FORMATTED_SALE_PRICE = 10;
      See Also:
    • IMAGE_URL_VALUE

      public static final int IMAGE_URL_VALUE
       Data Type: URL. Image to be displayed in the ad.
       
      IMAGE_URL = 11;
      See Also:
    • CATEGORY_VALUE

      public static final int CATEGORY_VALUE
       Data Type: STRING. Category of travel offer used to group like items
       together for recommendation engine.
       
      CATEGORY = 12;
      See Also:
    • CONTEXTUAL_KEYWORDS_VALUE

      public static final int CONTEXTUAL_KEYWORDS_VALUE
       Data Type: STRING_LIST. Keywords used for product retrieval.
       
      CONTEXTUAL_KEYWORDS = 13;
      See Also:
    • DESTINATION_ADDRESS_VALUE

      public static final int DESTINATION_ADDRESS_VALUE
       Data Type: STRING. Address of travel offer, including postal code.
       
      DESTINATION_ADDRESS = 14;
      See Also:
    • FINAL_URL_VALUE

      public static final int FINAL_URL_VALUE
       Data Type: URL_LIST. Required. Final URLs to be used in ad, when using
       Upgraded URLs; the more specific the better (for example, the individual
       URL of a specific travel offer and its location).
       
      FINAL_URL = 15;
      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 = 16;
      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 = 17;
      See Also:
    • SIMILAR_DESTINATION_IDS_VALUE

      public static final int SIMILAR_DESTINATION_IDS_VALUE
       Data Type: STRING_LIST. List of recommended destination IDs to show
       together with this item.
       
      SIMILAR_DESTINATION_IDS = 19;
      See Also:
    • IOS_APP_STORE_ID_VALUE

      public static final int IOS_APP_STORE_ID_VALUE
       Data Type: INT64. iOS app store ID.
       
      IOS_APP_STORE_ID = 21;
      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 TravelPlaceholderFieldEnum.TravelPlaceholderField 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<TravelPlaceholderFieldEnum.TravelPlaceholderField> 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 TravelPlaceholderFieldEnum.TravelPlaceholderField 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