Hi,
Thank you for contacting the Google Ads API support team.
Note that the same canonical name can have multiple criterion IDs due to different levels of targeting. A canonical name might represent the same general location or other criteria, but the specific ID depends on the granular level of detail the targeting is set at. For example targeting a city or region or metro etc.
I would recommend you to use the below query that fetches the location targeting details with canonical names and criteria IDs to know which one to use. I.e., you can use the criteria ID which has an ‘ENABLED’ status.
SELECT geo_target_constant.canonical_name, geo_target_constant.country_code, geo_target_constant.id, geo_target_constant.name, geo_target_constant.parent_geo_target, geo_target_constant.resource_name, geo_target_constant.status, geo_target_constant.target_type FROM geo_target_constant WHERE geo_target_constant.country_code = <country_code>
You can use the search or searchStream methods in making the API calls while retrieving the data. Additionally, you can utilize the Google Ads Query Builder and Query Validator to build and validate the queries for retrieving the data from the Google Ads API.
![]() |
Google Ads API Team |
[2025-04-22 13:04:47Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qUXuG:ref" (ADR-00300701)