Hi Jens, 

To lookup a location via API, you will have to use the 
LocationCriterionService 
<https://developers.google.com/adwords/api/docs/reference/v201710/LocationCriterionService>.
 
As you said, you'll not be able to retrieve Proximity 
<https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService.Proximity>
 or Location groups 
<https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService.LocationGroups.html>
 criterion 
through LocationCriterionService since these are custom locations. If the 
proximity criterion is added on a campaign, you could use 
CampaignCriterionService 
<https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService>
 to 
retrieve these location-based criteria. The GetCampaignTargetingCriteria 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201710/targeting/GetCampaignTargetingCriteria.java>
 Java 
example shows how to retrieve campaign criteria. Example code in other 
languages are available here 
<https://developers.google.com/adwords/api/docs/clientlibraries>.

Since you are trying to convert a geo point to a location, you could also 
explore the option of using Google Maps API 
<https://developers.google.com/maps/documentation/geocoding/intro> and 
perform a reverse geocoding 
<https://developers.google.com/maps/documentation/geocoding/intro#ReverseGeocoding>.
 
Once you know the location, you could use the proximity criterion. 

Thanks,
Sreelakshmi, 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 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/f8d07c5e-866d-4cc5-9aff-c4d1ad1e50d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Getting ... Jens Theisen
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
      • ... Jens Theisen
        • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to