Enum CustomPlaceholderFieldEnum.CustomPlaceholderField

    • Field Detail

      • UNSPECIFIED_VALUE

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

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

        public static final int ID_VALUE
         Data Type: STRING. Required. Combination ID and ID2 must be unique per
         offer.
         
        ID = 2;
        See Also:
        Constant Field Values
      • ID2_VALUE

        public static final int ID2_VALUE
         Data Type: STRING. Combination ID and ID2 must be unique per offer.
         
        ID2 = 3;
        See Also:
        Constant Field Values
      • ITEM_TITLE_VALUE

        public static final int ITEM_TITLE_VALUE
         Data Type: STRING. Required. Main headline with product name to be shown
         in dynamic ad.
         
        ITEM_TITLE = 4;
        See Also:
        Constant Field Values
      • ITEM_SUBTITLE_VALUE

        public static final int ITEM_SUBTITLE_VALUE
         Data Type: STRING. Optional text to be shown in the image ad.
         
        ITEM_SUBTITLE = 5;
        See Also:
        Constant Field Values
      • ITEM_DESCRIPTION_VALUE

        public static final int ITEM_DESCRIPTION_VALUE
         Data Type: STRING. Optional description of the product to be shown in the
         ad.
         
        ITEM_DESCRIPTION = 6;
        See Also:
        Constant Field Values
      • ITEM_ADDRESS_VALUE

        public static final int ITEM_ADDRESS_VALUE
         Data Type: STRING. Full address of your offer or service, including
         postal code. This will be used to identify the closest product to the
         user when there are multiple offers in the feed that are relevant to the
         user.
         
        ITEM_ADDRESS = 7;
        See Also:
        Constant Field Values
      • PRICE_VALUE

        public static final int PRICE_VALUE
         Data Type: STRING. Price to be shown in the ad.
         Example: "100.00 USD"
         
        PRICE = 8;
        See Also:
        Constant Field Values
      • 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 = 9;
        See Also:
        Constant Field Values
      • 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 = 10;
        See Also:
        Constant Field Values
      • 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 = 11;
        See Also:
        Constant Field Values
      • IMAGE_URL_VALUE

        public static final int IMAGE_URL_VALUE
         Data Type: URL. Image to be displayed in the ad. Highly recommended for
         image ads.
         
        IMAGE_URL = 12;
        See Also:
        Constant Field Values
      • ITEM_CATEGORY_VALUE

        public static final int ITEM_CATEGORY_VALUE
         Data Type: STRING. Used as a recommendation engine signal to serve items
         in the same category.
         
        ITEM_CATEGORY = 13;
        See Also:
        Constant Field Values
      • FINAL_URLS_VALUE

        public static final int FINAL_URLS_VALUE
         Data Type: URL_LIST. Final URLs for the ad when using Upgraded
         URLs. User will be redirected to these URLs when they click on an ad, or
         when they click on a specific product for ads that have multiple
         products.
         
        FINAL_URLS = 14;
        See Also:
        Constant Field Values
      • 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 = 15;
        See Also:
        Constant Field Values
      • TRACKING_URL_VALUE

        public static final int TRACKING_URL_VALUE
         Data Type: URL. Tracking template for the ad when using Upgraded URLs.
         
        TRACKING_URL = 16;
        See Also:
        Constant Field Values
      • CONTEXTUAL_KEYWORDS_VALUE

        public static final int CONTEXTUAL_KEYWORDS_VALUE
         Data Type: STRING_LIST. Keywords used for product retrieval.
         
        CONTEXTUAL_KEYWORDS = 17;
        See Also:
        Constant Field Values
      • ANDROID_APP_LINK_VALUE

        public static final int ANDROID_APP_LINK_VALUE
         Data Type: STRING. Android app link. Must be formatted as:
         android-app://{package_id}/{scheme}/{host_path}.
         The components are defined as follows:
         package_id: app ID as specified in Google Play.
         scheme: the scheme to pass to the application. Can be HTTP, or a custom
           scheme.
         host_path: identifies the specific content within your application.
         
        ANDROID_APP_LINK = 18;
        See Also:
        Constant Field Values
      • SIMILAR_IDS_VALUE

        public static final int SIMILAR_IDS_VALUE
         Data Type: STRING_LIST. List of recommended IDs to show together with
         this item.
         
        SIMILAR_IDS = 19;
        See Also:
        Constant Field Values
      • IOS_APP_LINK_VALUE

        public static final int IOS_APP_LINK_VALUE
         Data Type: STRING. iOS app link.
         
        IOS_APP_LINK = 20;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • values

        public static CustomPlaceholderFieldEnum.CustomPlaceholderField[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CustomPlaceholderFieldEnum.CustomPlaceholderField c : CustomPlaceholderFieldEnum.CustomPlaceholderField.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CustomPlaceholderFieldEnum.CustomPlaceholderField valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.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 CustomPlaceholderFieldEnum.CustomPlaceholderField valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • 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 CustomPlaceholderFieldEnum.CustomPlaceholderField valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null