Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can check for updates on all your feeds regularly via the API point /creatives/productdata/findFeeds. Here are the important fields of information in the response regarding update status of the feed:

  • lastImportDate - time when the feed was last updated

  • nextImportScheduledAt - time when the feed will be updated again

You only need to download a feed when lastImportDate is newer than the time of your own last download
Info
Info
  • lastFileHash - Hash of the last version of the feed. Save this in your database. If this hasn’t changed since you last updated the feed, an update is not necessary.

  • lastUpdatedAt - The time when the feed last changed. If this date is older than your last download date, an update is not necessary.

Example Request:

Code Block
languagebash
curl -X POST "{YOUR_API_DOMAIN}/creatives/productdata/findFeeds?adspaceId=8898{YOUR_ADSPACE_ID}&page=0&rowsPerPage=100" \
 -H "Accept: application/json" \
 -H "x-api-key: {YOUR_API_KEY}" \
 -H "Content-Type: text/plain" 

...