Hi,

Thank you for reaching out to the Google Ads API support team.

I understand that you are trying to fetch location-based reports. Please note 
that the query provided by you is invalid as the campaign resource does not 
have the mentioned segments. The required segments are present in the 
geographic_view resource. Please find the modified query below:-

SELECT geographic_view.country_criterion_id, segments.geo_target_city, 
segments.geo_target_county, segments.geo_target_district, 
segments.geo_target_postal_code, segments.geo_target_region, 
segments.geo_target_state, campaign.name FROM geographic_view

You can use the search or searchStream methods in making the API calls while 
retrieving the data. Additionally, you can utilize the Google Ads Query Builder 
and Query Validator to build and validate the queries for retrieving the data 
from the Google Ads API.

Feel free to reach out for any further concerns/queries.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGluX:ref" 
(ADR-00276668)

Thanks,

Google Ads API Team


Feedback
How was our support today?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/Kua51000000000000000000000000000000000000000000000SNHYU00080ym2f0BQyC-q724TMpCrQ%40sfdc.net.
  • Re... Bipasha Roy
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to