This is a simple example of how to search on YouTube by location. You need to use the same steps as in my previews tutorials. Use this source code of Google Apps Script to see result into the menu: View Logs.