Hello,

Here's my current query:

SELECT 
....geographic_view.country_criterion_id, 
....metrics.clicks, 
....metrics.impressions, 
....metrics.cost_micros, 
....ad_group.type, 
....segments.date 
FROM 
....geographic_view 
WHERE 
....segments.date BETWEEN '2022-12-01' AND '2022-12-01'

This produces the country_criterion_id, and I have no idea how to convert 
that to a country_id or country_name. I need the country_name, but a 
country_id will do fine.

*By the way, the geo_target_constant resource is not compatible with 
ad_group.type*. This is very important though, as the data needs paired 
with defaultChannelGrouping data from GA4. So I need both country and 
ad_group.type.

What is the solution here? Also getting campaign_name would be nice, but 
not required.

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6adbc331-62b3-4e85-8aeb-880d7c7827abn%40googlegroups.com.
  • Ho... 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