Hi, 

I am currently building code to extract cost, clicks and impressions data 
with city, region and country groupings. I have been using 
GEO_PERFORMANCE_REPORT from Adwords API 
<https://developers.google.com/adwords/api/docs/appendix/reports/geo-performance-report#istargetinglocation>,
 
however, I have noticed that I can get the report only for one client 
account of many. I am aware that there is no data in the API for UAC, 
however, plenty of the accounts are not UAC.

I am using this query for the request:

adwords.ReportQueryBuilder()
.Select('Date', 'CampaignId', 'CampaignName', 'AdGroupId', 'AdGroupName', 
'IsTargetingLocation',
'CountryCriteriaId', 'RegionCriteriaId', 'CityCriteriaId', 'LocationType',
'Impressions', 'Clicks', 'Cost')
.From('GEO_PERFORMANCE_REPORT')
.Where('IsTargetingLocation').In('true', 'false')
.Where('LocationType').EqualTo('LOCATION_OF_PRESENCE')
.During(start_date=format_date(start_date), end_date=format_date(end_date))
.Build()

On the other hand I found this type of the report in the Google Ads API 
<https://developers.google.com/google-ads/api/fields/v6/user_location_view#segments.geo_target_airport>
 called 
user_location_view. Here I can find the specification of only 
country_criterion_id 
<https://developers.google.com/google-ads/api/fields/v6/user_location_view#user_location_view.country_criterion_id>.
 
Where is the region and city ids? 

In the UI it is possible to get the report with country, region and city 
grouping with selected metrics (eg cost, clicks). Is that possible for all 
accounts via Google Ads API? Or is there a way to use Adwords API to get 
the info for all accounts?

Thanks in advance 
Max

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fd333822-25b5-46f4-8f7c-fc4e44f8fb37n%40googlegroups.com.

Reply via email to