yes, I'm using geo_target_constant.canonical_name, I think the problem is 
from my query can you help me with that ? , here is the query :

SELECT geo_target_constant.target_type, geo_target_constant.status, 
geo_target_constant.parent_geo_target, 
geo_target_constant.parent_geo_target, geo_target_constant.name,
geo_target_constant.id, geo_target_constant.country_code, 
geo_target_constant.canonical_name
FROM geo_target_constant
WHERE geo_target_constant.parent_geo_target IN ('geoTargetConstants/2634', '
geoTargetConstants/2636');

I need to get geo_target_constant based on the campaign id, this was a walk 
around if you could help me with a new query that uses the campaign id to 
retrieve the geo-target data I will appreciate it.


On Thursday, December 1, 2022 at 4:16:28 PM UTC+1 adsapi wrote:

> Hi Mohammad,
>
> Thanks for reaching out. Are you using geo_target_constant.canonical_name 
> to retrieve this information? This attribute should return the country 
> name. For proximities, the country code can be retrieved 
> with campaign_criterion.proximity.address.country_code. 
>
> Regards,
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2ghOJY:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5bf172de-e3e8-4dd1-96a6-f0d1b9fc76ben%40googlegroups.com.
  • Ho... Mohammad si abbou
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Mohammad si abbou
      • ... Mohammad si abbou
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to