> ## Documentation Index
> Fetch the complete documentation index at: https://help.decodo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Geolocation

> Geo parameter usage for Google templates in Web Scraping API

<Danger>
  Core and Advanced plans are no longer available for purchase. Please consider migrating to the all-in-one Web Scraper API; check out the guide [here](https://help.decodo.com/docs/web-scraping-api-migration-guide).
</Danger>

The geo parameter with Google templates can be used in a few different ways:

1. Target using the **full location name** (`city,region,country`) as provided in Google CSV found [**here**](https://developers.google.com/adwords/api/docs/appendix/geotargeting):
   <CodeGroup>
     ```json JSON theme={null}
     {
         "target": "google_search",
         "query": "laptop",
         "geo": "London,England,United Kingdom"
     }
     ```
   </CodeGroup>
2. Target using the **state name** (`state,country`). Compatible with the United States, Australia, India, and other nations with federated states:
   <CodeGroup>
     ```json JSON theme={null}
     {
         "target": "google_search",
         "query": "laptop",
         "geo": "Texas,United States"
     }
     ```
   </CodeGroup>
3. Target using the **country name** only:
   <CodeGroup>
     ```json JSON theme={null}
     {
         "target": "google_search",
         "query": "laptop",
         "geo": "United Kingdom"
     }
     ```
   </CodeGroup>
4. Target using **ISO country codes**:
   <CodeGroup>
     ```json JSON theme={null}
     {
         "target": "google_search",
         "query": "laptop",
         "geo": "GB"
     }
     ```
   </CodeGroup>
5. Target using **coordinates and radius**
   <CodeGroup>
     ```json JSON theme={null}
     {
         "target": "google_search",
         "query": "laptop",
         "geo": "lat: 32.4827, lng: -22.9384, rad: 5000"
     }
     ```
   </CodeGroup>
6. Target using Google's Canonical Location Name or Criteria ID, find a list [here](https://developers.google.com/adwords/api/docs/appendix/geotargeting):
   <CodeGroup>
     ```json JSON theme={null}
     {
         "target": "google_search",
         "query": "pilaptopzza",
         "geo": "1000010"
     }
     ```
   </CodeGroup>

<Note>
  There are exceptions, and the above formats may not work in all situations, in which case you will receive an error message stating that.
</Note>

***

<Columns cols={2}>
  <Card title="Support" href="https://direct.lc.chat/12092754" cta="Let's chat!">
    Need help or just want to say hello? Our support is available 24/7. \
    You can also reach us anytime via email at [support@decodo.com](mailto:support@decodo.com).
  </Card>

  <Card title="Feedback" href="mailto:feedback@decodo.com" cta="Share feedback">
    Can't find what you're looking for? Request an article! \
    Have feedback? Share your thoughts on how we can improve.
  </Card>
</Columns>
