HOW TO display book titles in Amazon ads dynamically based on context or custom keywords

The Recommended Product Links Amazon widget can be adapted to display book titles in Amazon ads dynamically based on context or custom keywords.

Here is a GitHub Gist snippet that illustrates this -

I have used this in our app to search for free eBooks from the Google Books collection. It improves the app by showing results from an additional info source and helps surface free Kindle eBooks that may be available for a specified keyword.

Comments