Hi Chad,

Thanks for reaching out to the Google Ads API Forum. I hope you are doing well 
today.

I understand that you have issues on how to convert country_id to country name. 
I will recommend to separate API request with the following query:

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/<<criterion ID>>'

It is true that the geo_target_constant resource is not compatible with 
ad_group.type. However, while using geographic_view report, you should be able 
to use ad_group report fields such as name, type etc as it is a segmented 
report.

In addition, to get name of campaign, you should be able to pull this using 
geographic_view report as campaign resource is segmented, and pulling 
campaign.name is possible. However,  is geo_target_constant report compatible 
with the campaign.

You should be able to use a sample GAQL for geographic_view here where campaign 
fields are added. Then a separate request to pull the canonical_name using 
geo_target_constant report.

With regards to this link, we do not have any Google Ads API service / method 
to download it so it is not recommended to use AdsWords API.

I hope it helps. Have a great day.

Regards,

Marjorie
Google Ads API Team
ref:_00D1U1174p._5004Q2h3Ar4: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/_YwaY000000000000000000000000000000000000000000000RMX5LZ00Wp5ZlbfMQfa_lIoOxTWLdA%40sfdc.net.
  • Ho... Chad Wood
    • ... Chad Wood
      • ... Chad Wood
        • ... Chad Wood
          • ... Chad Wood
            • ... Chad Wood
              • ... Chad Wood
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Chad Wood

Reply via email to