Ads api geo targeting report

45 views
Skip to first unread message

frank mcmanus

unread,
Jul 8, 2020, 11:30:00 AM7/8/20
to AdWords API and Google Ads API Forum
We are trying to get the geographic metro area segment from the Ads api at the campaign and ad level.

Something like:
SELECT
segments.geo_target_metro_area
FROM campaign

Our first attempt returned an error message saying that the segment is not compatible with the resource (campaign). I could not find a sample query. 

How do I go about getting geo target metrics for ads and campaigns?

Google Ads API Forum Advisor Prod

unread,
Jul 8, 2020, 3:53:13 PM7/8/20
to frank.mcmanu...@gmail.com, adwor...@googlegroups.com

Hi Frank,

Thank you for reaching out. If you go to the campaign resource and select “Yes, it is” for question “Is campaign specified in the FROM clause of your query?” you would find segments.geo_target_metro is not in the Segments list. This means you could not use segments.geo_target_metro as a segmentation in your query. You could consider using the geographic_view resource to fetch the geo target metrics.


Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5004Q21k7Tf:ref
Reply all
Reply to author
Forward
0 new messages