LocationCriterionService usage python (awql // change response language)

37 views
Skip to first unread message

Maxim Mazurov

unread,
Mar 10, 2021, 3:57:16 AM3/10/21
to AdWords API and Google Ads API Forum
Hi, 

I want to convert CityCrieriaID in GEO_PERFORMANCE_REPORT into the location name using LocationCriterionService, however, I cannot find answers on some questions here:

1) Can you provide an example how to query the LocationCriterionService with AWQL in python? I found this example on GitHub, but in general would like to stick to AWQL since it is more compact and readable

2) How to change the language of the returned location names? Is that possible to pass some parameter to change the language used?


Would be great if you can help on those!

Google Ads API Forum Advisor Prod

unread,
Mar 10, 2021, 9:41:11 PM3/10/21
to mazuro...@gmail.com, adwor...@googlegroups.com
Hi Maxim,

Thank you for reaching out to our support team. You may refer below for my responses :


1) Can you provide an example how to query the LocationCriterionService with AWQL in python? I found this example on GitHub, but in general would like to stick to AWQL since it is more compact and readable

Unfortunately, our team does not have this specific example and we don't provide implementation support. For further information on how to use AWQL, you may refer here. If you require assistance with the Python implementation of this service's query method, you may reach out to the client library owners instead, via this link.


2) How to change the language of the returned location names? Is that possible to pass some parameter to change the language used?

This is not possible via the API.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


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