Hi,
Thank you for reaching out to the Google Ads API support team.
Based on the provided information, I understand that you want to retrieve the metrics including ad group and location through the Google Ads API. I would recommend you to use the geographic_view report to retrieve the matched locations data of the ad group through the Google Ads API. Please be informed that the geographic_view report is used to retrieve the data displayed for an ad group under the ‘Insights and Reports’ -> ’When and where ads showed’ -> ’Matched locations’ tab in the UI. Kindly use the below sample GAQL query by giving the ag group ID, this query retrieves only the IDs of the state and city.
SELECT segments.geo_target_state, segments.geo_target_city, campaign.name, ad_group.name, ad_group.id, segments.geo_target_region, segments.geo_target_county, geographic_view.resource_name, geographic_view.location_type, geographic_view.country_criterion_id FROM geographic_view WHERE ad_group.id = XXXXXX
After retrieving the IDs as "geoTargetCity": "geoTargetConstants/******", "geoTargetState": "geoTargetConstants/*****", you can use the following query to retrieve the corresponding state and city names using geo_target_constant report.
SELECT geo_target_constant.canonical_name, geo_target_constant.country_code, geo_target_constant.resource_name, geo_target_constant.name, geo_target_constant.id FROM geo_target_constant WHERE geo_target_constant.id = *****
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. Additionally, please specify the geoTargetState and geoTargetCity IDs individually in the geo_target_constant.id field to retrieve the corresponding state and city names.
If this is not what you are looking for, kindly provide the uncropped UI screenshot of the data that you are trying to retrieve along with the Google Ads customer ID so that we can investigate your issue further.
You can send the details via Reply privately to the author option, or direct private reply to this email.
![]() |
Google Ads API Team |
[2025-09-15 09:57:28Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u6bxh:ref" (ADR-00332746)
In order to assist you further, could you please share the uncropped UI screenshot by highlighting the data that you are trying to retrieve via the Google Ads API along with the complete API logs (request and response with request-id and request header) generated at your end while uploading the conversions via the API?
If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.You can send the details via Reply privately to the author option, or direct private reply to this email.
![]() |
Google Ads API Team |
[2025-09-17 13:40:44Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u6bxh:ref" (ADR-00332746)
![]() |
Google Ads API Team |
[2025-09-18 08:00:05Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u6bxh:ref" (ADR-00332746)
Hi,
Please note that the countries (Crimea - 21120, Cuba - 2192, So-called Donetsk People's Republic (DNR) - 21113, Iran - 2364, So-called Luhansk People's Republic (LNR) - 21111, North Korea - 2408, Syria - 2760) are subject to OFAC sanctions. As per this documentation, google must comply with sanctions imposed by the United States Office of Foreign Assets Control (OFAC). As a result, Google Ads isn't available to advertisers in these countries or territories.
![]() |
Google Ads API Team |
[2025-09-18 11:58:38Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u6bxh:ref" (ADR-00332746)