When you pass a location to ScaleSERP, it rewrites google_domain, gl, and hl to match; your hand-set values are silently replaced. If you need a specific domain or language with your location, set location_auto=false after choosing location, then set google_domain, gl, and hl yourself. A custom uule parameter overwrites whatever location was generated, so do not pass both unless you mean it. For date-bounded searches, a custom time_period requires the min and max fields; period presets like last_week work without them.

Context: Official docs (ScaleSERP Google search): documents the localization trap: passing location auto-updates google_domain, gl, and hl for you, and a custom uule overwrites any generated location. Custom time periods need the min and max fields.