As the search space continues to evolve, we want to make sure that Programmable Search Engine continues to evolve to meet the needs of your users. We’ve decided to remove the Popular Queries JavaScript API (https://cse.google.com/api/<Search Engine ID>/popularqueryjs). Starting on November 11, 2022, this feature will no longer be available.
If you’ve been showing Popular Queries on your website, we’re glad to let you know that the Stats tab of the Statistics and Logs page in the Control Panel still shows popular queries for your Programmable Search Engine. We know this may be disruptive, so if you have questions or need assistance, please check out the Help Center or reach out to us on the Community Forums.