Class ProductFeed

All Implemented Interfaces:
HasCreatedTime, Serializable

public class ProductFeed extends BaseAdsObject implements HasCreatedTime
Represents the Product Feed type
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getCountry

      public String getCountry()
      Returns:
      An ISO 3166-1 Alpha 2 country code
    • setCountry

      public void setCountry(String country)
      An ISO 3166-1 Alpha 2 country code
    • getCreatedTime

      public Date getCreatedTime()
      Specified by:
      getCreatedTime in interface HasCreatedTime
      Returns:
      Creation time of the product feed
    • setCreatedTime

      public void setCreatedTime(Date createdTime)
      Creation time of the product feed
    • getDefaultCurrency

      Returns:
      Default currency for products
    • setDefaultCurrency

      public void setDefaultCurrency(String defaultCurrency)
      Default currency for products. If no currency is specified for items in the feed file, this value would be used
    • getDeletionEnabled

      Returns:
      Allows products to be deleted if they are no longer included in a product feed
    • setDeletionEnabled

      public void setDeletionEnabled(Boolean deletionEnabled)
      Allows products to be deleted if they are no longer included in a product feed
    • getDelimiter

      public String getDelimiter()
      Returns:
      The delimiter used in product feed file
    • setDelimiter

      public void setDelimiter(String delimiter)
      The delimiter used in product feed file possible values: AUTODETECT, BAR, COMMA, TAB, TILDE, SEMICOLON
    • getEncoding

      public String getEncoding()
      Returns:
      The character encoding used by provided feed
    • setEncoding

      public void setEncoding(String encoding)
      The character encoding used by provided feed possible values: AUTODETECT, LATIN1, UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BE
    • getFileName

      public String getFileName()
      Returns:
      File name of the product feed. Will be overridden by name if present
    • setFileName

      public void setFileName(String fileName)
      File name of the product feed. Will be overridden by name if present
    • getLatestUpload

      Returns:
      The latest upload session of the product feed
    • setLatestUpload

      public void setLatestUpload(ProductFeedUpload latestUpload)
      The latest upload session of the product feed
    • getProductCount

      Returns:
      The total products of this product catalog
    • setProductCount

      public void setProductCount(Long productCount)
      The total products of this product catalog
    • getQuotedFieldsMode

      Returns:
      Allows tabs and newlines within fields
    • setQuotedFieldsMode

      public void setQuotedFieldsMode(String quotedFieldsMode)
      Allows tabs and newlines within fields possible values: AUTODETECT, ON, OFF
    • getSchedule

      Returns:
      The configuration for fetching a feed in a recurrant manner
    • setSchedule

      public void setSchedule(ProductFeedSchedule schedule)
      The configuration for fetching a feed in a recurrant manner