I use the formula below to pull opening hours for a business whose place_id specified in column B. The formula source is a code.gs sourced from here (link is to GitHub)
=ImportJSON("https://maps.googleapis.com/maps/api/place/details/json?place_id="&B2&"&fields=opening_hours/weekday_text&language=iw&key=AI*********","/result/opening_hours/weekday_text", "noHeaders")
When I try to bind the formula inside of an ArrayFormula()
and changing B2
to B2:B
I get the error "Exception: Limit Exceeded: URLFetch URL Length. (line 146)",
which in the code refers to var jsondata = UrlFetchApp.fetch(url);
Any way to still array this formula?