Hello,
I am trying to pull a campaign performance by country from Google Ads API 
v2:

*    SELECT *

*        segments.geo_target_country,*

*        campaign.id,*

*        metrics.cost_micros*

*    FROM campaign*

This gives me an error:
GA Request "RDMY8ywGvLXR0B-4IbC5vQ" failed with status "INVALID_ARGUMENT":
Cannot select or filter on the following segments: 
'segments.geo_target_country'(could not support requested resources: 
'CAMPAIGN'), since segment is incompatible with the resource in the FROM 
clause or other selected segmenting resources.

If I swap "geo_target_country" for "device" for example it works fine, so 
the problem is specifically with geo segmentation. Other geo related 
segments (state, city, etc) don't work either. Maybe geo segmentation needs 
to be enabled first for our accounts?

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 
"AdWords API and Google Ads 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/4046e229-d948-4297-b77e-59bede4d78de%40googlegroups.com.

Reply via email to