Hi Kevin, 

You can use LocationCriterionService 
<https://developers.google.com/adwords/api/docs/reference/v201702/LocationCriterionService>
 to 
retrieve the details of the location criteria as specified in the selector. 
You can then use the parentLocations 
<https://developers.google.com/adwords/api/docs/reference/v201702/LocationCriterionService.Location#parentlocations>
 returned 
for each criteria to get the criterion Id of the city. The LookupLocation 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201702/targeting/LookupLocation.java>
 Java 
example demonstrates how to use this service. Example code in other 
languages is provided here 
<https://developers.google.com/adwords/api/docs/clientlibraries>. 

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/867e45c1-4b0f-42b3-ac4b-4c1e39dc1e3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Mapping AdWords... Kevin Caragher
    • Re: Mappin... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to