Hi,

Please be informed that there is no direct attribute which can give you the 
country name using the geographic_view report. As mentioned earlier, you need 
to query the country criterion ID by using the geographic_view report then 
later use the geo_target_constant report to retrieve the country name. The 
Codes and formats page provides reference tables for most constants used in the 
API. Kindly go through the sample GAQL query to retrieve the country name by 
its resource name for your reference:

SELECT geo_target_constant.canonical_name,
  geo_target_constant.country_code,
  geo_target_constant.id,
  geo_target_constant.name,
  geo_target_constant.status,
  geo_target_constant.target_type
FROM geo_target_constant
WHERE geo_target_constant.resource_name = 'geoTargetConstants/1014044'

I would suggest you kindly replace the ID '1014044' with the 
geo_target_constant_id for which you would like to retrieve the data. I would 
recommend you refer to this documentation for more detailed information. I hope 
this helps! feel free to get back to us in case of any further queries.


Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-06-16 10:41:28Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!500Ht01reLw4:ref" (ADR-00310279)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/PT_QP000000000000000000000000000000000000000000000SXY314008FHswRyXSt2GjTzqpxS53Q%40sfdc.net.
  • Cr... Prateek Choubey
    • ... Prateek Choubey
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Prateek Choubey
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to